Help with linux - myTouch 3G Slide Q&A, Help & Troubleshooting

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

Related

[Solved] Question: How to root MyTouch Slide using OSX?

wdfowty said:
I'm having a few issues using my bootcamp partition for this (in Parallels), following eugene and king_fyo's tutorials, and was wondering what it would take to root my MyTouch3gS using osx?
I am semi-familiar with ADB, and I have made the loop.sh script, but i'm stuck at that point.
Here are my main questions:
-How to you get the loop to stop? I have to quit Terminal app to stop it.
-Any other things to know? Tips? Success stories? Tutorials maybe (or even a quick and dirty how-to?)
Thank you for your time, and for not flaming the newb
Click to expand...
Click to collapse
EDIT: SOLVED!
So, I'm waiting for my Nexus one to come in the mail, and I think to myself, "Why not give rooting the slide another go?"
Worked second try. How's that for random....
So, here's how I made it work...Dunno if it was 'luck of the draw', but here ya go anyways...Hope it helps someone!
1. Instead of turning off the phone normally, I rebooted straight into recovery, with the phone being on first.
Code:
./adb reboot recovery
2. While rebooting, MANUALLY search for devices as soon as you can type it in, repeating rapidly (This made the difference for me).
Code:
./adb devices
3. You should catch the device in offline mode right before the recovery screen. Unplug device for 5 seconds or so, then plug it back in.
Code:
./adb devices
List of devices attached
HT05MPS02279 recovery
4. You should see your device in recovery, then you're good to go. If not try again.
How to you get the loop to stop? I have to quit Terminal app to stop it.
Click to expand...
Click to collapse
No, simply hit <control> c from inside the Terminal app to break out of the shell script.
Any other things to know?
Click to expand...
Click to collapse
Not really, it may take you several tries to get this as it did for people using M$ Winblows. I tried it about 20 - 30 times on XP and never was successful. After switching to my mac, I got root on the 5th try!
My suggestion is to follow Eugene's guide, it worked great for me! If you have problems, post them here and myself or others will try to help you.
Good luck!
wdfowty said:
I'm having a few issues using my bootcamp partition for this (in Parallels), following eugene and king_fyo's tutorials, and was wondering what it would take to root my MyTouch3gS using osx?
I am semi-familiar with ADB, and I have made the loop.sh script, but i'm stuck at that point.
Here are my main questions:
-How to you get the loop to stop? I have to quit Terminal app to stop it.
-Any other things to know? Tips? Success stories? Tutorials maybe (or even a quick and dirty how-to?)
Thank you for your time, and for not flaming the newb
Click to expand...
Click to collapse
So I set up my camera to record myself rooting my phone using OSX and a couple friends walked into the room. I got distracted explaining what it was I was doing and didn't make the how to. If I have free time tomorrow afternoon I can make a how to vid. My girlfriend just got her slide yesterday and I believe she wants me to root it.
it's exactly the same doing it in Mac OSX as doing it in Windows except you don't have to worry about drivers. Make sure you get android SDK for Mac OSX and that you put it somewhere that is in your PATH variable.
But if you feel more comfortable doing it from Bootcamp Windows partition -- by all means do that.
Don't boot camp it... lol
I'll be posting a Mac OSX version of Eugene's Root Method shortly.
sk8rbebop, Fordude, stangri, Thanks for the quick replies! Wasn't expecting anything so soon!
I think I have tried to press CMD+C to stop the script, must have been my problem. lol.
@stangri What do you mean by PATH variable? I have the Android SDK installed in my home folder...
@sk8rbebop That's pretty funny . I'm going to have a go at it right now, I'll edit this post with my results.
edit: I don't know if this is right, but I stop the script when I see the device in offline mode. But when I unplug device, re-plug and run ./adb devices nothing shows up. The same happens if I don't unplug.
edit2: Still nothing. adb never recognizes device after I stop the loop.
I threw up a guide. Hope it helps.
Don't shut off the loop until something displays under the devices.
Re: Question: How to root MyTouch Slide using OSX?
When u connect the slide to your mac and type "adb devices", do you see your phone listed? Crucial first step before moving on.
To make things a little easier for me, I put the sdk tools folder in my path so I could issue adb commands in any directory I want to.
Sent from my T-Mobile myTouch 3G Slide using Tapatalk
@sk8rbebop Read the guide and i'm still stuck at the loop. I'm having the same issues as earlier, the device will show for a little bit but right before the recovery screen shows, it dissapears. I was stopping the script once I saw the device, before it "dissapeared". Stopping the script after it dissapears does the same...
BTW, I've noticed that I need to start the adb daemon before I run the loop in order for it to even see the device in the loop. Odd.
@Fordude Yes, if I run ./adb devices when the phone is on I get my serial number and it says "device".
edit: I found that I am running an out of date SDK revision, so I am updating to the newest (revision 6), lets see if that makes any difference...
edit 2: No dice. Lame. Oh well I guess...Try try again. My mac seems to be determined not to let this happen
update: So, I'm getting a nexus. Thanks all for your help, happy hacking!
SOLVED
post removed

