[Q] Ubuntu via chroot on Atrix with laptop dock - Atrix 4G Q&A, Help & Troubleshooting

I've read through the threads in the dev section about running linux on our Atrix either off of the sd card or chroot but didn't get a clear picture of what is possible with this technique using our phones on the laptop dock.
I'm about to give this one a go where it walks you through installing Ubuntu on our phones.
how-to-install-ubuntu-on-android
Does it work well? Does the touchpad and keyboard work without issues? Do the usb ports function correctly? And finally, does it play nice with Webtop if you have Webtop installed and enabled?
Thanks in advance for any info.
Update: The install script for this method failed when ran. It appears it is looking for a specific kernel version. The error I received was "FATAL: Could not load /lib/modules/2.6.32.9/modules.dep: No such file or directory". When I looked in the /lib/modules directory on the phone I only found a 2.6.29-arm2 directory.

you can just use WebTopScripts and Webtop2SD.
You can see how it works on my video [Polish language on video only]
http://www.youtube.com/watch?v=MGfZe4jOdfo

ovitz said:
you can just use WebTopScripts and Webtop2SD.
You can see how it works on my video [Polish language on video only]
http://www.youtube.com/watch?v=MGfZe4jOdfo
Click to expand...
Click to collapse
I checked out your video and I wish I could understand Polish.
Anyway, I just installed webtop2sd and when I launch it I get a force close error popup saying...
"Sorry! The application webtop2sd (process net.toreishi.webtop2sd) has stopped unexpectedly. Please try again."
I'm running stock 4.5.141 build with root and unlocked bootloader. Any idea on why I'm getting this error?

I can translate this video if you want to
yes, you have to instal bussybox installer form Google Play Store, then you need to change permissions of busybox in/system/bin/
Open permissions and uncheck "Set GID" permission, save changes.

ovitz said:
I can translate this video if you want to
yes, you have to instal bussybox installer form Google Play Store, then you need to change permissions of busybox in/system/bin/
Open permissions and uncheck "Set GID" permission, save changes.
Click to expand...
Click to collapse
Thanks for reminding me about Busybox. I didn't bother to install it since when I updated my Superuser binary it said it was installing a custom Busybox so I thought that would be all I would need. I guess I was wrong and had to install Busybox anyway.
I'm running the WebTopScripts at the moment. It seems to be going well.
Thanks for your help.

help please
Ok first off let me say that I am very new to android so I am a noob. Lately I have received my Atrix 4G lapdock and I have been scouring over these forums attempting to install ubuntu or some other desktop linux distro on my device for the past week.
I have installed Webtop2sd 1.1.2 (I was getting force close with 2.0 version so I downgraded :/ ) I want to partition my sdcard but it is not being recognized by webtop2sd. I have changed permissions to uncheck set GID in busybox which is installed in systym\bin ...\xbin. Still no recognition.
I have attempted to ext3 partition my sdcard with Windows Mini Tool Partition Wizard but I get and error during processing and the partition cannot be created. Currently sdcard is fat32 format.
Can anyone please provide some assistance in this it would be most helpful!
Thank you!
Device stats:
unlocked BL, rooted, and ROM Nottachtrix 4G and faux 1.3 Ghz Kernal installed
Fixed!!!
For some reason the partition tool was acting up so I used another software which did the trick.

Related

Webtop Missing App Tray (now Failed to Boot! Pls help)

