[WEBTOP] GenTop2-20120509 (Beta) - Next Generation Gentoo Webtop Replacement

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
I have built gentoo for non-rooted phones, with hardfloat, for my padfone2.

It lives in directory /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/ of application "terminal IDE" with the EPREFIX option of Gentoo.

I now want to start sharing that gentoo installation.

This means 142 Mo of files (.tbz2 by quickpkg) that I want to host somewhere.

Do you know a place to host these files ? Maybe a place in xda ?
Nice to know, I'd be eager to try it and help once you have the uploading sorted.
I know your app terminal ide and like it much. I take it you don't have X working within gentoo in it, or have you tried with vnc and such? I myself tried those things some time ago but it was buggy and slow... Another question, armv6l for compatibility reasons and does it have a fully working portage/compile system so we could recompile it for armv7 with hardfloat and neon (out of my experience that makes it much faster). Thanks
As others suggested Google drive should be Ok for first testing purposes
 

palmbeach05

Senior Member
Oct 12, 2012
4,292
1,795
243
any flashable zip?
so basically you don't want to do anything via adb? guess what, sometimes you gotta do what you don't want to do.

Btw, thanks for all the spamming you did earlier and bashing a project that has been in the works for 6+ months. Its an alpha stage kernel on its initial release. expect issues, be quiet, and deal with it. if you can't, go back to GB.

Sent from my MB860 using xda app-developers app
 
  • Like
Reactions: BigJeff

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
So I got through the installation of the base Gentop2, no errors, but when I put my Atrix on the lapdock, the red Moto logo just bouces around... Any ideas??? Thanks.
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
You did something wrong, perhaps sdcard isn't being initialized properly, or you have overwritten something. It happened to me several times when I moved almost everything to the sdcard. I fixed it with trial and error. In my case I used an /osh/usr simlink to /sdcard/usr which has to be mounted at boot of the phone and not with the script "ubuntu.sh", so if you are trying to achieve something like this, you need to edit the ramdisk of your boot.img, etc
 
  • Like
Reactions: BigJeff

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
You did something wrong, perhaps sdcard isn't being initialized properly, or you have overwritten something. It happened to me several times when I moved almost everything to the sdcard. I fixed it with trial and error. In my case I used an /osh/usr simlink to /sdcard/usr which has to be mounted at boot of the phone and not with the script "ubuntu.sh", so if you are trying to achieve something like this, you need to edit the ramdisk of your boot.img, etc
No I'm not trying anything like that, to advanced for me at this point. Here is what I'm doing.

1. Boot into CWM and select mounts and storage.
Select format /osh and format preinstall.

Then I wipe data/cache factory reset and wipe dalvik cache.
Install originial Nottachtrix 1.3.1 ROM and choose the ATT kernel. (ATT phone)

2. It boots up and then I reboot into CWM, I mount all of the partitions in CWM, and from there I follow the commands in root ADB shell

Code:
[email protected]:/home/jeff/Android/sdk/platform-tools# ./adb shell
~ # su
/sbin/sh: su: not found
~ # cd /osh
/osh # mv etc etcx
mv: can't rename 'etc': No such file or directory
/osh # reboot
[email protected]:/home/jeff/Android/sdk/platform-tools#
Reboot into CWM and again mount all the partitions using CWM.

Code:
[email protected]:/home/jeff/Android/sdk/platform-tools# ./adb shell
~ # cd /
~ # ls bin
ls: bin: No such file or directory
~ # rm -r osh/*
~ # ls osh
~ # mount -o remount,rw /dev/block/mmcblk0p12 /system
~ # mv /system/bin/load_pia.sh /system/bin/load_pia.sh.disabled
~ # umount /preinstall
~ # mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
176704 inodes, 353280 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
44 block groups
8192 blocks per group, 8192 fragments per group
4016 inodes per group
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
~ # mount -t ext3 /dev/block/mmcblk0p17 /preinstall
~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   418632        32    418600   0% /dev
/dev/block/mmcblk0p15
                        645056     16900    595388   3% /cache
/dev/block/mmcblk0p16
                       2064208    176412   1782940   9% /data
/dev/block/mmcblk0p13
                        774064     17164    717580   2% /osh
/dev/block/mmcblk0p3      1980      1144       836  58% /pds
/dev/block/mmcblk0p12
                        317335    264091     36860  88% /system
/dev/block/mmcblk0p18
                      11211876   3497432   7714444  31% /emmc
/dev/block/mmcblk1p2   3522592     72604   3271044   2% /sd-ext
/dev/block/mmcblk0p17
                        331079     10287    320792   3% /preinstall
~ # cd /
tar xvzf /emmc/GenTop2-20120509.tar.gz
(It runs through a billion lines of stuff that seems to extract correctly?)
(NOTE had to change from /sdcard to /emmc in order for it to recognize it as a valid directory)
~ # sync
~ # sed -i s/ext3/ /osh/ubuntu.sh
sed: unmatched '/' (tried just ext3 since it wasn't faux but that didn't work.)
~ # sed -i s/ext3/ext4/ /osh/ubuntu.sh
~ # sync
~ # reboot
It still doesn't work either!!!?!?! Just does the stupid bouncing M and then says no hdmi and crap.
 
