[Instruction]How to Root Atrix HD Jellybean - Motorola Atrix HD

Hi Everyone I see lot of people failing to Root their Atrix HD Running JB The typical Step is We have to root from Ubuntu not through Windows and not one click its little bit difficult we have To use commands to root Our Atrix HD.so please follow the instructions below
1)Boot into Ubuntu from USB stick or CD drive (Recommend)
2)Do not use Virtual Box or VmWare to use Ubuntu
3)Use Ubuntu 10.04(Recommended) for me 11.10,12.04,12.10 Doesn't working lot of issue like no such file or such directory
4)Instead of Copy/Paste Please type the command Prompts
5)Use your Stock File manager To Mount Your Atrix HD Through Wifi Make Sure your WIFI Is Turned on
6)IP Address Must Be Like 192.168.X.X Not 127.2.1.XX if its Like 127.xxx Ur phone wont mount You"ll Get Network Error
7) if u are getting incorrect username or Password Please change the password through this command .after changing password enter new password on your AHD
Code:
sudo smbpasswd -a guest
8)to know your IP Address in Ubuntu Please Go to Terminal and Type "ifconfig"
9)Don't Forget to enable USB Debugging in your Phone..which is important
10)Connect your Atrix HD After Outing your Atrix HD Through WIFI.
11)***Type Commands without any Mistakes***
12)if U Get shell /storage/rfs0/pwn :Not found then your AHD Not mounted in Ubuntu Through Wifi Enable it again
if u complete these steps perfectly Atrix HD Will Be rooted without any issues
i made this Guide Coz it took me 2Days to root my ahd So i want to help other users
if any questions ill try to help
Thanks&Regards
Harsha

L7iharsha said:
Hi Everyone I see lot of people failing to Root their Atrix HD Running JB The typical Step is We have to root from Ubuntu not through Windows and not one click its little bit difficult we have To use commands to root Our Atrix HD.so please follow the instructions below
1)Boot into Ubuntu from USB stick or CD drive (Recommend)
2)Do not use Virtual Box or VmWare to use Ubuntu
3)Use Ubuntu 10.04(Recommended) for me 11.10,12.04,12.10 Doesn't working lot of issue like no such file or such directory
4)Instead of Copy/Paste Please type the command Prompts
5)Use your Stock File manager To Mount Your Atrix HD Through Wifi Make Sure your WIFI Is Turned on
6)IP Address Must Be Like 192.168.X.X Not 127.2.1.XX if its Like 127.xxx Ur phone wont mount You"ll Get Network Error
7) if u are getting incorrect username or Password Please change the password through this command .after changing password enter new password on your AHD
Code:
sudo smbpasswd -a guest
8)to know your IP Address in Ubuntu Please Go to Terminal and Type "ifconfig"
9)Don't Forget to enable USB Debugging in your Phone..which is important
10)Connect your Atrix HD After Outing your Atrix HD Through WIFI.
11)***Type Commands without any Mistakes***
12)if U Get shell /storage/rfs0/pwn :Not found then your AHD Not mounted in Ubuntu Through Wifi Enable it again
if u complete these steps perfectly Atrix HD Will Be rooted without any issues
i made this Guide Coz it took me 2Days to root my ahd So i want to help other users
if any questions ill try to help
Thanks&Regards
Harsha
Click to expand...
Click to collapse
Well man I had no issue using 12.10.. the problem with using 12.10 were the instructions.. at the end were every body was getting no such file or directory it was because the last two commands had extra letters in it that was interfering with the terminals command i took oy the extra letters and more i have a rooted atrix HD running the fuzion rom.. (off topic) i think fuzion is the best rom so far.. am i wrong..

Re: [Instruction]How to Root Atrix HD Through Ubuntu
Thanks a lot....will try it after work My only concern is I hope I get the IP address in 192.168.x.x format in Ubuntu 10.04...Ubuntu 12.10 gave me this format but 12.04 gave me 192.168.x.xx when I did ifconfig.....very weird!!!
Sent from my Atrix
UPDATE: I did it and I am proud to say I am rooted.. Thanks L7iharsha for telling me to use ubuntu 10.04 and I used LiveCD...had a bit of trouble installing samba with the command so I installed it through ubuntu software center
L7iharsha could you edit the title to Atrix HD with Jelly Bean....just a suggestion

