yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] NFHimself:
ADB is just a way to get a remote shell going over usb, so the commands are linux shell commands.

I would do something like this:

(Blank ext3 partition on sdcard, second partition)

adb shell

$ shsu

# mkdir /mnt/asec/osh2

# mount -t ext3 /dev/block/mmcblk1p2 /mnt/asec/osh2

# cd /mnt/asec/osh2

# tar -xvf /sdcard/osh2.tar.bz2

# cp /osh/ubuntu.sh /sdcard/

# cp ubuntu.sh /osh/

# cd /data/home

# tar -cvpjf /sdcard/adas.tar.bz2 .

# rm -r /adas

# sync

# umount /mnt/asec/osh2

# reboot

Cheers!
[Atrix 4G Android Development] nabicat:
Got stuck...any assistance would be appreciated:

so far:

# shsu

shsu

# mkdir /mnt/asec/osh2

mkdir /mnt/asec/osh2

# mount -t ext3 /dev/block/mmcblk1p2 /mnt/asec/osh2

mount -t ext3 /dev/block/mmcblk1p2 /mnt/asec/osh2

mount: Invalid argument

so I check for partitions:

# cd dev/block

cd dev/block

# ls -l

ls -l

lrwxrwxrwx root root 2012-07-20 16:44 179:33 -> ../mmcblk1p1

lrwxrwxrwx root root 2012-07-20 16:44 179:18 -> ../mmcblk0p18

lrwxrwxrwx root root 2012-07-20 16:44 179:37 -> ../mmcblk1p5

lrwxrwxrwx root root 2012-07-20 16:44 179:34 -> ../mmcblk1p2

lrwxrwxrwx root root 2012-07-20 16:44 179:32 -> ../mmcblk1

drwxr-xr-x root root 2012-07-20 16:43 vold

brw------- root root 179, 37 2012-07-20 16:43 mmcblk1p5

brw------- root root 179, 34 2012-07-20 16:43 mmcblk1p2

brw-rw---- root mot_tcmd 179, 33 2012-07-20 16:43 mmcblk1p1

brw------- root root 179, 32 2012-07-20 16:43 mmcblk1

brw------- root root 253, 1 2012-07-20 16:43 zram1

brw------- root root 253, 0 2012-07-20 16:43 zram0

brw------- root root 7, 7 2012-07-20 16:43 loop7

brw------- root root 7, 6 2012-07-20 16:43 loop6

brw------- root root 7, 5 2012-07-20 16:43 loop5

brw------- root root 7, 4 2012-07-20 16:43 loop4

brw------- root root 7, 3 2012-07-20 16:43 loop3

brw------- root root 7, 2 2012-07-20 16:43 loop2

brw------- root root 7, 1 2012-07-20 16:43 loop1

brw------- root root 7, 0 2012-07-20 16:43 loop0

brw------- root root 179, 18 2012-07-20 16:43 mmcblk0p18

brw------- root root 179, 17 2012-07-20 16:43 mmcblk0p17

brw------- root root 179, 16 2012-07-20 16:43 mmcblk0p16

brw------- root root 179, 15 2012-07-20 16:43 mmcblk0p15

brw------- root root 179, 14 2012-07-20 16:43 mmcblk0p14

brw------- root root 179, 13 2012-07-20 16:43 mmcblk0p13

brw------- root root 179, 12 2012-07-20 16:43 mmcblk0p12

brw------- root root 179, 11 2012-07-20 16:43 mmcblk0p11

brw------- root root 179, 10 2012-07-20 16:43 mmcblk0p10

brw------- root root 179, 9 2012-07-20 16:43 mmcblk0p9

brw------- root root 179, 8 2012-07-20 16:43 mmcblk0p8

brw-rw---- root mot_tcmd 179, 7 2012-07-20 16:43 mmcblk0p7

brw-rw---- root mot_tcmd 179, 6 2012-07-20 16:43 mmcblk0p6

brw------- root root 179, 5 2012-07-20 16:43 mmcblk0p5

brw------- root root 179, 4 2012-07-20 16:43 mmcblk0p4

brw------- root root 179, 3 2012-07-20 16:43 mmcblk0p3

brw------- root root 179, 2 2012-07-20 16:43 mmcblk0p2

brw-rw---- root mot_tcmd 179, 1 2012-07-20 16:43 mmcblk0p1

drwxr-xr-x root root 2012-07-20 16:43 platform

brw------- root root 179, 0 2012-07-20 16:43 mmcblk0

I see that "mmcblk1p2" is a link. Could this be some left over from webtop2sd that I tried about 8 roms ago? Is it supposed to be a directory?