Last edited:

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
You should do the steps while the rom is booted and not in recovery. And use faux kernel, not stock.
So while the phone is booted just like I'd be using it, and have debugging enable? Ok I'll give that a try.

EDIT: I tried it with Android running, using faux kernel and the exact same commands, except I used ext4 instead of ext3, and i still just bounces around the stupid red M!!!
 
Last edited:

USSRxAZ

Senior Member
Dec 1, 2011
52
8
0
Novorossiysk
well, i think it depends of kernel
i am using ext4 commands with faux kernel all time.

try mount -t ext4 /dev/block/mmcblk0p17 /preinstall if u are using non stock kernel

also there is command had to be done after tar unpacking
for those who mounted it as ext4
sed -i s/ext3/ext4/ /osh/ubuntu.sh

i did guide for russian atrix community months ago
i ll past short version there

once after rom install or wipe:
$ su
# cd /
# mount -o remount,rw /dev/block/mmcblk0p12 /system
# mv /system/bin/load_pia.sh /system/bin/load_pia.sh.disabled

mv can't rename means its already ok

# umount /preinstall // if u meet error it means its not mounted already , its ok :)
# mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17
# mount -t ext4 /dev/block/mmcblk0p17 /preinstall // or replace ext4 with ext3 for a stock kernel

# df // osh should be 2% and preinstall 0%
# cd /
# tar xvzf /sdcard/GenTop2-20120509.tar.gz // busybox tar for stock rom if tar dont work
# sync

// additionally if u used ext4 mount before :
# sed -i s/ext3/ext4/ /osh/ubuntu.sh

# sync
# reboot

// - means comments xD
look at my short instruction, only necessary steps included
i would also recommend to reboot twice after gentop done or use awesome rom (with ext4 faux kernel addition) instead notachtrix
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
So while the phone is booted just like I'd be using it, and have debugging enable? Ok I'll give that a try.

EDIT: I tried it with Android running, using faux kernel and the exact same commands, except I used ext4 instead of ext3, and i still just bounces around the stupid red M!!!
Ye like that. I'm not sure what is going wrong there. The symptoms you describe look like it's not finding the files/partition needed...
 
  • Like
Reactions: BigJeff

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
Ye like that. I'm not sure what is going wrong there. The symptoms you describe look like it's not finding the files/partition needed...
Here's what I'm going to try. I'll format /osh and /preinstal. Then I'll flash the 2.3.6 Webtop and ROM fruitcakes. Then I'll flash Nottachtrix 1.3.1 and try it from there. I have wanted to try this for EVER and it's driving me mad.
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
Here's what I'm going to try. I'll format /osh and /preinstal. Then I'll flash the 2.3.6 Webtop and ROM fruitcakes. Then I'll flash Nottachtrix 1.3.1 and try it from there. I have wanted to try this for EVER and it's driving me mad.
That seems like a good plan. Don't forget to flash faux kernel onto nottachtrix, or else you will be stuck with ext3. And I would certainly recommend ext4.
 

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
That seems like a good plan. Don't forget to flash faux kernel onto nottachtrix, or else you will be stuck with ext3. And I would certainly recommend ext4.
Yeah in the Aroma installer should I select A) Faux kernel @ 1000mhz or B) Faux kernel @1000mhz ext4? Before I chose A) and adb shell didn't complain so... BTW regular webtop is working right now so I'm at like a stock installation. I will see what I can do from here....

EDIT: I wasn't able to complete the process because after untaring the file, adb stopped recognizing the device... WTF is going on?
EDIT2: So I rebooted my device and computer. killed adb server and restarted it registered it again... Hopefully it fully extracted the tar so I dont have to go through this again!

FU** it, more bounces M bullcrap. I think I need a break....

Edit: Ok, so I formatted /preinstall and /osh.
Then I wiped data ect and then flashed the webtop fruitcake and rom fruitcake. Booted and regular webtop worked fine.
Flashed nottachtrix with the ext4 kernel and webtop was still running fine.

went through the gentop installation guide and substituted ext3's for ext4's and rebooted.
NOPE JUST MORE BOUCING M's!!! Dammit.
 
Last edited:

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
the adb not working issue is kind of known to me ( i thought its because i moved things to the sdcard), as this was like a year ago or so, i dont really remember how i fixed it, or managed not to brake it. i do however know that once it was broken, i had to reflash nottachtrix to make it work again... (even if i changed the setting in /data/data/something it wouldnt work), it might be even that once you get it to work adb drops and you have to do the last few steps through terminal emulator on the phone itself (might use a keyboard and hdmi to tv, so its easier)
edit:
i remember now, i couldnt get the "new version" (the one using osh and preinstall) to work myself, so i used the older version (not sure its up here - ill upload to my gdrive so you can get it), than i first installed the old version, got it to work, and installed the diff file, than i manually edited the ubuntu.sh, and faux kernel so it would bind mount the sdcard to /osh/usr, copied /usr to my sdcard (did all of this on my pc), than flashed kernel, copied over ubuntu.sh, inserted sdcard and it worked. if you want i can later grab the kernel and the modded ubuntu.sh from the phone and upload it
 
Last edited:

supRyze

Member
Nov 25, 2012
14
7
0
Actually you can use non-ext4 version of faux kernel.
I use GB-24 version over NottachTrix 1.3.1 with gentop.