Re: [Instruction]How to Root Atrix HD Through Ubuntu
NYSEAN1 said:
Thanks a lot....will try it after work My only concern is I hope I get the IP address in 192.168.x.x format in Ubuntu 10.04...Ubuntu 12.10 gave me this format but 12.04 gave me 192.168.x.xx when I did ifconfig.....very weird!!!
Sent from my Atrix
UPDATE: I did it and I am proud to say I am rooted.. Thanks L7iharsha for telling me to use ubuntu 10.04 and I used LiveCD...had a bit of trouble installing samba with the command so I installed it through ubuntu software center
L7iharsha could you edit the title to Atrix HD with Jelly Bean....just a suggestion
Click to expand...
Click to collapse
this will work on Atrix HD bell? where can i download Ubuntu 10.04? thanks
Sent from my MB886 using xda premium

Re: [Instruction]How to Root Atrix HD Through Ubuntu
ryuben2k said:
this will work on Atrix HD bell? where can i download Ubuntu 10.04? thanks
Sent from my MB886 using xda premium
Click to expand...
Click to collapse
Ubuntu.com
Sent from my MB886 using xda app-developers app

idk why but your ip address can look like 10.0.0.x aswell mine did and i rooted just fine i couldnt find my ip through ipconfig command so i went to connection info.

Re: [Instruction]How to Root Atrix HD Through Ubuntu
SofaKiingClean said:
Well man I had no issue using 12.10.. the problem with using 12.10 were the instructions.. at the end were every body was getting no such file or directory it was because the last two commands had extra letters in it that was interfering with the terminals command i took oy the extra letters and more i have a rooted atrix HD running the fuzion rom.. (off topic) i think fuzion is the best rom so far.. am i wrong..
Click to expand...
Click to collapse
Off topic....where did you get fuzion???...did not see it in xda. Most ROMs seem to have camera or audio bugs...now that I have root....can't wait to go back to flashaholic days but want to wait for custom ROMs to ripe a little more...lolll HD2 was my last phone ....kept it in a safe vault for now
Sent from my Atrix HD

Re: [Instruction]How to Root Atrix HD Through Ubuntu
He Flashed Razr HD XT926 ROM Directly into His Atrix HD but we have to fix WiFi bug through zip
Sent from my XT925 using xda app-developers app

Just a tip;
Use the torrents for the Ubuntu downloads for faster speeds... The links for the torrents are on the same page as the normal "older releases" page
http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/
Sent from my AT&T Motorola Atrix HD using the xda-developers app

The instructions only show one line of code.....or am I missing something?

Read again, you are missing alot

popfan said:
Read again, you are missing alot
Click to expand...
Click to collapse
I did....tried it in Chrome and IE....just shows me
sudo smbpasswd -a guest
wierd. Plus, I'm not sure if I am up for the Ubuntu thing.

Derp.
This is to be used in conjunction with the main guide.
That's why you only see that one line of code, as that's all this guide puts.
Essentially, this is a guide on how to use the guide to root.
Just follow the instructions to the SMALLEST detail and you "should" be fine.
After all, these are tips to increase the odds of you succeeding in rooting faster.
Here's the links to 10.04 (Lucid Lynx)...
Direct Desktop ISO i386
If you have a bittorrent client,
Torrent Desktop ISO i386
Here's the direct link to where all versions of this are stored...
Oh, and just a head up, the ISO is roughly 4.3 GB... Have fun! :good:

RE:
NYSEAN1 said:
Thanks a lot....will try it after work My only concern is I hope I get the IP address in 192.168.x.x format in Ubuntu 10.04...Ubuntu 12.10 gave me this format but 12.04 gave me 192.168.x.xx when I did ifconfig.....very weird!!!
Sent from my Atrix
UPDATE: I did it and I am proud to say I am rooted.. Thanks L7iharsha for telling me to use ubuntu 10.04 and I used LiveCD...had a bit of trouble installing samba with the command so I installed it through ubuntu software center
L7iharsha could you edit the title to Atrix HD with Jelly Bean....just a suggestion
Click to expand...
Click to collapse
OMG!!!! Dude Ubuntu, Windows, or whichever OS you are using has nothing to do with what ip address you will get. your ip address comes from your network, the router is what hands out the ip address. So point is you can use 10.04, 12.04 or 12.10, it doesn't matter your ip will be the same address your router gives you.
I don't mean to sound like a jerk but from the reply s I have read on this post, some have NO business trying to root a phone. I am no dev but have basic understanding of pcs and networking which very obvious some on this thread DO NOT! I'm not usually one to comment like this but its comments like this that have someone following way down the wrong road and is not helpful to anyone!
---------- Post added at 08:36 PM ---------- Previous post was at 08:09 PM ----------
L7iharsha said:
Hi Everyone I see lot of people failing to Root their Atrix HD Running JB The typical Step is We have to root from Ubuntu not through Windows and not one click its little bit difficult we have To use commands to root Our Atrix HD.so please follow the instructions below
1)Boot into Ubuntu from USB stick or CD drive (Recommend)
2)Do not use Virtual Box or VmWare to use Ubuntu
3)Use Ubuntu 10.04(Recommended) for me 11.10,12.04,12.10 Doesn't working lot of issue like no such file or such directory
4)Instead of Copy/Paste Please type the command Prompts
5)Use your Stock File manager To Mount Your Atrix HD Through Wifi Make Sure your WIFI Is Turned on
6)IP Address Must Be Like 192.168.X.X Not 127.2.1.XX if its Like 127.xxx Ur phone wont mount You"ll Get Network Error
7) if u are getting incorrect username or Password Please change the password through this command .after changing password enter new password on your AHD
Code:
sudo smbpasswd -a guest
8)to know your IP Address in Ubuntu Please Go to Terminal and Type "ifconfig"
9)Don't Forget to enable USB Debugging in your Phone..which is important
10)Connect your Atrix HD After Outing your Atrix HD Through WIFI.
11)***Type Commands without any Mistakes***
12)if U Get shell /storage/rfs0/pwn :Not found then your AHD Not mounted in Ubuntu Through Wifi Enable it again
if u complete these steps perfectly Atrix HD Will Be rooted without any issues
i made this Guide Coz it took me 2Days to root my ahd So i want to help other users
if any questions ill try to help
Thanks&Regards
Harsha
Click to expand...
Click to collapse
Dude, I know you are trying to be helpful, I get it.. But you said " if u complete these steps perfectly Atrix HD Will Be rooted without any issues" ...... Theres no way. If you follow your steps to the T, I promise you will be no where close to root. It may work for you but maybe because there are many steps still in your head that you failed to list in your post. What you have to realize is that people search XDA for answers, which I always find here, and you have to be careful how you say things. I am a nobb, but if I were a first time noob and read this would I get root?? Think of it that way!
We have a root exploit already. dan gave it to us and it's a darn good one to. I know very little about Linux and was able to root easily. Now I had to think a little bit but I think that was what Dan wanted from us, if I would copy command for command I would get errors. Where I had trouble was the step " sudo /tmp/share/adb shell /storage/rfs0/pwn" that didn't work for me. Like I said I had to think a little and what I did was this " adb shell /storage/rfs0/pwn and BOOM rooted!!! This is the problem people are having with 12.10. You don't need " sudo /tmp/share/ " in your command because you are already in /tmp/share directory where adb is sitting just like you explained in your post....... Wait you didn't mention anything of the sort!!!

bell atrix 4.1.2
Anyone have rooted bell atrix hd on 4.1.2??

I know what IP address is...that's why I said it was weird that I got a format 192.168.x.xx in one of the version of ubuntu instead of 192.168.x.x but thanks for explaining that to me though there is nothing wrong with re-learning

ubuntu version
i had a hard time trying to root using ubuntu 12.04 i even tried ubuntu 10.04 and had trouble installing samba.
what worked for me was using ubuntu 12.10 but used the 32 bits version so i realized i was using 64bits version of ubuntu 12.04 and i think that's where the trouble is.
so if you are haveing trouble i suggest using ubuntu 12.10 32bits from a usb stick.
hope that helps.

wifi help please
I am having a really hard time getting my wifi connection between the handset and the linux machine. I have a wireless router on with security at home, If anybody can help I would greatly appreciate it. I'm sure I'm just missing something silly, but it's got me stumped. PM me if you want, or reply here. Scrapping the whole thing and starting fresh today. Thanks!

No matter what I do, the Files app keeps giving me a network error. I'm on 32 bit 12.04 LTS Ubuntu
EDIT:FIXED IT
Sent from my MB886 using xda app-developers app

schufly said:
I am having a really hard time getting my wifi connection between the handset and the linux machine. I have a wireless router on with security at home, If anybody can help I would greatly appreciate it. I'm sure I'm just missing something silly, but it's got me stumped. PM me if you want, or reply here. Scrapping the whole thing and starting fresh today. Thanks!
Click to expand...
Click to collapse
Try your computer connected to the router via wire...
Sent from my Atrix HD