Thanks in advance!
[Atrix 4G Android Development] NFHimself:
I am pretty sure I used /mnt/asec/osh2 before, but you can try somewhere else, maybe /tmp/osh2. Some mount locations will give you grief due to mount options of where you are mounting it. Or you can just look at ubuntu.sh and mount / rw and create /osh2 and mount it there. Sometime I cd to the folder as in cd /mnt/asec, then do the mount command on ./osh2. Also I tend to use a busybox mount command instead of what comes with the 2.3.6 firmware. None of that should be necessary, but it's some things to try.

You can also check /system/bin/mountosh and make sure it's not a script left over from webtop2sd and reenable pia.sh or whatever it's called that mounts /preinstall, if you were using gentop2. Not likely to be an issue but just to get back to somewhat normal.

Cheers!
[Atrix 4G Android Development] snik38:
I tried this mod yesterday and so far everything works great.

The only problem i have is with the audio/media player, it's a bit buggy when i use enternaiment center and when i try to play my media with another app (movie player) i have no audio. Is there any way to fix that?
[Atrix 4G Android Development] NFHimself:
I don't experience that issue myself, and I don't use movie player as it is too slow, all cpu and it limits you to a window. I did have that working though without issue, it was just slow, so I got rid of it and made entertainment center the default.You probably just need to reinstall some gstreamer codecs.

Cheers!
[Atrix 4G Android Development] NFHimself:
[Q] I am compiling a version of an Atrix kernel via webtop to avoid cross compiling and everything compiles fine, I but not having any luck compiling modules that will load via insmod. I am thinking that is because the source is ATT based and some minor variation is changing the checksums of the symbol table linked in. I compare /proc/kallsyms vs modprobe output and the symbols are different, there is no decoration on the version so that shouldn't be a problem, so its likely lack of kernel source for Bell. Short of manually hexediting the module to update all the kernel symbols, is there a way to get an insmod to work? According to /proc/config.gz MODVERSIONS = y.

[If I could get working modules then having an unlocked stock kernel could be extended to support cifs etc]
[Atrix 4G Android Development] MrHabaki:
I just wanted to thank you for that nice webtop-mod! I like it very much. I changed the language to German through removing and reinstalling locales. Now I cannot launch the media center through the menu. Do you know how I can open it out of lxterminal?