Maybe something wrong with the file placement or permissions.
What you can do is see the logs in the "/data/var/log/" directory.
Also check if X-server is running. I.e.
# ps ax|grep X
You should see something like "/usr/bin/X :0 -nolisten"

Also check if binaries in /osh/bin/ /osh/sbin/ /osh/usr/bin/ /osh/usr/sbin can be executed.

If you execute in the adb shell
# /osh/bin/ps axf
You should see nice tree of processes.

By the way, I found a funny thing: if I kill xdm (so would die all his children including X), I could connect lapdock as "Mirror phone on display". And it is sometimes usefull to watch films in the MXPlayer, though resolution is not native, but some 720p which can be rendered with "hw+" decoder looks good.
 

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
Actually you can use non-ext4 version of faux kernel.
I use GB-24 version over NottachTrix 1.3.1 with gentop.

Maybe something wrong with the file placement or permissions.
What you can do is see the logs in the "/data/var/log/" directory.
Also check if X-server is running. I.e.
# ps ax|grep X
You should see something like "/usr/bin/X :0 -nolisten"

Also check if binaries in /osh/bin/ /osh/sbin/ /osh/usr/bin/ /osh/usr/sbin can be executed.

If you execute in the adb shell
# /osh/bin/ps axf
You should see nice tree of processes.

By the way, I found a funny thing: if I kill xdm (so would die all his children including X), I could connect lapdock as "Mirror phone on display". And it is sometimes usefull to watch films in the MXPlayer, though resolution is not native, but some 720p which can be rendered with "hw+" decoder looks good.
Code:
/ # ps ax|grep x
  547 root       0:00 [tegra_hsuart_rx]
  549 root       0:00 [tegra_hsuart_rx]
  551 root       0:00 [tegra_hsuart_rx]
  553 root       0:00 [tegra_hsuart_rx]
  748 root       0:00 [kxtf9_wq]
 1293 root       0:00 [ext4-dio-unwrit]
 1302 root       0:00 [ext4-dio-unwrit]
 1306 root       0:00 [ext4-dio-unwrit]
 3046 root       0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -reuse
 3249 10065      0:00 {equicksearchbox} com.google.android.googlequicksearchbox
 4001 1010       0:00 /system/bin/wpa_supplicant -D wext -i eth0 -c/data/misc/wifi/wpa_supplicant.conf
 5615 root       0:00 ps ax
 5616 root       0:00 grep x
All the /osh/xxx/ directories in root explorer are marked as executable for owner, group, and others so that's good.

Code:
/ # # /osh/bin/ps axf
/ #
Is all I get, no processes...

Also crnkoj if you could do that it would be great. Thanks for trying to help me out guys.
 

supRyze

Member
Nov 25, 2012
14
7
0
Code:
/ # ps ax|grep x
  547 root       0:00 [tegra_hsuart_rx]
  549 root       0:00 [tegra_hsuart_rx]
  551 root       0:00 [tegra_hsuart_rx]
  553 root       0:00 [tegra_hsuart_rx]
  748 root       0:00 [kxtf9_wq]
 1293 root       0:00 [ext4-dio-unwrit]
 1302 root       0:00 [ext4-dio-unwrit]
 1306 root       0:00 [ext4-dio-unwrit]
 3046 root       0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -reuse
 3249 10065      0:00 {equicksearchbox} com.google.android.googlequicksearchbox
 4001 1010       0:00 /system/bin/wpa_supplicant -D wext -i eth0 -c/data/misc/wifi/wpa_supplicant.conf
 5615 root       0:00 ps ax
 5616 root       0:00 grep x
All the /osh/xxx/ directories in root explorer are marked as executable for owner, group, and others so that's good.

Code:
/ # # /osh/bin/ps axf
/ #
Is all I get, no processes...

Also crnkoj if you could do that it would be great. Thanks for trying to help me out guys.
I should just remark that linux is generally case-sensitive, though busybox's ps-applet looks not.
Yet as "ps ax|grep x" does not show "/usr/bin/xdm" nor "/usr/bin/X" running thus it is obvious that you could not see anything except red M logo on the lapdock.
Also the empty output of "/osh/bin/ps axf" shows that something is fundamentaly broken.
Can you provide a detailed listing like an output of "ls -la /osh/bin/"?
You should also check that in the /osh/usr/bin/ directory the important files like Xorg and xdm are present and have non-zero size.