Related

Linux, Ubuntu ports etc for gt540

NEW START POST
This page will be for the topic of linux on the gt540 all distros that will support arm-v6 arm-v7 and armel as these will all work with the exemption of arm-v7 which will of course run with some lag.
So far we have ubuntu and debian running but want more variety is best.
Any helps with scripts speed improvements sharing set ups etc is highly appreciated this thread will be open and transperant in its knowledge.
As with the rest of xda i would like for this to be all about joining together to make something great
VERY SLIM DOWN EASY TUTORIAL TO GET YOU GOING
1. First up your on xda so please for the love of god tell me your device is already rooted and you have busybox??? if not very easy download z4root do a permanent root or temporary if your scared of warranty etc second download busybox installer from the android market and install. Mur4iks rom is most popular and supports loop devices not sure about other roms also have debugging turned on you need that for adb.
2. Make sure you have the android sdk windows drivers etc etc or if in ubuntu or linux make sure you have this file setup
/etc/udev/rules.d/99.android.rules
SUBSYSTEM=="usb",ATTRS{idVendor}=="1004",ATTRS{idProduct}=="61b4",MODE="0666"
3. Make sure adb recognizes your phone run
In windows adb devices
linux (sudo) ./adb devices (ubuntu can be fussy)
Any problems at this point consult the almighty google or android development page that has all information for trouble shooting adb and your device
4. Ok so here is where the phone begins and all the code and missing steps and going back etc etc
At this point a strongly suggest a coffee a cup of tea some music or a smoke if you do
5. Now we must download a version of linux that is compatible with our phone as mentioned above armel arm-v6 are preferred
Theres three ways we can do this
1. We can go to androlinux.com if we wish to have a easy to set up ubuntu system
2. We can download linux installer from adroid market and choose an appropriate distro
3. For the more tech savvy download direct and set up the whole base system to custom sizes run custom scripts on boot etc etc if a few people did this it
would however be great as we could have a multitude of gt540 linux flavours
6. There are alot of VNC Viewers out there im not gonna say what ones best as everyones opinion is different on this put simply type vnc in the market have a read look at some screenies and choose one thats right for you as we will need it later. Has to support tightvnc though.
7. The file we downloaded we have to move this unziped to the root of the sd card.
8. If using linux installer from market simply start installing we will catch up with you later on the vnc set up gui etc
9. Ok the file is happily in the sd card root (Yay) Now you need to open a terminal or command thingy in windows cmd.exe everyone sets up the sdk differently so pretty much in ubuntu or linux you need your file path then /platform-tools in windows the same cd into that file
10. Now we are inside that directory test adb so Ubuntu--- "sudo ./adb devices" Windows ---"adb devices"
It should come up with devices attatched 6437946238946 type thing congrats your sweet to go
11. Start adb shell Ubuntu---"sudo ./adb shell" Windows---"adb shell"
12. #su
13. #ls
14. #cd sdcard
15. #ls
16. At this point you should be able to see the name of the distro say ubuntu sooooo
17. #cd ubuntu
18. #sh ubuntu.sh
19.Warnings code blah blah blah
20. #bootubuntu
21. PEOPLE USING LINUX INSTALLER COME BACK
22. You will have something like this #linuxboot
23. If you now get [email protected]:/# or Linux-ARMEL:/# or similar yay we are now running a distro parallel to android in chroot which is awesome!!!!!
At this point feel proud because regardless to gui etc you have linux.
Worst comes to worst recompile kernel again with loop support for the people doing customs and check your code.
24. This is quite possibly the worst part and most time consuming #apt-get update that will take for ever
25. Once that finishes #apt-get install openssh-server once thats done type #passwd and set your passwords etc
26. And then #apt-get install tightvncserver
This will require xxx space and needs to do blah blah blah when given the option Y/n choose Y for all of these
27. Ok in ubuntu if it goes phyco #export LANG=en_US.UTF-8 that will get rid of germain and bring english back debian etc dont worry only seems to be ubuntu
28. LG GT540 came out 600mhz so on any system we want lxde or similar so #apt-get install lxde
29. Now personally i dont run lxde on startup because i like to tinker and i dont mind writting the code in terminal after i boot the system takes all of what five seconds but if you want it to run on start up
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
Then hit Ctrl+D twice and enter to save the file.
30. Now for me after boot i do this
#export USER=root
#vncserver -geometry 1024x800
If your using above you only do this once for me i do it everytime
31. Run #ifconfig to get your ip addy etc
32. This is something i do just to make sure #swapon -s
33. Now the tightvnc server is ready to connect to your phone or computer. Just point to the IP address and use port number 5901 to connect.
THAT SHOULD BE IT ALL SET AND READY TO GO OF COURSE YOU CAN ADJUST HOW YOU LIKE AND DO AS YOU WISH
MANY THANKS TO ANDROLINUX.COM LINUX INSTALLER FROM ANDROID MARKET AND GOOGLE FOR MANY WEB PAGES I VIEWED
IF I USED ANYTHING YOU PIONEERED ITS ONLY SO I CAN SHARE WITH OTHERS AND TAKE THIS TO THE NEXT LEVEL
HAPPY MODDING TO ALL AND I HOPE WE CAN ALL WORK ON THIS AND HELP OUT.
how would you do it?
Ubuntu jaunty supports ARM-V6 Architecture
And all the smaller Linux systems supported Pentium 2 processors slash hardware
Pentium 2 processors started at around 300mhz with smaller caches and buses then our device
Android is based on Linux our cyanogen mod system is based on 2.6.29
So in essence we should be able to port several Ubuntu / Linux flavors to our device and run them through a virtual machine off the SD card using loop device and swap or as a dual boot by flashing the Ubuntu / Linux system to what we know at the moment as the recovery partition
any help we can get to do this is needed anyone and everyone
Sent from my GT540 using XDA App
Ubuntu 8.04 'Hardy heron' is compatible to
Anyone???
Sent from my GT540 using XDA App
Danzano said:
Ubuntu 8.04 'Hardy heron' is compatible to
Anyone???
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Once i get v2.1 working proberly and uploaded i might look into this
Sent from my GT540 using XDA Premium App
Sweet
Sent from my GT540 using XDA App
Biggest problem ATM is the arm 6 architecture I've downloaded natty and set up my build environment so starting to work on things now properly but regardless I know this project will take time and be frustrating
Sent from my GT540 using XDA App
why don't try debian?
I'm currently using rc1 eyecandy because I have a fetish for nice GUI s
I like what I've heard about debian but looking at screenies it just didn't look like my thing lol tbh it looked like a hollowed out version of Ubuntu
What's the benefits of debian if I did switch?
Sent from my GT540 using XDA App
already available to download for armel -> so i think it would be easier 4 you to port (i think there are no/not so big differences between armel & armv6).
btw debian is the father of ubuntu and their repositories/paths/commands are compatible.
smg72523889 said:
already available to download for armel -> so i think it would be easier 4 you to port (i think there are no/not so big differences between armel & armv6).
btw debian is the father of ubuntu and their repositories/paths/commands are compatible.
Click to expand...
Click to collapse
Repos are not compatible.
Ill look into armel tonight see what I gotta do
Sent from my GT540 using XDA App
Check this!
I got ubuntu with LXDE running. Gnome does work but takes too much memory and long time to load. LXDE is Light fast and Quicker at loading. Here is my video. But it is chrooted (running alongside android and off the sdcard)
Here is the Link
LG GT540 Running Ubuntu
That's why I'm working on x11 etc to see if the GUI. Could be full size yet fast and lighter on hardware less mem 2d no hardware acceleration etc
Sent from my GT540 using XDA App
Debian lenny armel working great its stable and useable with lxde still working on it but its the most promising so far
Sent from my GT540 using XDA App
hey guys this is debian lenny will post pics of ubuntu running same gui later
So far ubuntu seems slower than debian but im trying to get ubuntu to be abit quicker
also im going to start experimenting with triple boot as in adroid then debian lenny on recovery partition and ubuntu through chroot anyone that has any advice would be good also anyways to re compile these so they run quicker would be good to is there anyway to compress etc
oh also wifi etc etc is all working reads system etc etc so is good to use not some pointless project
my vnc server refuse to connect, can anyone help me??
now it's working but, it's all grey in 24bit color.
what is you color mode and resulotion
Danzano said:
hey guys this is debian lenny will post pics of ubuntu running same gui later
So far ubuntu seems slower than debian but im trying to get ubuntu to be abit quicker
also im going to start experimenting with triple boot as in adroid then debian lenny on recovery partition and ubuntu through chroot anyone that has any advice would be good also anyways to re compile these so they run quicker would be good to is there anyway to compress etc
oh also wifi etc etc is all working reads system etc etc so is good to use not some pointless project
Click to expand...
Click to collapse
maybe you could add a guide to the start post on how others can do this
Star post tut would b great nice job!
MY ANDROIDSKY
afpereira said:
my vnc server refuse to connect, can anyone help me??
now it's working but, it's all grey in 24bit color.
what is you color mode and resulotion
Click to expand...
Click to collapse
My vncserver is 24bit colour
Vncserver geometry is 1024x840
Dont know why but that resolution was best for me also if that doesnt work try 1024x800 or 860x480 etc youll find one best for you
Ill post a easy tutorial in start post today so everyone can have
Also im trying to place a linux boot.img on recovery partition but our phones mem wont hold system or data etc would it be possible to create a script where on boot it reads the sd same as hdd for pc ??
If this is possible we can have tri boot if we wanted or atleast dual
Sent from my GT540 using XDA App