Hi, after installing the Debian Package for the Webtop and some playing around with it I now no longer have the App Tray or any of the other system panels. It starts up with the mobile view and thats it.
Please help?
What exactly did you do to it?
Did you changed something on the startup file?
Did you installed the HDMI Mirror hacked files?
Please elaborate a bit more...
Sent from my Atrix using Tapatalk
Hi there,
Yes I made some modifications. After I got Debian on it I installed synaptic and from there the xfce4 desktop. From there i modified the start-oshwt2.sh file so it would load it up instead of the awm. That didnt work out as I wanted to.
Then I undid the modifcations to the startup file and rebooted and since then all is gone....
I am using a Dock and no HDMI hack. Also standard 2.2.2 software on a Int Atrix.
check to make sure phoneportal isn't broken.
Well, as you already discovered, it's not possible (as far as I know) to boot directly to Debian with that hack. For it to work, you have to use the webtop2sd method. Which I haven't been able to perform due to lack of microsd space.
Also, did you manage to fix apt dependencies? Did all go well with the apt dependency fix? (most people get in trouble on this step). There are some nice scripts already that do this. (sorry don't have the links handy at the moment).
Here's what I would do:
1. Check the start file to see if in fact changes where reverted to default.
2. Re-install Webtop through CWM (search Webtop-Joe.zip on the forums, that is the original Webtop) and start from scratch
3. If that fails too, then search and install through CWM webtop-mod_v1.zip
Good luck!
Rayan
Ok here is what happened:
1. I Checked the start file and it was all in default. But something was still holding back the load of the Webtop GUI.
2. I then found the post with the webtop-joe.zip and downloaded it and installed trough Tenfars CWM. When it was done I rebooted and now I am stuck with the following message:
Failed to boot 4
Starting RSD mode
I understand that this is some sort of soft brick but I have no clue what to do from here.

[Q] Very specific Webtop2sd Question - LXterminal Crashes

I recently bought a lapdock, and I've been fighting and moving through to try and get the mod to work, but now I've hit a dead end that I can't beat.
I'm on the latest "lite" version of the WetDream ROM and I'm using the webtop that was preinstalled with it. I've got a 2gb partition set up on webtop2sd. My problem is that I can't get LXterminal to launch. Webtop configurator successfully installed Synaptic; firefox and AWN manager work fine as well, but I am at a dead end without a terminal. I tried installing others from synaptic, but even the simplest one (xvt) had a single, unfulfilled dependency. I've tried everything that I know how to try, including multiple installs of the ROM and of Webtop2sd.
Can anyone lend a hand?
EDIT: I also tried flashing the webtop-mod from this thread: [WEBTOP] 2.3.4 webtop fixed image [CWM Install] V1 . It gives me the same problem with lxterminal.
(Note, I would have posted here but I don't have enough posts.)
Thanks.
Please excuse the double post; I'm not intentionally bumping my thread.
I have found a "solution." I'm in the process of repairing my webtop now. My situation seems to be very unique, but I'd like to document it in case anyone comes along and has it again.
The trick I used was completely external to my Atrix, though. Without a terminal, I couldn't access tar or bash, but I could run single commands by making a custom entry on the modified AWN. So, here we go.
For anyone who has tried repeatedly to use Webtop2sd but has always lacked terminal access, here's my method.
Requirements: Access to a linux system, rudimentary knowledge of the terminal, or any other method of mounting your webtop2sd partition on a system with access to tar and permission changing methods.
****WORKING Awn Manager in webtop
Download the Dependency fixing scripts.
Mount your Webtop2sd partition and manually extract the scripts to their location in /usr/share/WebTopScripts/
Boot your device to webtop and setup a custom entry in Awn Manager with the following command:
"sudo bash /usr/Share/WebTopScripts/fix-apt-get.sh" (This should work with most versions of the script; also, no quotes in the actual command.)
That was enough to get Lxterminal working and gives me access to all the other mod methods on the forum that assume you have access to a working terminal. It's not really very helpful for Windows or Mac users, but it's the only thing that I could manage.
Feel free to close the thread, mods.
You gotta make sure to install LXTerminal from the Webtop Configuration applet where you installed Synaptic.
Sometimes it refuses to install at first so you have to try several times until it budges.
Try closing and opening the configuration window until you see both synaptic and LXTerminal buttons greyed out.
Sent from my Atrix 4G using Tapatalk
I'm almost certain that it was installed before (it was marked as present in synaptic), but just refusing to launch.
However, I broke my webtop just before getting it how I wanted it, so when I have time to give it another try, I'll see if being a little more persistent with it this time will work.
EDIT: Wow, the next 2 times that I had to install webtop, lxterminal worked just fine. Now I just have to get the scripts to actually fix all the dependencies and not end up with a broken webtop after installing software.

NoTachTrix and Webtop2SD???

Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
yes, you have to instal bussybox installer form Google Play Store, then you need to change permissions of busybox in/system/bin/
Open permissions and uncheck "Set GID" permission, save changes.
Specifically, BusyBox by JRummy16, thats the one I used and it worked without modifying permissions . Just download it, and install BusyBox
When i attempt to install busy box, i lose super user permissions??? I have to reflash to get SU back?
What info do i need to grab to help me, help you, help me? Lol
Sent from my MB860 using xda premium
johng75 said:
Has anyone had any luck running webtop2SD on this rom?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I just set this up today and am a relative noob about such things. Rather than download busybox, I used the following advice from Milestonefail on Nottachtrix.com, and it worked fine.:
***Use Root Explorer. Go to /system/bin. Scroll down to busybox. Click "Mount R/W" in the top right corner. Long press busybox. Choose "Permissions." Uncheck "Set GID"
Then I followed the XDA guides to the letter, and it worked great, with the exception of a TZ error at the end that caused difficulty when installing a new desktop and openoffice package. Easily solvable with a search though.
Bottom line on Nottachtrix 1.3.1, webtop 2 SD works great.
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
johng75 said:
which version of W2SD did you use? for me version 1.1.0 loades but never sees the sd-card to format and move the webtop to, and 2.0.1 fails to load...
Click to expand...
Click to collapse
I've got the exact same problem, i followed the guide partitioned my sd card but the webtop2sd 1.1.0 never sees the card, the 2.0.1 also fail to load. Could someone please help us with that?
EDID:
I did what ovitz said and everything went fine, i am executing the script now.
I used 2.0.1, which FC'd until I set the permissions on the busybox file. I did not install the Jrummy version, but rather just tweaked the permissions as noted above. I am running Nottachtrix 1.3.1 and webtop 2.3.6. It seems that a lot of folks still get bound up at this point, and I am not well-versed enough to know why that would be, but this worked for me.
Thanks, I reinstalled busybox and now webtop2sd is working. I didn't use any busybox installer.
Sent from my MB860 using XDA
ok, i installed the JRummy16 busybox and changed the premissions, i was then able to run version 2.0.1 of webtop2sd it finished
ran into issues running webtop config from the webtop, busybox was missing from /system/etc/webtop2sd folder so i added it there too and it ran fine...
after installing LXterminal i ran the webtop scripts
(http://forum.xda-developers.com/showthread.php?t=1192488)
then i added XFCE interface to replace default webtop
(http://forum.xda-developers.com/showthread.php?t=1420376)
last change really needed to install programs was to lock the 'tzdata' version in Package Manager
then edit the file to get rid of errors during installs
(http://forum.xda-developers.com/showthread.php?t=1420376)
all i can say is WOW, what a difference... thanx everyone... hopefully someone else that was missing steps like me can benefit from this...
Does anyone know how do I get lentras with accents on the laptop program in Openoffice? I refer to these accents á â â à é è ê õ and, is mainly and Ç. I really need the openoffice and, as my language (en) have these accents, the keyboard would have to have English-International (en-US) accentuating like any other en-US.
My system is usually accentuating the letters out of Openoffice, only Ç who did not enter.
Please help me ...
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
el_venga said:
i have tried several times and i still get missing awn dock. I'm testing out gentop for a while.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
I am having the exact same issue, how is gentop?
Edit: Fixed it, in your webtop2sd busybox set permissions to allow write from groups and others, then re-flash from webtop2sd app, reboot and see if that works.
webtop config not opening
Can anyone please point me in the right direction to fix this?
I have unchecked Set GID permissions in busybox and still webtop config will not load on lapdock. I have the awn manager and LXTerminal icons as well but they also do not load.
Nottachtrix 1.3.1
Webtop2sd 2.0.1
Faux 123 1.3 Ghz
32 GB w/ 10GB ext3 partition
edit: I have also tried through terminal emulator:
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
and I get
[sudo] password for adas:
again I am new to this so if anyone has any pointers as to some positive direction I can go to figure this out it would be most helpful and I will pray to the gods of linux that you receive many blessings
I also have a problem with webtop configurator. Webtop2sd installed everything successfully, but after the reboot when I click on the webtop configurator it does not starts. Just flashing for some seconds and that's all. Is there anybody who knows how to fix it?
International Atrix
Nottachtrix 1.3.1
Faux 1.0 GHz kernel
Webtop version: WT-1.2.0-110_OLY-6
In the terminal after these commands
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
I get this message:
Traceback (most recent call last):
File "./webtop-configurator.py", line475, in <module>
File "./webtop-configurator.py", line337, in _init_
AttributeError: 'module' object has no attribute 'Builder'
EDIT:
For me it is working now. I decided to go back to 2.3.4 webtop instead of fixed 2.3.6 webtop (fastboot erase webtop, install zip from CWM, install webtop2sd again) and now everything seems to be ok

Question for Shogarth - Installing webtop2sd

Hi
Sorry I maybe missing something basic.
I wanted to be able to use Linux Ubunto on my Atrix 4g webtop
I installed webtop2sd according to your post http://forum.xda-developers.com/showthread.php?p=15109355#post15109355
I get my old webtop with the addition of 3 icons:
- Awn manager
- webtop configurator
- LXTerminal
I run the webtop configurator It says : Not implemented yet
I enter Administration and after I answer yes to update the APT sources list and a second question (that I don't remember exactly)
Then I successfully (I think) install LXTerminal (It runs a prompt : [email protected]:/data/home/adas$)
Then I install Synaptic , I can't tell if it works or not since I don't get any feedback.
As in your post [http://forum.xda-developers.com/showthread.php?t=1119557] I can tell you that I am booted from the SD card
However I do not see any means to get the GUI of ubunto
The only side issue is that now the webtop file manager can't access the sdcard-ext . In fact under sources does not display nothing more than Phone Images Phone Music Phone Video and Downloads.
However the SD is mounted and I can access it trough ESfile manager on the Mobile view
What I am missing, or what I need to do in order to get Linox Ubunto GUI ?
Thanks
Eli
No response on full ubuntu
elijacob said:
Hi
Sorry I maybe missing something basic.
I wanted to be able to use Linux Ubunto on my Atrix 4g webtop
I installed webtop2sd according to your post http://forum.xda-developers.com/showthread.php?p=15109355#post15109355
I get my old webtop with the addition of 3 icons:
- Awn manager
- webtop configurator
- LXTerminal
I run the webtop configurator It says : Not implemented yet
I enter Administration and after I answer yes to update the APT sources list and a second question (that I don't remember exactly)
Then I successfully (I think) install LXTerminal (It runs a prompt : [email protected]:/data/home/adas$)
Then I install Synaptic , I can't tell if it works or not since I don't get any feedback.
As in your post [http://forum.xda-developers.com/showthread.php?t=1119557] I can tell you that I am booted from the SD card
However I do not see any means to get the GUI of ubunto
The only side issue is that now the webtop file manager can't access the sdcard-ext . In fact under sources does not display nothing more than Phone Images Phone Music Phone Video and Downloads.
However the SD is mounted and I can access it trough ESfile manager on the Mobile view
What I am missing, or what I need to do in order to get Linox Ubunto GUI ?
Thanks
Eli
Click to expand...
Click to collapse
I found that I can run synaptic, but it warns me "without administrative privileges".
Also what I should do with the 24 broken packages?
If I mark them to re-install is needs to remove a lot (hundreds) of other packages. Should I agree?
Still no help
elijacob said:
I found that I can run synaptic, but it warns me "without administrative privileges".
Also what I should do with the 24 broken packages?
If I mark them to re-install is needs to remove a lot (hundreds) of other packages. Should I agree?
Click to expand...
Click to collapse
I corrected 23 broken packages using WebTopScropts-1.7 and the remaining one manually after running
sudo synaptic
What I need to do/install in order to get the clasic full ubunto desktop instead of the default webtop screan?

How do I install apk from Terminal Emulator from my Android Phone running JellyBean ?

Hello,
Here is the short story.
I have Samsung Galaxy ACE which is rooted.
Till y'day I was using CM9 Beta 8 ICS 4.0.4 and it was working well.
I installed CM10 JB for Galaxy Ace alpha1 from "hxxp://maclaw.pl/?page_id=180#comment-3642"
Now the problem is, JB doesn't have File Manager installed and I need to install TB to revert my backups.
Due to some unknown reason I am not able to access internet on my device either through GPRS or 3G connection.
I am desperately looking for a way to access my SDCARD wherein I have all my apk's which I can install however, without File Manager I am not sure how to install an apk.
I did some google search and came across topics about installing apk using Android SDK etc.. however I would not want to work on SDK as I feel its bit tedious job for me.
I also tried Android Injector however that didnt work even if I have enabled USB debugging Mode for adb + apps.
Now, I am hoping that, I can use the Terminal Emulator which is preinstalledo n my phone to install apk present on my sdcard.
However, I am not sure how to do that, It would be really appreciated if anyone can suggest the steps to install apk present on my sdcard from Terminal Emulator available on my phone.
Here are some of the screen captures
http://imageshack.us/photo/my-images/855/screenshot2012072418240.png/
http://imageshack.us/photo/my-images/52/screenshot2012072418234.png/
http://imageshack.us/photo/my-images/822/screenshot2012072418230.png/
Thanks
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
@@
hsotnas said:
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
Click to expand...
Click to collapse
Awesome guide !!!! , thanks bro !! :good::fingers-crossed:
Thank you for the guide
it works. thank you
works, thanks
hsotnas said:
Never mind...
I managed to install Astro File Manager apk from Terminal Emulator.
For those who are interested, here is what I had done.
Previously, I wasn't able to browse sdcard contents from TE,
I rebooted my phone once, fired up TE again
~Android$ su
Allow root access for TE
~Android# cd sdcard
~Android# ls ( Contents of SD card are listed ) I had copied astrofm.apk on root of SDCARD
~Android# pm install astrofm.apk
Success !
Thanks
P.S. This thread can be closed.
Click to expand...
Click to collapse
I very much appreciate the quick tutorial!
However, with that being said, I am having an issue trying to install my .apk onto my Motorola Xoom (Rooted running CM10.1) through the use of Terminal Emulator. I first tried installing the .apk from my File Manager and just clicking on the icon, and clicking Install, like one would think one should be able to do. When that method failed, multiple times(kept saying "insufficient storage, please delete files through app manager") which by the way, I know for a fact I have 15.8GB of storage left on my Xoom, so this should not be the issue. I then decided to try and install through Terminal Emulator. Now one would think it would be about the same as using adb commands on a Computer, which it somewhat is I guess you could say. So I go to T.E. and type the commands to get Super User access, then cd sdcard to go into the directory, then cd download because this is where my file is located, then I type pm install ****.apk.
I get a line of command that says: a) pkg: ****.apk and then b) Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE], and then the command line just goes back to my download folder directory.
I've had this issue before on my Galaxy S3, but can't remember how I ended up resolving the issue. Think I did a factory data reset/wipe, which I don't want to have to do to my Xoom. So any assistance would be much appreciated. I do understand that your device was a Galaxy ACE, but I wouldn't think it would matter as to what the device is, since it is the same install method/command for any Android device essentially. Hope someone can help out. If not, I may have to post in another Device Thread (Motorola Stingray Xoom I would assume).
Many thanks in advance, and I will click the Thank You, if any responses come through.
Really appreciate for the guide man
Sent from my LG-P700 using xda app-developers app
Thanks for the reply... short, to the point, and it works.
DannyShane said:
I very much appreciate the quick tutorial!
However, with that being said, I am having an issue trying to install my .apk onto my Motorola Xoom (Rooted running CM10.1) through the use of Terminal Emulator. I first tried installing the .apk from my File Manager and just clicking on the icon, and clicking Install, like one would think one should be able to do. When that method failed, multiple times(kept saying "insufficient storage, please delete files through app manager") which by the way, I know for a fact I have 15.8GB of storage left on my Xoom, so this should not be the issue. I then decided to try and install through Terminal Emulator. Now one would think it would be about the same as using adb commands on a Computer, which it somewhat is I guess you could say. So I go to T.E. and type the commands to get Super User access, then cd sdcard to go into the directory, then cd download because this is where my file is located, then I type pm install ****.apk.
I get a line of command that says: a) pkg: ****.apk and then b) Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE], and then the command line just goes back to my download folder directory.
I've had this issue before on my Galaxy S3, but can't remember how I ended up resolving the issue. Think I did a factory data reset/wipe, which I don't want to have to do to my Xoom. So any assistance would be much appreciated. I do understand that your device was a Galaxy ACE, but I wouldn't think it would matter as to what the device is, since it is the same install method/command for any Android device essentially. Hope someone can help out. If not, I may have to post in another Device Thread (Motorola Stingray Xoom I would assume).
Many thanks in advance, and I will click the Thank You, if any responses come through.
Click to expand...
Click to collapse
Hi DannyShane,
Not sure if this is still relevant and you are around here, since it's been a very long time and I stopped using Android
I am not an Android geek but here are my 2 cents...
You need to keep .apk file on the root of the SD CARD instead of a folder. IIRC, I had the same exact error which you had mentioned, I was trying to install .apk which was placed in a folder and it didnt work., then I had to move the .apk file to root and it worked flawlessly.
Extremely sorry for the very late response though. I use my secondary e-mail for this forum and missed replies on this thread.
@ All others who have replied, I am glad that, my little finding helped you guys.
Cheers :angel:
I have a few things to add to hsotnas answer. The insufficent space error seems to be a very generic error on android that can have various causes. Maybe there is something like this in the android source code:
PHP:
try{
installApk();
} catch (Exception ex){
output("Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]");
}
If you understand what I mean
I had this error myself a few days ago and for me it was caused by some left over files in the /data/app-lib directory. It was a self-developed application and I added a library to this directory manually. As I uninstalled the application, it wasn't removed and the reinstall failed with the above mentioned error. So make sure the directories /data/data/app.package.name/ and /data/app-lib/app.package.name/ are empty.
I tried this, to install the play store apk. But I get the error INSTALL_FAILED_INVALID_URI. What is this error refering to?
PSV_Supporter said:
I tried this, to install the play store apk. But I get the error INSTALL_FAILED_INVALID_URI. What is this error refering to?
Click to expand...
Click to collapse
Me too same thing happens when I try to install 3.apk
the command used is "pm install apps/*.apk"
Mine are backups of play store
Thankyou for this tutorial... IT WORKS.. Can't believe it.. You made my day. Thankyou :good:
I'm trying to recover an old tablet and need to install a file manager... the touch screen inst working so I thought terminal would do the job... but .APK's dont show when I go to the root of the SD card and type 'ls'
An ideas?
Thanks it works
failed on me ..

Categories

Resources