By the way, this is how should look the root directory:
/ # ls -la /
ls -la /
total 213
drwxr-xr-x 15 root root 0 Jun 27 01:51 .
drwxr-xr-x 15 root root 0 Jun 27 01:51 ..
drwxr-xr-x 3 root root 0 Jun 27 01:50 acct
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 bin -> /osh/bin
lrwxrwxrwx 1 root 3004 9 Jun 27 01:50 boot -> /osh/boot
drwxrwx--x 5 1000 2001 4096 Jun 27 02:51 cache
dr-x------ 2 root root 0 Jun 27 01:50 config
drwxrwx--x 25 1000 1000 4096 Jun 27 01:50 data
-rw-r--r-- 1 root root 153 Jan 1 1970 default.prop
drwxr-xr-x 12 root root 3480 Jun 27 01:51 dev
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 etc -> /osh/etc
lrwxrwxrwx 1 root 3004 10 Jun 27 01:50 home -> /data/home
-rwxr-x--- 1 root root 94612 Jan 1 1970 init
-rwxr-x--- 1 root root 1954 Jan 1 1970 init.goldfish.rc
-rwxr-x--- 1 root root 20388 Jan 1 1970 init.mapphone_cdma.rc
-rwxr-x--- 1 root root 21955 Jan 1 1970 init.mapphone_umts.rc
-rwxr-x--- 1 root root 36167 Jan 1 1970 init.rc
-rwxr-x--- 1 root root 453 Jan 1 1970 init_prep_keypad.sh
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 lib -> /osh/lib
lrwxrwxrwx 1 root 3004 15 Jun 27 01:50 lost+found -> /osh/lost+found
lrwxrwxrwx 1 root 3004 10 Jun 27 01:50 media -> /osh/media
drwxrwx--- 2 1000 9998 0 Jun 27 01:50 misc
drwxrwxr-x 16 root 1000 0 Jun 27 01:51 mnt
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 opt -> /osh/opt
drwxr-xr-x 17 root root 2048 Nov 15 2012 osh
drwxr-xr-x 12 root root 1024 Feb 23 2012 pds
drwxr-xr-x 5 portage portage 1024 Nov 15 2012 preinstall
dr-xr-xr-x 193 root root 0 Jan 1 1970 proc
lrwxrwxrwx 1 root 3004 9 Jun 27 01:50 root -> /osh/root
lrwxrwxrwx 1 root 3004 9 Jun 27 01:50 sbin -> /osh/sbin
lrwxrwxrwx 1 root root 11 Jun 27 01:50 sdcard -> /mnt/sdcard
lrwxrwxrwx 1 root root 15 Jun 27 01:50 sdcard-ext -> /mnt/sdcard-ext
drwxr-xr-x 14 root root 0 Jan 1 1970 sys
drwxr-xr-x 12 root root 1024 Dec 30 13:39 system
lrwxrwxrwx 1 root root 9 Jun 27 01:50 tmp -> /data/tmp
lrwxrwxrwx 1 root 3004 14 Jun 27 01:50 ubuntu.sh -> /osh/ubuntu.sh
-rw-r--r-- 1 root root 0 Jan 1 1970 ueventd.goldfish.rc
-rw-r--r-- 1 root root 9788 Jan 1 1970 ueventd.rc
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 usr -> /osh/usr
lrwxrwxrwx 1 root 3004 8 Jun 27 01:50 var -> /osh/var
lrwxrwxrwx 1 root root 14 Jun 27 01:50 vendor -> /system/vendor
In the end, you can try to start webtop services manually from adb shell:
/ # ./ubuntu.sh
there will be alot of error messages in case system has done it already.
Or you can launch only xdm:
/ # /sbin/rc -s xdm start
* Setting up xdm ... [ ok ]
I don't expect it to work for you, but it is likely to provide feedback.
 
  • Like
Reactions: BigJeff

BigJeff