??????????? insuficiant permissions

?????????? insufficient permissions.
this is the message you get in linux when adb and fastboot have trouble detecting your device. im no guru. so you will have to bear with me. this procedure will work on most devices. and most debian or ubuntu based distros. but i am giving it for detecting htc vivid setup on ubuntu 10.10
after u recieve the error in terminal type in command (lsusb)
the terminal will spit out vendor id's for all usb devices attatched. on the vivid it is 0bb4:0cbb
then you need to create a new file (sudo gedit /etc/udev/rules.d/51-android.rules)
your vendor id is added to that file (SUBSYSTEMS==”usb”, ATTRS{idVendor}==”0bb4″, ATTRS{idProduct}==”0c01″, MODE=”0666″) save and exit
fix permissions to the file just in case (chmod a+r /etc/udev/rules.d/51-android.rules) i found i needed this.
then kill the adb server (./adb kill-server)
have at it again and you should be all good. (./adb devices) should show up now.
like i said im not hardcore. it took me some serious googling to get over this hump for me. i was wondering if this should be stickied so linux users with this issue can get passed it quickly. this is the first device i have owned that my ubuntu box didnt natively detect.
drwario said:
?????????? insufficient permissions.
this is the message you get in linux when adb and fastboot have trouble detecting your device. im no guru. so you will have to bear with me. this procedure will work on most devices. and most debian or ubuntu based distros. but i am giving it for detecting htc vivid setup on ubuntu 10.10
after u recieve the error in terminal type in command (lsusb)
the terminal will spit out vendor id's for all usb devices attatched. on the vivid it is 0bb4:0cbb
then you need to create a new file (sudo gedit /etc/udev/rules.d/51-android.rules)
your vendor id is added to that file (SUBSYSTEMS==”usb”, ATTRS{idVendor}==”0bb4″, ATTRS{idProduct}==”0c01″, MODE=”0666″) save and exit
fix permissions to the file just in case (chmod a+r /etc/udev/rules.d/51-android.rules) i found i needed this.
then kill the adb server (./adb kill-server)
have at it again and you should be all good. (./adb devices) should show up now.
like i said im not hardcore. it took me some serious googling to get over this hump for me. i was wondering if this should be stickied so linux users with this issue can get passed it quickly. this is the first device i have owned that my ubuntu box didnt natively detect.
Click to expand...
Click to collapse
This is all very basic for setting up adb on linux. I believe its even in the instructions for installing adb on Google's website
Sent from my HTC PH39100 using xda premium
you are correct. but some people, me especially dont understand any of that stuff. so i look for little copy paste procedures anywhere i can. so long as i can find them i dont ask for help. so i thought i would throw it out there for the people who dont look outside of xda for anything. so i hope its both accurate and usefull
This should be in the general Vivid forum. Moderator please move.
Sent from my HTC Vivid using XDA Premium.