semi-detailed instructions for AlphaRev X Linux method??

having never used Linux before and wanting to root with AlphaRev, would anybody that has been successful with root mind summarizing all the steps that are being desecribed in the other post?
http://forum.xda-developers.com/showthread.php?t=1160511
kind of getting lost with all the various steps being talked about in there.
really appreciate it.
thanks
-Go to ubuntu.com
-Click the big orange "Get Ubuntu" button, then "Try it from a CD or USB stick"
-Follow their details for downloading and installing onto a USB drive
-Once you are booted into Ubuntu, set up your network, whether WiFi or wired. Should pop up on the upper right corner
-Plug in your phone (make sure USB debugging is on). A "restricted drivers" icon should pop up in the upper right. Click it and tell it to use them.
-Use Firefox and download the beta from the alphrevx link. Open the file from Firefox, and in the archive manager, tell it to extract to your desktop.
-Click the applications tab on the left, click show all next to installed programs, and select Terminal
-type "cd Desktop"
-type "sudo ./alpharevx"
-Follow their instructions
Hopefully that helps a bit.
Amazing
You rock! Thank you for simple instructions for us non-Linux Users, worked perfectly!
cambunch said:
-Go to ubuntu.com
-Click the big orange "Get Ubuntu" button, then "Try it from a CD or USB stick"
-Follow their details for downloading and installing onto a USB drive
-Once you are booted into Ubuntu, set up your network, whether WiFi or wired. Should pop up on the upper right corner
-Plug in your phone (make sure USB debugging is on). A "restricted drivers" icon should pop up in the upper right. Click it and tell it to use them.
-Use Firefox and download the beta from the alphrevx link. Open the file from Firefox, and in the archive manager, tell it to extract to your desktop.
-Click the applications tab on the left, click show all next to installed programs, and select Terminal
-type "cd Desktop"
-type "sudo ./alpharevx"
-Follow their instructions
Hopefully that helps a bit.
Click to expand...
Click to collapse
Will this work with no internet on the pc? Because I have all the files and I'm about to make a live disk and just run off that and if so how would I install cwm after
Sent from my ADR6350 using XDA App
bradsinram said:
Will this work with no internet on the pc? Because I have all the files and I'm about to make a live disk and just run off that and if so how would I install cwm after
Sent from my ADR6350 using XDA App
Click to expand...
Click to collapse
You would need to download it and install under Windows using this thread:
http://forum.xda-developers.com/showthread.php?t=1134520
Aside from that, just copy the alphrevx binary to the Desktop via flash drive, and it should work just fine
-Plug in your phone (make sure USB debugging is on). A "restricted drivers" icon should pop up in the upper right. Click it and tell it to use them.
not getting this popup...what should made USB sync option be? didnt think step would mess me up lol
guess i should event bother trying..looks like im on baseband 0.99
now what
bettadaze said:
guess i should event bother trying..looks like im on baseband 0.99
now what
Click to expand...
Click to collapse
Someone in the alpharevx irc channel (I believe it was attn1) said a downgrade to 0.97 would be coming but that's really all the details they gave.
thanks for the update. perhaps will get lucky and they will include it with the rereleased windows version.
bettadaze said:
having never used Linux before and wanting to root with AlphaRev, would anybody that has been successful with root mind summarizing all the steps that are being desecribed in the other post?
http://forum.xda-developers.com/showthread.php?t=1160511
kind of getting lost with all the various steps being talked about in there.
really appreciate it.
thanks
Click to expand...
Click to collapse
This is a general section post. *shakes fist at you*
I've burned my ubuntu live disk in 64bit, but for some reason, when i boot it up on my HP dv2945se, the screen is distorted by these horizontal lines and no adjustments to Monitor Settings would get rid of them. I'm also having trouble getting my computers built in wireless router to be seen by Ubuntu... save me! i'm a helpless Linux n00b!!!
A good idea is to use virtual box. Free and you won't worry about rebooting or video distortion
Sent from my ADR6350 using XDA App
Well, thanks guys. I succeeded only after typing it in like 3 times (not sure how the hell I was doing it wrong, but suddenly - it worked.)
S-OFF w/ recovery in 30 seconds
Now just to teach myself about the rest of android tweaking now that root has opened her legs for us...
Nachobass25 said:
I've burned my ubuntu live disk in 64bit, but for some reason, when i boot it up on my HP dv2945se, the screen is distorted by these horizontal lines and no adjustments to Monitor Settings would get rid of them. I'm also having trouble getting my computers built in wireless router to be seen by Ubuntu... save me! i'm a helpless Linux n00b!!!
Click to expand...
Click to collapse
There are different versions of ubuntu (x86, etc). Whatever one you downloaded is the wrong one. The other should work.
Carelessly swyped on my phone so there may be some weird typos
collinray said:
A good idea is to use virtual box. Free and you won't worry about rebooting or video distortion
Sent from my ADR6350 using XDA App
Click to expand...
Click to collapse
The free version if virtual box doesn't have the usb support needed. I didn't try it but people who used wubi claimed errors. The live cd worked fine for me.
Carelessly swyped on my phone so there may be some weird typos
I rooted my incredible using WUBI with no problems whatsoever.
I'm hurting for some one on one help
Sent from my ADR6350 using Tapatalk