Senior Member
Jun 4, 2011
835
177
0
Stanwood
So I rebooted and tried some commands again, and for some reason, this time I got this...
Code:
/ # /osh/bin/ps axf
  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [migration/0]
    4 ?        S      0:00  \_ [ksoftirqd/0]
    5 ?        S      0:00  \_ [watchdog/0]
    9 ?        S      0:00  \_ [events/0]
   11 ?        S      0:00  \_ [khelper]
   14 ?        S      0:00  \_ [async/mgr]
   17 ?        S      2:00  \_ [suspend]
   34 ?        S      0:00  \_ [irq/136-dma_cha]
   35 ?        S      0:00  \_ [irq/137-dma_cha]
   36 ?        S      0:00  \_ [irq/138-dma_cha]
   37 ?        S      0:00  \_ [irq/139-dma_cha]
   38 ?        S      0:00  \_ [irq/140-dma_cha]
   39 ?        S      0:00  \_ [irq/141-dma_cha]
   40 ?        S      0:00  \_ [irq/142-dma_cha]
   41 ?        S      0:00  \_ [irq/143-dma_cha]
   42 ?        S      0:00  \_ [irq/144-dma_cha]
   43 ?        S      0:00  \_ [irq/145-dma_cha]
   44 ?        S      0:00  \_ [irq/146-dma_cha]
   45 ?        S      0:00  \_ [irq/147-dma_cha]
   46 ?        S      0:00  \_ [irq/148-dma_cha]
   47 ?        S      0:00  \_ [irq/149-dma_cha]
   48 ?        S      0:00  \_ [irq/150-dma_cha]
   49 ?        S      0:00  \_ [irq/151-dma_cha]
  265 ?        S      0:00  \_ [sync_supers]
  267 ?        S      0:00  \_ [bdi-default]
  269 ?        S      0:00  \_ [kblockd/0]
  283 ?        S      0:01  \_ [tegra_spi.1]
  286 ?        S      0:00  \_ [cpcap_irq]
  334 ?        S      0:00  \_ [NvOsKernelThrea]
  348 ?        S      0:00  \_ [tegra_spi.2]
  351 ?        S      0:00  \_ [ksuspend_usbd]
  356 ?        S      0:00  \_ [khubd]
  359 ?        S      0:00  \_ [kseriod]
  372 ?        S      0:00  \_ [kmmcd]
  380 ?        S      0:00  \_ [bluetooth]
  399 ?        S      0:01  \_ [cpufreq-dvfsd]
  422 ?        S      0:00  \_ [khungtaskd]
  423 ?        S      0:00  \_ [kswapd0]
  425 ?        S      0:00  \_ [aio/0]
  427 ?        S      0:00  \_ [ecryptfs-kthrea]
  429 ?        S<     0:00  \_ [kslowd000]
  430 ?        S<     0:00  \_ [kslowd001]
  432 ?        S      0:00  \_ [crypto/0]
  547 ?        S      0:00  \_ [tegra_hsuart_rx]
  549 ?        S      0:00  \_ [tegra_hsuart_rx]
  551 ?        S      0:00  \_ [tegra_hsuart_rx]
  553 ?        S      0:00  \_ [tegra_hsuart_rx]
  599 ?        S      0:00  \_ [mdm_ctrl_wq]
  603 ?        S      0:00  \_ [mdm6600_agent_w]
  607 ?        S      0:00  \_ [spi_tty_wq]
  621 ?        S      0:00  \_ [mtdblockd]
  622 ?        S      0:00  \_ [tegra_spis_wq_1]
  687 ?        S      0:00  \_ [usb_mass_storag]
  699 ?        S      0:00  \_ [tegra-kbc]
  711 ?        S      0:00  \_ [aes1750]
  725 ?        S      0:00  \_ [qtouch_obp_ts_w]
  748 ?        S      0:00  \_ [kxtf9_wq]
  781 ?        S      0:00  \_ [w1_bus_master1]
  791 ?        S      0:00  \_ [cpcap_wdog_wq]
  794 ?        S      0:00  \_ [kstriped]
  797 ?        S      0:00  \_ [blue_sleep]
  835 ?        S      0:00  \_ [usbhid_resumer]
  838 ?        S      0:00  \_ [binder]
  851 ?        S<     0:00  \_ [krfcommd]
  858 ?        S      0:00  \_ [cpcap_accy]
 1271 ?        S      0:02  \_ [mmcqd]
 1292 ?        S      0:00  \_ [jbd2/mmcblk0p12]
 1293 ?        S      0:00  \_ [ext4-dio-unwrit]
 1296 ?        S      0:00  \_ [mmcqd]
 1301 ?        S      0:00  \_ [flush-179:0]
 1302 ?        S      0:00  \_ [jbd2/mmcblk0p16]
 1303 ?        S      0:00  \_ [ext4-dio-unwrit]
 1305 ?        S      0:00  \_ [jbd2/mmcblk0p15]
 1306 ?        S      0:00  \_ [ext4-dio-unwrit]
 1310 ?        S      0:00  \_ [kjournald]
 1316 ?        S      0:00  \_ [kjournald]
 1468 ?        S      0:00  \_ [NvOsIrqKern0217]
 1853 ?        S      0:00  \_ [kjournald]
 4092 ?        S      0:00  \_ [iscan_sysioc]
 4093 ?        S      0:00  \_ [dhcp_sysioc]
 4094 ?        S      0:00  \_ [dhd_watchdog]
 4095 ?        S      0:00  \_ [dhd_dpc]
 4096 ?        S      0:00  \_ [dhd_sysioc]
    1 ?        S      0:02 /init
  865 ?        S      0:00 /sbin/ueventd
 1392 ?        S      0:00 /system/bin/servicemanager
 1393 ?        Sl     0:01 /system/bin/vold
 1394 ?        S      0:00 /system/bin/tund
 1395 ?        Sl     0:00 /system/bin/netd
 1396 ?        S      0:00 /system/bin/debuggerd
 1397 ?        Sl     0:03 /system/bin/rild
 1399 ?        S      0:00 /system/bin/logwrapper /system/bin/nvrm_daemon
 1427 ?        Sl     0:01  \_ /system/bin/nvrm_daemon
 1400 ?        S      0:00 /system/bin/battd
 1401 ?        S      0:00 /system/bin/usbd
 1406 ?        Sl     0:00 /system/bin/am2server
 1409 ?        S      0:03 zygote /bin/app_process -Xzygote /system/bin --zygote
 1587 ?        Sl     0:36  \_ system_server                                   
 1703 ?        Sl     0:04  \_ com.android.systemui                            
 1723 ?        Sl     0:02  \_ com.android.inputmethod.latin                   
 1728 ?        Sl     0:02  \_ com.android.phone                               
 1746 ?        Sl     0:01  \_ com.motorola.blur.service.main                  
 1750 ?        Sl     0:00  \_ com.motorola.batterymanager                     
 1752 ?        Sl     0:02  \_ com.motorola.blur.service.blur                  
 1758 ?        Sl     0:03  \_ com.motorola.process.system                     
 1765 ?        Sl     0:00  \_ com.motorola.service.entitlement                
 1766 ?        Sl     0:00  \_ com.motorola.contacts                           
 1802 ?        Sl     0:04  \_ com.motorola.blur.home                          
 1803 ?        Sl     0:00  \_ com.android.portal                              
 1807 ?        Sl     0:00  \_ com.motorola.fingerprint                        
 1813 ?        Sl     0:00  \_ com.motorola.usb                                
 1824 ?        Sl     0:01  \_ com.motorola.android.phoneportal.androidui      
 1862 ?        Sl     0:00  \_ com.android.settings                            
 1990 ?        Sl     0:02  \_ com.google.process.gapps                        
 2112 ?        Sl     0:19  \_ android.process.media                           
 2141 ?        Sl     0:00  \_ android.tts                                     
 2152 ?        Sl     0:04  \_ com.motorola.blur.conversations                 
 2267 ?        Sl     0:00  \_ com.authentec.TrueSuiteMobile                   
 2302 ?        Sl     0:00  \_ com.nuance.android.vsuite.vsuiteapp             
 2391 ?        Sl     0:00  \_ com.android.calendar                            
 2607 ?        Sl     0:00  \_ com.pvy.batterybar                              
 2842 ?        Sl     0:01  \_ com.google.android.gm                           
 3031 ?        Sl     0:00  \_ com.motorola.android.datamanager                
 3116 ?        Sl     0:00  \_ com.motorola.certificateprovider                
 3141 ?        Sl     0:00  \_ com.google.android.apps.maps:FriendService      
 3182 ?        Sl     0:00  \_ com.motorola.blur.alarmclock                    
 3191 ?        Sl     0:00  \_ com.motorola.blur.suggestions.scheduler         
 3201 ?        Sl     0:00  \_ com.motorola.android.AudioEffectSettings        
 3209 ?        Sl     0:00  \_ com.motorola.blur.provider.suggestions          
 3217 ?        Sl     0:00  \_ com.motorola.android.simcontactadapter          
 3231 ?        Sl     0:00  \_ com.google.android.googlequicksearchbox         
 3281 ?        Sl     0:01  \_ com.android.vending                             
 3369 ?        Sl     0:00  \_ com.google.android.apps.uploader                
 3381 ?        Sl     0:00  \_ com.motorola.blur.setup                         
 3401 ?        Sl     0:00  \_ com.google.android.apps.maps:LocationFriendServic
 3417 ?        Sl     0:00  \_ com.motorola.blur.datacollector.service         
 3512 ?        Sl     0:00  \_ com.motorola.blur.provider.datacollector        
 3883 ?        Sl     0:00  \_ com.motorola.bluetooth                          
 3940 ?        Sl     0:00  \_ com.motorola.blur.contacts.data                 
 4136 ?        Sl     0:00  \_ android.process.acore                           
 4155 ?        Sl     0:00  \_ com.android.browser                             
 4227 ?        Sl     0:00  \_ com.motorola.globalunplug                       
 4386 ?        Sl     0:00  \_ com.google.android.apps.maps                    
 4406 ?        Sl     0:00  \_ com.motorola.dock.service                       
 4473 ?        Sl     0:00  \_ com.motorola.MediaCenter                        
 1410 ?        Sl     0:01 /system/bin/mediaserver
 1411 ?        S      0:00 /system/bin/dbus-daemon --system --nofork
 1413 ?        S      0:00 /system/bin/installd
 1415 ?        S      0:00 /system/bin/keystore /data/misc/keystore
 1416 ?        Sl     0:00 /system/bin/tcmd
 1417 ?        S      0:00 /system/bin/akmd2
 1418 ?        S      0:00 /system/bin/secclkd
 1419 ?        Sl     0:00 /system/bin/whisperd /dev/ttyHS0
 1421 ?        Sl     0:00 /system/bin/mdm_panicd
 1422 ?        Sl     0:00 /sbin/adbd
 4570 pts/0    Ss     0:00  \_ /system/bin/sh -
 4591 pts/0    R+     0:00      \_ /osh/bin/ps axf
 1544 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-add
 1559 ?        Ss     0:00 sfalv -p resourcemanager -d -v -s Android
 1561 ?        S      0:00  \_ resourcemanager -d -v -s Android
 1562 ?        Ss     0:00 sfalv -i intent -d
 1564 ?        S      0:00  \_ intent -d
 1565 ?        Ss     0:00 sfalv -i webtop-restart -d --nodaemon
 1566 ?        S      0:00  \_ webtop-restart -d --nodaemon
 3099 ?        Ss     0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayal
 4097 ?        S      0:00 /system/bin/wpa_supplicant -D wext -i eth0 -c/data/mi
 4102 ?        S      0:00 /system/bin/dhcpcd -h android_df8fc634ae1b0d0d -ABKL
 4148 ?        S      0:00 /system/bin/dhcpcd -h android_df8fc634ae1b0d0d -ABKL
 4505 ?        S      0:00 /system/bin/ftmipcd