[Q] Anybody up for porting Ubuntu?

Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.

Samba server JB root fail

Hi, when I want to install a samba server, I have an error all the time. I am using Ubuntu 12.04 LTS liveCD 32bit. What can I do?
[email protected]:~$ mkdir /tmp/share
[email protected]:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
samba : Depends: samba-common (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed
Depends: libwbclient0 (= 2:3.6.3-2ubuntu2) but 2:3.6.3-2ubuntu2.3 is to be installed
Recommends: tdb-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Sent from my MB886 using xda app-developers app
I ran into that issue but I figured out that the live CD doesn't boot with wifi by default so I ended face palming myself . lol but if your wifi is on try the live usb option.
Try rebooting system and I used Ubuntu 12.10 but I actually had it already installed but try it again with with a wired connection as yesterday I keep getting similar errors til I connected via wired. Also I copy and paste every command instead of typing it my self to avoid mistakes
ATRIX HD running BATAKANG 1.10
Ok I tried with a wired connection and I got the same error I am goin to try with a usb stick with ubuntu 12.04 lts and 12.10
Ok It work with ubuntu 12.10 usbstick but what I have to do to keep the root because I used voodoo OTA RootKeeper v2 and when I reboot and restore root with it I doesnt work root cheker say that i dont have proper root access. What to do to keep root
voodoo ota root keeper isnt responding after I restore root
http://www.samba.org/samba/security/CVE-2012-2111
Is that the latest version from Ubuntu? If it is, I hope they at least patched it for you.
Did u downloaded from the play store and if the root checker doesn't detect it reboot ; but make sure you back up root . Reboot and then install safestrap 3 (its somewhere in this forums its not hard to find )and then once u reboot phone again it should boot into a recovery screen right after Motorola logo you can continue and then check for root .
ATRIX HD running BATAKANG 1.10
LeGenDz R3DeaDz said:
Ok It work with ubuntu 12.10 usbstick but what I have to do to keep the root because I used voodoo OTA RootKeeper v2 and when I reboot and restore root with it I doesnt work root cheker say that i dont have proper root access. What to do to keep root
Click to expand...
Click to collapse
After you get root open superuser app and update binary
Sent from my MotoAHD Maxx
I don't see any update button in the app
Sent from my MB886 using xda app-developers app
It should prompt you with an update window
ATRIX HD running BATAKANG 1.10
LeGenDz R3DeaDz said:
I don't see any update button in the app
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
You tap the binary version on the very left screen and it'll pop up with a window to update.
Sent from my MotoAHD Maxx
Thank you
Sent from my MB886 using xda app-developers app

Phone not recognized by ADB in Ubuntu

Hi Guys
I am trying to learn android programming and my pc running ubuntu 12.04 is not recognizing the p990 on cm 10.1. I remember that the phone used to be detected while running official ICS.
I used to get around this problem by using ADB over wifi to access the device.
But after the cm10.1 update to android 4.2.2 adb over wifi is not working anymore.
i tried adding entries to 51-android.rules file. But that doesn't work either(I think adding the rules only work if the device is listed using the lsusb command. In my case it is not listing as a usb device).
Charging is working fine BTW.
I am currently running cm 10.1 feb -19 rom with kowalski 100p3 kernel and old bootloader
Please help....
do you have installed Android-SDK? This is recommend
yes, i can connect nexus 7 without any problem.
Did you try start adb as root on your Linux box? Mine only works as this.
Sent from my LG-P990 using xda app-developers app
No, I will try that.
But i think it has to do with the new confirm prompt for debugging that was introduced in 4.2.2. It doesn't appear when I try debugging over WiFi. Any idea how i can override that prompt or add my PC to the adb white-list
Adb should not be starting as root. Please don't do this. What you need is properly configure udev rules to recognize your device and set the proper rights for device node in /dev.
Keltek said:
Adb should not be starting as root. Please don't do this. What you need is properly configure udev rules to recognize your device and set the proper rights for device node in /dev.
Click to expand...
Click to collapse
May I ask why? I'm using it for years like this. And it's fine.
Sent from my LG-P990 using xda app-developers app
Keltek said:
Adb should not be starting as root. Please don't do this. What you need is properly configure udev rules to recognize your device and set the proper rights for device node in /dev.
Click to expand...
Click to collapse
Thanks . that is what i am trying to figure out.
i need to clarify a couple of things though.
1) Does udev rules work even when the device is not listed using 'lsusb' command?
2) i think the manufacture id for lg is 1004. but i am not able to find its product id.Does any one have an idea.?
also it would be nice if somebody could share the complete rule. I believe it is usually added to '51-android.rules' file.
Thanks in advance .
Re: [fixed]Phone not recognized by ADB in Ubuntu
A complete wipe and re install of the latest nightly fixed it. The phone was detected in USB mass storage mode.
Updating here so that any body who come across three same issue might find it helpful.
Sent from my Nexus 7 using xda app-developers app

Categories

Resources