I also made the experience that I cannot use some games out of the menu like frozen bubbles or enigma and supertux which I have installed. They run fine when I launch them with ./enigma or ./supertux out of the /usr/games folder. Do you know how to fix this? I just made some scripts to start them from the desktop, but that´s all I can do with my very limited linux knowledge :(

Best regards,

Chris
[Atrix 4G Android Development] NFHimself:
Thanks Chris!

Locales are pretty tricky, if you deviate from US-En you get failure to launch for a lot of things. I can't even use Canada English as the support isn't there. The media center is launched via an app to invoke an android intent, you can see it in the .desktop file

/osh2/usr/share/applications/VideoPlayer.desktop:

webtop-action-intent -m com.android.portal/.VideoPlayerProxy -a android.intent.action.VIEW -c android.intent.category.HDMI -t video/* -e 1 -f %F

Those games don't load as they are not in the path for the launcher, I haven't found the place where the path is set.

Cheers!
[Atrix 4G Android Development] MrHabaki:
Thanks a lot for these great hints! I will check it out!

Best regards,

Chris
[Atrix 4G Android Development] MrHabaki:
Okay thanks to you, I found out what the problem is... after installing/reinstalling locales I have some of the applications in /usr/share/applications twice... One English named and one with German name. The English ones won´t start anymore, but ther German do. I made some links and now I am pretty satisfied ;)

The only error I still have (and had even before changing locales) is that sometimes when I start the webtop I get the message that the GTK+ iconset is not installed correctly. Do you have any ideas on that?

Thanks a lot for your help!

Chris
[Atrix 4G Android Development] NFHimself:
If you go to the appearance settings you can set the icon set to be whatever and that message will go away.

Cheers!
[Atrix 4G Android Development] MrHabaki:
Okay, thank you, that worked!
[Atrix 4G Android Development] tomh235:
I have been using this awesome mod for some time now and think its fantastic and works well with UK stock 2.3.4.

Unfortunately using this mod has broken compatibility with webtop connect for me, does this work for anyone else? If so, can someone upload a working version, thank you!
[Atrix 4G Android Development] MrHabaki:
What do you mean with webtop connect? The last visited websites? This doesn't work for me, too... this should be because of the different paths webtop and simple top use.
[Atrix 4G Android Development] tomh235:
It's the app that allows you to open your firefox tabs on your phone or open Web links from android in webtop. I find it pretty useful day to day so getting it working would be a definite bonus, any ideas please let me know! I will have a look around and see if a few symbolic links will solve my problem.

Sent from my Atrix
[Atrix 4G Android Development] NFHimself:
Hi,

I had to Google what that was and I am still not sure, first hit is a cloud storage service of some kind. How do I do whatever it is you do to use that so I can duplicate it? lol

If it is the thing where you click on a number in firefox and it tries to dial out, I may have been trying to get rid of that as being a horrible nuisance. It could be affected by some of the motorola specific packages I removed or some of the mime associations I messed with, so you can replace all the .desktop files with the stock ones to fix the mime associations and see if that does anything.

Also since mobile view isn't running by default, see if the problem persists when that is running.

Cheers!
[Atrix 4G Android Development] tomh235:
Hi NFHimself,

Thanks for the great webtop mod, this is webtop connector....

View attachment 1287755View attachment 1287751

the app allows you to manage your webtop bookmarks and on undocking gives a notification allowing you to open your webtop tabs on your phone.

View attachment 1287756

The app also alows you to open links from mobileview in firefox.

Unfortunately using simpletop has broken this functionality but im sure if I han find the webtop files the app links to I can symlink to the simpletop files as I find these features pretty usefull.

Also, do you have any advice for setting up webtop to fire up aiw on boot as I have tried adding the desktop files and links to the LXDE autostart folder to no avail. My problem is that if mobile view is not open on the webtop you canot unlock the device when docked, you are just treated to a black screen and a frozen pointer. Undocking and unlocking the phone usually fixes this.

Thanks again for giving me the option to have a proper pc with gcc, octave, inkscape and openoffice on my lapdock!
[Atrix 4G Android Development] NFHimself:
Hi,

Mobile view is normally started in start-oshwt-1.sh with sfalv -i aiw -d, however you can get stuck in a situation with multiple mobile views that way, just a aiw by itself should work. Lxde autostart folder has been disabled as opening old sessions in this context has caused some conflicts for me in the past when trying things.

I can open links in webtop's firefox on the phone by using send to phone in the menu, and I get a prompt to open an existing browser page on the webtop, it is probably related to mobile view being active. I have randomly seen the webtop connector in the notification bar, can't recall using it.

Cheers!
[Atrix 4G Android Development] qaplus:
entertainment center won't start

I have been using SimpleTop for a while. It's great! But I do have several problems. The first one is sometimes when I start webtop it complains icon theme cannot start. Then the icons on the bottom will disappear. This is not a show stopper for me though. Another issue is that I cannot launch Entertainment Center somehow. When I click the icon, nothing happens. Does anyone how to fix this? The last problem I have is to connect to Windows nextwork. It shows my windows machines, but doesn't ask me for credentials. Is there somewhere I can enter Windows user name and password?

Thanks for this great Webtop replacement!
[Atrix 4G Android Development] NFHimself:
Hi,

The icon problem was answered already, just go to appearances and select your icon set, I am probably missing some file that says it was set when I restore the config.

I am using smbnetfs, there are config files you put in your home directory to set up your username and password. (

smbnetfs.conf, smb.conf) Read more here.

I don't have an issue with EC, but I don't launch it directly, when you double click on a file it should launch.

Cheers!
[Atrix 4G Android Development] Frankzor:
NFHimself, I was wondering if it's possible to ASSIGN the ext3 partition to any other slot than mmcblk1p2 when installing/untar and booting Simpletop.

I'm asking this weird question because while I'm also on a Bell Atrix with nottachtrix, I'm actually on a multi-boot ROM setup, using like 11 partitions on external sdcard for the following ROMs : cm7, cm10, nottachtrix (same as the one on phone lol) and the ext3 partition for webtop (currently on Ubuntop + webtop2sd). In other words, I can switch phone ROM on-the-fly WITHOUT using a PC NOR CWM recovery in 1 minute.

Right now, on my external sdcard, mmcblk1p2 is used for the /system partition for cm7...

If it's too complicated, don't worry about it. I can definitely break up/rearrange my multi-boot setup to free up mmcblk1p2. However, it takes a whole day for me lol (copy all partitions to another sdcard for backup, deleting every partition, resizing fat32 partition, etc.)

My main motivation is to keep beta-testing ROMs (like cm10) by flashing them on internal sdcard, but still be able to use phone for my daily usage by reverting to my usual ROM WITHOUT "going on a flashing frenzy with CWM recovery" (by booting back to cm7 on external sdcard, for example). My current setup does not fully meet this requirement.

For me, so far, "nottachtrix on external sdcard" is useless for daily usage lol. It's a problem to me because I use openoffice on my lapdock everyday. Everything related to webtop2sd for "nottachtrix on external sdcard" does not work at all. ("On the contrary, everything related to webtop2sd on "nottachtrix on internal sdcard" works as intented...) I'm not alone with this problem. Hatefuel19 already posted this problem on the webtop2sd xda thread but couldn't come with an answer nor solution. Nor have I -_-. With webtop2sd's source code not revealed (and webtop2sd depending heavily on scripts), your simpletop setup suddenly becomes very attractive lol.
[Atrix 4G Android Development] tomh235:
You should just be able to edit this line:

device=/dev/block/mmcblk1p2

In the ubuntu.sh file in order to use an alternate partition layout. Please let me know if you get this working as I would love to try the ICS and JB roms but can't give up on webtop.

Sent from my Atrix
[Atrix 4G Android Development] Frankzor:
Too late for testing that for now. I totally repartitionned my external sdcard with 15 partitions with gparted live cd on a windows XP laptop and kept mmcblk1p2 for simpletop. I may edit ubuntu.sh for fun and test it in a month. Thanks for the tip anyway.

As for my setup? OMFG... simpletop WORKS on "nottachtrix on external sdcard"!!! Godamnit, FINALLY, this ROM has a purpose for me. I'll play it my setup for awhile to see if it's enough for me on a daily basis.

I mostly followed post #1 from NFHimself for installing simpletop, except for a few things :

1) For extracting tar ball to mmcblk1p2, I didn't use ubuntu on a PC nor adb shell. It's ironic actually. First. I booted my Atrix on "nottachtrix on internal sdcard" in order to run Ubuntop on webtop2sd on my lapdock. Then I run "gksu thunar" on lxterminal in order to find the path to the RIGHT sdcard partition (otherwise I coudn't type the directory to untar when I'm in Xarchiver; there's no GUI for displaying file tree paths of the 15 partitions I made in my external sdcard as far as I know in this app...). Afterwards, I opened ANOTHER lxterminal and typed "gksu xarchiver", found the tar ball and wrote the directory to extract it. The process lasts 40 minutes... o_O (that's with a 1.3 GHz dual-core overclocked faux123 kernel) I browsed the net with firefox in the meanwhile, even though it lags during the extraction.

2) I didn't backup nor erased /data/home/adas AT ALL. The directory was already mostly empty when I SWITCHED to "nottachtrix on external sdcard." That means the whole /data/home/adas directory must reside in one of the 3 essential partitions used for booting the Atrix in a "ROM on external sdcard" (either on /system, /cache or /data... You guess it lol) and not in the internal sdcard as I originally thought. In summary, for me, doing a backup of files in this directory is not useful. Doing a backup of the WHOLE /data partition to another sdcard with gparted live cd IS a good thing to do, though. (fact in invisible ink deprecated, I had to erase data/home/adas after all lol)

NGHimself, THANK YOU SO MUCH for providing an alternative to webtop2sd. I'll cross my fingers and hope simpletop runs as smoothly as ubuntop on webtop2sd. I have a favor to ask though : can you update post #1 with the minimum capacity of the ext3 partition in mmcblk1p2 to be 2.5 gb please ? Xarchiver couldn't stop giving me errors until I read the logs about having not enough space with 2 gb partition... I had to resize randomly until I found a acceptable partition size for simpletop for my ADATA 32 gb class 4 sdcard (along with the partitions made for containing 3 roms and, ironically, the /osh partition for ubuntop; this leaves a measly 17 gb fat32 partition for storage lol).
[Atrix 4G Android Development] NFHimself:
Hi Tom,

Yes, all you need to do is edit the ubuntu.sh file, it is pretty straight forward, you are just -rbinding over all the top directories of /osh with whatever partition. I have used /var separated out to a 3rd partition to play with format options, and I have had multiple versions side by side, so there is no issue with doing that. One todo list is either copying the home folder back and forth to avoid config conflicts or finally figuring out how to overlay something on /data/home/adas/. What I do now is just mount a partition and link it in my home folder and put stuff there.

Hi Frank,

I am pretty sure I used a 2GB partition and had ~500MB left over, but it's been a while. I have /var as a third partition with a small / partition and it was fine. I didn't use xarchiver though, just tar -xvf in a shell, perhaps that requires temporary files.

Cheers!
[Atrix 4G Android Development] htchd2fix:
i did the partition with minitool...how you extract it there i copied into sd card ext but i cant see the ext3 partition that i created where it should go i beleive.

may be do i need to mount the ext3 first to be accessible and visible with file explorer? from my atrix?

can anybody make a cwm zip to make my life simple????

thanx
[Atrix 4G Android Development] Frankzor:
I guess so. BTW I got some questions about /var. I didn't make mmcblk1p3 for /var at all. Was it necessary ? What does the /var files do? It may help with my random reboot issues I have currently when I'm starting simpletop from "nottachtrix on external sdcard." Issue could also be the slow ADATA 32 gb class 4 sdcard I had, but Ubuntop on webtop2sd reboots far less often... Edited on September 8, 2012 : I had to erase /data/home/adas after all, even though there was only like 5 files/folders inside. This makes random reboot on simpletop from every 10 mins to every 30-60 mins -_- Also, it seems that enabling ZRAM in faux123's 1.0 GHz kernel (or having/using that kernel) increases chances of random reboot, unlike in Ubuntop... weird. I'll reedit my observations in a few days if needed.

---------- Post added at 01:33 PM ---------- Previous post was at 01:06 PM ----------

On windows XP at least (and windows Vista and probably windows 7), you can only see files from/to the FIRST partition of the sdcard (which is the fat32 one usually). The only way I know to mount the ext3 partition on sdcard is with adb shell. The only way to extract the tar ball without problems on windows is also with adb shell. See post 20 and 22. Make sure your ext3 is 2 gb (preferably 2.5 gb) at least. Make sure to reformat ext3 partition if it fails extracting on the first try before extracting again (because I don't think identical remaining files on partition will be overwritten).

On android, I don't know how to make the ext3 partition on sdcard appear. I thought mounting with terminal emulator could work, but it didn't.

I agree that making a CWM flashable zip could simplify a lot of things, but I don't know how to do it. The steps are hard to do with a windows PC lol. (I did have a working linux OS prior to simpletop... but not on a PC. It's on the Atrix phone itself, called Ubuntop by lockifish marz. That's how I succeeded in installing simpletop.) I'll let NFHimself answer that.
[Atrix 4G Android Development] htchd2fix:
On windows XP at least (and windows Vista and probably windows 7), you can only see files from/to the FIRST partition of the sdcard (which is the fat32 one usually). The only way I know to mount the ext3 partition on sdcard is with adb shell. The only way to extract the tar ball without problems on windows is also with adb shell. See post 20 and 22. Make sure your ext3 is 2 gb (preferably 2.5 gb) at least. Make sure to reformat ext3 partition if it fails extracting on the first try before extracting again (because I don't think identical remaining files on partition will be over

On android, I don't know how to make the ext3 partition on sdcard appear. I thought mounting with terminal emulator could work, but it didn't.

I agree that making a CWM flashable zip could simplify a lot of things, but I don't know how to do it. The steps are hard to do with a windows PC lol. (I did have a working linux OS prior to simpletop... but not on a PC. It's on the Atrix phone itself, called Ubuntop by lockifish marz. That's how I succeeded in installing simpletop.) I'll let NFHimself answer that.[/QUOTE]

How to adb????? With fastboot????

And wich cmds?

And after that will ext 3 be visible i mran like sd card ext?

So i can past the tar file i extracted with 7zip?

I know stupid questions
[Atrix 4G Android Development] Frankzor:
Whoa slow down. adb and fastboot are 2 COMPLETELY different things.

You need adb to run. NOT fastboot.

First of all, do you have a "bootloader unlocked" and rooted atrix 4g ? If you do, you already used adb shell before... see h**p://wiki.rootzwiki.com/Motorola_Atrix

Second of all, do you have a windows PC or a linux one ? Linux is MUCH EASIER to use because it CAN detect multiple partitions in external sdcard UNLIKE windows. Also, xarchiver on linux can extract the tar ball without permission issues UNLIKE 7zip or winrar or whatever on windows..

In my knowledge, windows won't EVER mount the ext3 partition by itself... (ext3 can't be read by windows OS BTW). If you have adb on windows, however, you can mount it.

To have adb, get adb-package from h**p://wiki.rootzwiki.com/Motorola_Atrix

To start adb shell, run "cmd" from the "start menu" in windows. Then go to where the adb-package folder and type "adb shell". From there, follow NFhimself posts (like posts 20 and 22).
[Atrix 4G Android Development] htchd2fix:
First of all thanx for trying to help ....

ok i see i have a lot reading to do before retry ...

at some point of the process ext3 is or can beaccessible trough atrix terminal??????????

can be mounted from terminal and copy and paste the extracted tar file into ext3??????

somebody in this thread mentioned that can be extraed directly into phone...or i missintepreted?/

thanx again