/ #
So That's somehow an improvement. Also you asked so...

Code:
/ # ls -la /osh/bin/
total 7736
drwxr-xr-x    2 root     root          2048 Jun 26 01:56 .
drwxr-xr-x   17 root     root          2048 Jun 26 01:57 ..
-rwxr-xr-x    1 root     root          9668 Mar 15  2012 attr
lrwxrwxrwx    1 root     3004             4 Jun 26 01:56 awk -> gawk
-rwxr-xr-x    1 root     root         22072 Mar 15  2012 basename
-rwxr-xr-x    1 root     root        619376 May  5  2012 bash
-rwxr-xr-x    1 root     root       1908472 Mar  2  2012 bb
lrwxrwxrwx    1 root     3004             5 Jun 26 01:56 bunzip2 -> bzip2
-rwxr-xr-x    1 root     root        932964 Mar  2  2012 busybox
lrwxrwxrwx    1 root     3004             5 Jun 26 01:56 bzcat -> bzip2
-rwxr-xr-x    1 root     root         34508 Mar 14  2012 bzip2
-rwxr-xr-x    1 root     root         42684 Mar 15  2012 cat
-rwxr-xr-x    1 root     root          9704 Mar 15  2012 chacl
-rwxr-xr-x    1 root     root         50848 Mar 15  2012 chgrp
-rwxr-xr-x    1 root     root         46728 Mar 15  2012 chmod
-rwxr-xr-x    1 root     root         54952 Mar 15  2012 chown
-rwxr-xr-x    1 root     root         30316 Mar 15  2012 chroot
-rwxr-xr-x    1 root     root         92000 Mar 15  2012 cp
-rwxr-xr-x    1 root     root        118328 Mar 14  2012 cpio
-rwxr-xr-x    1 root     root         38512 Mar 15  2012 cut
-rwxr-xr-x    1 root     root         54924 Mar 15  2012 date
-rwxr-xr-x    1 root     root         54988 Mar 15  2012 dd
-rwxr-xr-x    1 root     root         75552 Mar 15  2012 df
-rwxr-xr-x    1 root     root         96264 Mar 15  2012 dir
-rwxr-xr-x    1 root     root         22072 Mar 15  2012 dirname
-rwxr-xr-x    1 root     root         22020 Mar 15  2012 dmesg
lrwxrwxrwx    1 root     3004             8 Jun 26 01:56 dnsdomainname -> hostname
lrwxrwxrwx    1 root     3004             8 Jun 26 01:56 domainname -> hostname
-rwxr-xr-x    1 root     root         87820 Mar 15  2012 du
-rwxr-xr-x    1 root     root         22052 Mar 15  2012 echo
-rwxr-xr-x    1 root     root         38552 Mar 15  2012 ed
-rwxr-xr-x    1 root     root        108556 Mar 15  2012 egrep
-rwxr-xr-x    1 root     root         26172 Mar 15  2012 env
-rwxr-xr-x    1 root     root         34396 Mar 15  2012 expr
-rwxr-xr-x    1 root     root         17948 Mar 15  2012 false
-rwxr-xr-x    1 root     root         75656 Mar 15  2012 fgrep
-rwxr-xr-x    1 root     root         34924 Mar 15  2012 findmnt
-rwxr-xr-x    1 root     root         30612 Mar 15  2012 fuser
-rwxr-xr-x    1 root     root        367356 Apr 29  2012 gawk
-rwxr-xr-x    1 root     root         18324 Mar 15  2012 getfacl
-rwxr-xr-x    1 root     root         18212 Mar 15  2012 getfattr
-rwxr-xr-x    1 root     root        112668 Mar 15  2012 grep
-rwxr-xr-x    1 root     root          9680 Mar 15  2012 groups
-rwxr-xr-x    1 root     root          2249 Mar 15  2012 gunzip
-rwxr-xr-x    1 root     root         77632 Mar 15  2012 gzip
-rwxr-xr-x    1 root     root         38492 Mar 15  2012 head
-rwxr-xr-x    1 root     root         13804 Mar 14  2012 hostname
-rwxr-xr-x    1 root     root         17960 Mar 15  2012 keyctl
-r-xr-xr-x    1 root     root         13812 Mar 15  2012 kill
-rwxr-xr-x    1 root     root         46740 Mar 15  2012 ln
-rwxr-xr-x    1 root     root         35040 Mar 15  2012 login
-rwxr-xr-x    1 root     root         96264 Mar 15  2012 ls
-rwxr-xr-x    1 root     root         39276 Mar 15  2012 lsblk
-rwxr-xr-x    1 root     root          5540 Mar 14  2012 lsmod
-rwxr-xr-x    1 root     root         38536 Mar 15  2012 mkdir
-rwxr-xr-x    1 root     root         26172 Mar 15  2012 mkfifo
-rwxr-xr-x    1 root     root         30284 Mar 15  2012 mknod
-rwxr-xr-x    1 root     root         34452 Mar 15  2012 mktemp
-rwxr-xr-x    1 root     root         34496 Mar 15  2012 more
-rws--x--x    1 root     root         68040 Mar 15  2012 mount
-rwxr-xr-x    1 root     root          9684 Mar 15  2012 mountpoint
-rwxr-xr-x    1 root     root         87876 Mar 15  2012 mv
-rwxr-xr-x    1 root     root        157784 May  5  2012 nano
-rwxr-xr-x    1 root     root        109472 Mar 14  2012 netstat
lrwxrwxrwx    1 root     3004             8 Jun 26 01:56 nisdomainname -> hostname
-rws--x--x    1 root     root         32912 Mar 15  2012 passwd
lrwxrwxrwx    1 root     3004            14 Jun 26 01:56 pidof -> /sbin/killall5
-rws--x--x    1 root     root         34676 Mar 15  2012 ping
-rws--x--x    1 root     root         39048 Mar 15  2012 ping6
-r-xr-xr-x    1 root     root         71472 Mar 15  2012 ps
-rwxr-xr-x    1 root     root         30336 Mar 15  2012 pwd
lrwxrwxrwx    1 root     3004             4 Jun 26 01:56 rbash -> bash
lrwxrwxrwx    1 root     3004             8 Jun 26 01:56 rc-status -> /sbin/rc
-rwxr-xr-x    1 root     root         38516 Mar 15  2012 readlink
lrwxrwxrwx    1 root     3004             2 Jun 26 01:56 red -> ed
-rwxr-xr-x    1 root     root         50840 Mar 15  2012 rm
-rwxr-xr-x    1 root     root         34388 Mar 15  2012 rmdir
lrwxrwxrwx    1 root     3004             4 Jun 26 01:56 rnano -> nano
-rwxr-xr-x    1 root     root         14060 Mar 14  2012 run-parts
-rwxr-xr-x    1 root     root         55376 Mar 15  2012 sed
-rwxr-xr-x    1 root     root         34388 Mar 15  2012 seq
-rwxr-xr-x    1 root     root         26620 Mar 15  2012 setfacl
-rwxr-xr-x    1 root     root         13928 Mar 15  2012 setfattr
lrwxrwxrwx    1 root     3004             4 Jun 26 01:56 sh -> bash
-rwxr-xr-x    1 root     root         26172 Mar 15  2012 sleep
-rwxr-xr-x    1 root     root         92128 Mar 15  2012 sort
-rwxr-xr-x    1 root     root         54904 Mar 15  2012 stty
-rws--x--x    1 root     root         30996 Mar 15  2012 su
-rwxr-xr-x    1 root     root         22068 Mar 15  2012 sync
-rwxr-xr-x    1 root     root         54964 Mar 15  2012 tail
-rwxr-xr-x    1 root     root        260776 Mar 15  2012 tar
-rwxr-xr-x    1 root     root          9656 Mar 14  2012 tempfile
-rwxr-xr-x    1 root     root         50892 Mar 15  2012 touch
-rwxr-xr-x    1 root     root         42588 Mar 15  2012 tr
-rwxr-xr-x    1 root     root         17948 Mar 15  2012 true
-rwxr-xr-x    1 root     root         22076 Mar 15  2012 tty
-rws--x--x    1 root     root         51212 Mar 15  2012 umount
-rwxr-xr-x    1 root     root         26192 Mar 15  2012 uname
lrwxrwxrwx    1 root     3004             6 Jun 26 01:56 uncompress -> gunzip
-rwxr-xr-x    1 root     root         96264 Mar 15  2012 vdir
-rwxr-xr-x    1 root     root         38540 Mar 15  2012 wc
-rwxr-xr-x    1 root     root         22068 Mar 15  2012 yes
lrwxrwxrwx    1 root     3004             8 Jun 26 01:56 ypdomainname -> hostname
-rwxr-xr-x    1 root     root          1941 Mar 15  2012 zcat
/ #
And xdm and xorg, assuming the output is alphabetical, then there doesn't appear to be an xorg.. look after xdm