[Q] {Q} Cant get Live wallpapers to work on FRX07.1

Yes, i know they arent enabled by default, but after reading this (http://forum.xda-developers.com/showthread.php?t=1253502) thread i figured i'd give it a shot.
And i missed.
Im using a RHOD300 (tilt 2)
i downloaded the
Attached Files
LiveWallpapers.zip - [Click for QR Code] (347.8 KB, 45 views)
extracted them to my desktop, then placed them into the root of my SD card, then I ran haret and booted into android, then i loaded up terminal emulator and followed the steps (noted that im doing the "on phone" method) and sure enough there was indeed a new "live wallpapers" selector. however, whenever i try to use a live wallpaper, it force closes. (i even tried using livewallpapers i downloaded from the market, but that didnt work either) after rebooting to see if that was the problem, the same instance occured.
Thinking of a workaround, i saw that they were .apk files, so i this time placed them into the android app folder (where all the other .apk files are) and hoped that would work. and it didnt. So im at a loss as to what im doing wrong.
Any help would be much appreciated!
Edit: i dont think this would make much of a difference, but im using GO launcher ex from the market.
Edit2: 52 views!? i guess Live Wallpapers is a pretty attactive saying
I've had the same issue. It worked for me at first but then kinda force closed after sleeping. Afterwards it wouldnt start back up. I've done the ADB method aswell same issue. Let ya know after some adjustments if it works.
After much testing...
i have tried...
-deleting frx07.1
didnt work
-doing it on gingerbread
didnt work
-extracting files to multiple places, (android apps folder, android folder, root of the sd card)
Didnt work
-rebooting multiple times, in a desperate attempt to get it to work
as expected, nothing.
-accidently clicked "wallpapers" instead of "live wallpapers" and thought it was working...
Then i saw nothing was moving...
Well for the moment, i give up.
i'll try to tackle this again tomorrow, hope someone else finds a solution!
You should check out the android official website. read up on the commands for the terminal and stuff. If you've ever used any linux build youd learn the terminal for android fairly quickly. i got it working modifying the mount command. i'll go back and write a guide for using the terminal for android. in depth guide on what each command does and how to use it effectively. i'll post it in the android dev section in a few days
PandaEmu said:
You should check out the android official website. read up on the commands for the terminal and stuff. If you've ever used any linux build youd learn the terminal for android fairly quickly. i got it working modifying the mount command. i'll go back and write a guide for using the terminal for android. in depth guide on what each command does and how to use it effectively. i'll post it in the android dev section in a few days
Click to expand...
Click to collapse
Glad to hear you got it working I still havent however :/ Where do you have your Livewallpaperpicker located? (i assume its the root)
Also, was it as simple as changing mount -o, remount to something like mount -1, remount?
And just making sure, the guide your talking about... will it include how you got this working? or will you post that here?
EDIT: found something interesting, i renamed my data.img and created a new one. i have the same files and everything (including livewallpaperpicker) and on my new data.img i dont have the live wallpaper option (as expected).
yet, when i use my other data.img (on i was using before) i have the livewallpaper option. a little confused as to why this is
I'll include the live wallpapers in my guide. I have everything in the root. I will find an alternative for you. but as arrrggghhh said it isnt guaranteed to work for everyone. will let ya know what i find. i have a spare tp2 so i can see if it works on there as well.
Another thing to note, when I'm using terminal emulator I do all the steps, but sometimes it will find LiveWallpapersPicker.apk and sometimes it won't "file or directors not found" I believe it says
Sent from my MSM using XDA App
Well honestly if I was you i'd be patient. Wait for it to officially be supported. It is very slow using arrrggghhhs method.
Sent from my htc touch pro 2 running xdandroid using XDA App
PandaEmu said:
Well honestly if I was you i'd be patient. Wait for it to officially be supported. It is very slow using arrrggghhhs method.
Sent from my htc touch pro 2 running xdandroid using XDA App
Click to expand...
Click to collapse
It'll never be officially supported. I even stated it will be slow and horrible to use... It was officially supported, and people griped about how slow it was. So the option was pulled - it was that bad.
yeah its still bad. the hardware for the tp2 just imo isnt built to handle it.

[Q] Really nervous about accidentally bricking, so just some cautionary questions...

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.

Has anyone installed an ARM Linux distro like Arch Linux ARM...

...onto this device? It's the perfect size for an ARM laptop and Arch Linux is a great Linux distro too. I'm helping some devs port/get running natively Arch Linux ARM on the semi-ancient/underrated HP TouchPad from 2011. If it could run natively on this tablet, then I'd highly consider getting it to play with it on it.
I'm looking to do this also, I just rooted my pixel and tried "Linux Deploy" but it failed at "mounting /dev/loop0", looks like the stock kernel doesn't support mounting loop devices so this will be impossible until we get a new kernel.
edit: /dev/loop0 exists so I don't know why mounting fails...
Sent from my Pixel C using Tapatalk
So I've finally got it to install Ubuntu! Here's the steps I took to get it to install successfully:
First mount the system partition as read/write and generate /etc/mtab by accessing the shell and switching to the root account and typing mount -o remount,rw /system; cat /proc/mounts > /etc/mtab
Then install Meefik's (the guy that created LinuxDeploy) version of BusyBox (Stericon's version apparently doesn't have the ar command)
In LinuxDeploy's settings, change the BusyBox Directory to /data/data/ru.meefik.busybox/files/bin and hit Update Environment
After that, go into the preferences and select Ubuntu, then whatever version you want, and ARM64 instead of ARMHF and hit Install and let it finish. If it screws up and you need to re-attempt the installation process make sure to delete /etc/mtab and regenerate it, otherwise LinuxDeploy will think the /sdcard/linux.img file is already mounted, fail and won't tell you why. This kept screwing me up for a while also.
it's interesting that your ubuntu is arm64 and not armhf. i can't understand how that would work. i have a nvidia tx1 which runs armhf ubuntu 14.04 so i would have guessed that the pixel would be the same. i guess i need to read into linuxdeploy a bit and see what that is about.
It's ARM64 because the Tegra X1 is a 64 bit processor ARMHF will work too. All it does it create a chroot easily, a little difficult to look deep into it because a large amount of it is done using a binary he created.
brando56894 said:
So I've finally got it to install Ubuntu! Here's the steps I took to get it to install successfully:
First mount the system partition as read/write and generate /etc/mtab by accessing the shell and switching to the root account and typing mount -o remount,rw /system; cat /proc/mounts > /etc/mtab
Then install Meefik's (the guy that created LinuxDeploy) version of BusyBox (Stericon's version apparently doesn't have the ar command)
In LinuxDeploy's settings, change the BusyBox Directory to /data/data/ru.meefik.busybox/files/bin and hit Update Environment
After that, go into the preferences and select Ubuntu, then whatever version you want, and ARM64 instead of ARMHF and hit Install and let it finish. If it screws up and you need to re-attempt the installation process make sure to delete /etc/mtab and regenerate it, otherwise LinuxDeploy will think the /sdcard/linux.img file is already mounted, fail and won't tell you why. This kept screwing me up for a while also.
Click to expand...
Click to collapse
How is everything working out so far? I'm tempted to pop the screen off mine when it shows up to flip a switch for some chrome os fun (if I can figure out a way to do it gracefully) but might also just roll with ubuntu. Really interested in hearing how your experience has been... Thanks for sharing.
Youre welcome! I did it just for the hell of it, haven't really used it much since I got it working. A native install would be much better, I plan on seeing if I can get it to connect to a local X server, VNC works but Ive always found it to be odd when controlling the cursor. I always install Linux on my Android devices just because I can, once I have it working I'm like "now what can I use it for?" and I always come to the same conclusion, pretty much all the stuff I want to do in Linux I can do in Android lol Also since I've been at my parents all week since I've figured this out I don't have my Bluetooth keyboard which has a trackpad, which would make navigation far easier than controlling the cursor with the touchscreen. Since I have it working now with LXDE I may try to install KDE on it and then install virt-manager as an easy GUI way for me to control my KVMs since doing it via SSH is kind of a pain in the a$$ and the only Android app just allows you to start and stop your domains.
If you are actually ballsy enough to pop the screen off and flip the dev switch on yours you'd probably be praised far and wide since no one has done it yet hahaha
Sent from my Pixel C using Tapatalk
brando56894 said:
Youre welcome! I did it just for the hell of it, haven't really used it much since I got it working. A native install would be much better, I plan on seeing if I can get it to connect to a local X server, VNC works but Ive always found it to be odd when controlling the cursor. I always install Linux on my Android devices just because I can, once I have it working I'm like "now what can I use it for?" and I always come to the same conclusion, pretty much all the stuff I want to do in Linux I can do in Android lol Also since I've been at my parents all week since I've figured this out I don't have my Bluetooth keyboard which has a trackpad, which would make navigation far easier than controlling the cursor with the touchscreen. Since I have it working now with LXDE I may try to install KDE on it and then install virt-manager as an easy GUI way for me to control my KVMs since doing it via SSH is kind of a pain in the a$$ and the only Android app just allows you to start and stop your domains.
If you are actually ballsy enough to pop the screen off and flip the dev switch on yours you'd probably be praised far and wide since no one has done it yet hahaha
Sent from my Pixel C using Tapatalk
Click to expand...
Click to collapse
I've only seen one paywalled teardown so far in some brief searching to give any hints / clues. After seeing cheep5k8's posts my interest has peaked and I am digging your posts as well. I need to run through the chromium os git and doc stuffs first before I fire up my heat gun and spudgers though...
Hi !
Me too i'm interessed on a linux instalation for my "ryu"
...Pretty interessed on ubuntu touch : the Pixel C seems to be the perfect item for the distro to combine tablet and pc in one.
Sadly i'm not a developper, but i hope somebody will think like me ^^
will this work with ARM64 Fedora GNU/Linux? or are there special instructions for that?
I have been working on this, please see http://forum.xda-developers.com/pix...ux-pixel-c-running-ubuntu-xenial-lxc-t3410655 if you want to run ubuntu xenial on pixel C
kxra said:
will this work with ARM64 Fedora GNU/Linux? or are there special instructions for that?
Click to expand...
Click to collapse
I was just using whatever distros were provided by Linux Deploy, half of them don't work anyway, for example Arch. I was only successful with Ubuntu IIRC.
Sent from my Nexus 6 using Tapatalk
For those who are interested :
https://www.youtube.com/watch?v=4B8unHrbZK4
Weston and XWayland are running quite well on Pixel C (without acceleration until now)
I will try to publish something quite soon (there are still stabilities issues)

Categories

Resources