Code:
ls -la /osh/usr/bin/
-rwxr-xr-x    1 root     root         98044 Mar 15  2012 xdm
Code:
-rwxr-xr-x    1 root     root         30260 Mar 15  2012 xkbevd
-rwxr-xr-x    1 root     root         18396 Mar 15  2012 xkbvleds
-rwxr-xr-x    1 root     root         14300 Mar 15  2012 xkbwatch
-rwxr-xr-x    1 root     root          9696 Mar 15  2012 xkill
-rwxr-xr-x    1 root     root          9664 Mar 15  2012 xlsatoms
-rwxr-xr-x    1 root     root         13800 Mar 15  2012 xlsclients
-rwxr-xr-x    1 root     root         14288 Mar 15  2012 xmessage
-rwxr-xr-x    1 root     root          1623 Apr 30  2012 xml2-config
-rwxr-xr-x    1 root     root          5592 Apr 29  2012 xml2po
-rwxr-xr-x    1 root     root          7208 Apr 29  2012 xml2po-2.7
-rwxr-xr-x    1 root     root         13812 Apr 30  2012 xmlcatalog
-rwxr-xr-x    1 root     root         55776 Apr 30  2012 xmllint
-rwxr-xr-x    1 root     root         18080 Apr 21  2012 xmlwf
-rwxr-xr-x    1 root     root         26368 Mar 15  2012 xmodmap
-rwxr-xr-x    1 root     root         13820 Mar 15  2012 xpmtoppm
-rwxr-xr-x    1 root     root         43096 Mar 15  2012 xpr
-rwxr-xr-x    1 root     root         31492 Mar 15  2012 xprop
-rwxr-xr-x    1 root     root         46760 Mar 15  2012 xrandr
-rwxr-xr-x    1 root     root         22124 Mar 15  2012 xrdb
-rwxr-xr-x    1 root     root          9768 Mar 15  2012 xrefresh
-rwxr-xr-x    1 root     root        204192 Mar 16  2012 xscreensaver
 

supRyze

Member
Nov 25, 2012
14
7
0
Having seen the /osh/bin/ps output is definetrly an improvement.
As for lack of Xorg it should be there, upper-case letters have more priority, so they should be more close to the begining of the listing.

Anyway looks like the binaries are in the right places.
Try to launch "ubuntu.sh" in the / directory.
Also log-files in the "/data/var/log/" folder can give an insight what's gone wrong.