[TUTORIAL] XFCE4 on Webtop -Straight, Simple Guide for Noobs like Me - Atrix 4G General

Hey Everyone, Good News- I finally figured out how to get XFCE on webtop, and take off Awn Dock. (Er, disable it.) I realize that its been done before and that there is a guide, but the guide I found ( http://forum.xda-developers.com/showthread.php?t=1054213 ) seems to be kind of outdated, and a little unclear. So this is an attempt to help people take their webtop to a whole new level.
To be clear, this is all the work of others, I take no credit, I urge you to hit the thanks button on all the threads I link to. These guys work their butts off. This is simply a guide making it dead simple to do something I know a lot of people want, but isnt exactly super clear. Lets begin.
Remember, guys, it helps if your Rom actually has Webtop. No CM7, no MIUI, No AOSP. Some of the Blur Roms also don't have webtop, but that can be solved by flashing it through these links:
For 2.3.4 Roms http://www.multiupload.com/H4UW3JTL22
For 2.3.5 Roms http://www.multiupload.com/R39VKRPJU5
For 2.3.6 Roms http://www.multiupload.com/3PD53CQRZA
(These are all Fruit Cakes, found here. Go give Sam some love, hit the Thanks button.)
Step 0
Do a Nandroid Backup. Please.
STEP 1
Ok, so first off, youre going to need to run webtop2sd, which can be found here. Run that, follow instructions, and try not to destroy your SD card. (Not that I did. Not that I destroyed 3 of them. No way.) That should take a bit, so be patient. Remember to say thanks to Sogarth, the Webtop Champion.
STEP 2
After that's over and done with, go ahead and start up Webtop, either through a Lapdock or Webtop Hack, it doesn't really matter. I will say that this is kinda pointless to do if you don't have a lapdock, but whatever!
After webtop is started, start the Webtop Configorator (Has the same icon as the Webtop2sd apk). Its going to pop up with some questions, click yes on both of them. Don't panic when it seems like the program freezes, its not frozen, it just takes an unsettlingly long time. Thatll finish up, then will present you with a menu, offering to install LXTerminal, and Synaptic Package Manager. Install both of them, by clicking install. When they finish, close the configorator. Now, this part is weird, open the configorator back up, and make sure that both programs are really installed, by clicking install again, just for good measure. For some reason, Synaptic would say it installed, then not really be installed. So yeah, up to you.
STEP 3
Alright, almost done, but then, not really. As of now, you have all the tools to get XFCE (Or whatever environment you choose, I recommend XFCE4). But right now, dependencies and packages are really really effed up, and its borderline impossible to install anything fun.
So to fix this, go to this thread here. This is a guide to for fixing apt-get dependencies. Show some love to Arvati, hit the thanks button, the guide is really simple, easy to do, and the installer is fully automatic. I recommend following his guide, then coming back here for the rest.
Helpful hint, to save you some thread searching, in the installer, type Yes on all the questions.
STEP 4
Home Stretch! At this point, you're ready to run Synaptic. In LXTerminal, type
Code:
gksu synaptic
We're going to install a couple things here. Well, actually a lot of things, but we're only going to click two things, and the rest will fetch themselves. In the search bar, type in xfce4 (or whatever desktop environment you like). It should be the top of the list, named "xfce4". Click the white box, and hit Mark for Installation. Click Yeah, you want to install the other stuff that comes with it.
After that, search for gedit. (For non linux familiar people, gedit is the linux equivalent of notepad. Its also got some color coding, so you could compare it to Notepad++.) Mark that for installation too, and you're set. Click apply at the top, and wait for that to install.
STEP 5
This final portion follows this guide. Go show your thanks to YellowGTO.
Once that finishes, go back into LXTerminal. Type in
Code:
cd /osh/usr/local/bin/
And after that, type
Code:
sudo gedit start-oshwt-2.sh
Gedit is going to open. Scroll down to where it has some lines that say
Code:
sfalv -i "awm-autostart"
sfalv -i "webtop-wallpaper"
These have to do with the current Window manager. We're not deleting them or removing them, just making them not start when Webtop does.
Put hashes (#) in front of them, so they now look like
Code:
#sfalv -i "awm-autostart"
#sfalv -i "webtop-wallpaper"
After that, add a line at the bottom of the chunk that says
Code:
sfalv -i "startxfce4"
Save and exit.
STEP 6
Go back into LXTerminal and type in
Code:
Startx
. This SHOULD finish it up by restarting webtop, but if it doesnt, pull the phone out and reboot it.
And you're done. This has essentially turned your phone and lapdock into an extremely handy netbook. You can install programs through Synaptic or apt-get. From here, you can play around. I recommend doing another Nandroid backup so that you don't accidentally restore to the one without your fancy new webtop.

Thanks a lot man.
Is it the same for lxde? I would like to try both on webtop.
Sent from my MB860 using Tapatalk

Jack'O said:
Thanks a lot man.
Is it the same for lxde? I would like to try both on webtop.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
Yes, im theory it should work, just type startlxde instead of startxfce. Post results on performance and usability, id like to know if theres anything that works better than xfce for this.

are your tzdata or samba-common packages broken by any chance?
I had both broken doing the standard wedtop2sd install method (stock ROM), was able to work around tzdata but not samba-common

teeth_03 said:
are your tzdata or samba-common packages broken by any chance?
I had both broken doing the standard wedtop2sd install method (stock ROM), was able to work around tzdata but not samba-common
Click to expand...
Click to collapse
Ahh I have no idea, it should've been fixed in the dependency fix script. When do you encounter this error?

http://forum.xda-developers.com/showthread.php?t=1397583

tzdata would give an error when trying to install most packages from synaptic (openoffice.org is one I'm pretty sure), and samba-common throws an error when trying to install it, if you are trying to install a package to access file shares for example. But you can just try to install samba-common itself and it still doesn't install correctly.

Gnome also works!
After many hours of trial and error while following many of the tutorials, I managed to make gnome work to my liking on my webtop. I can even change themes as you can see on the screen captures.
I followed this tutorial made by aaron.a
I renamed the default gtk-2.0 Webtop theme to gtk-2.0-bak which is located on /osh/usr/share/themes/webtop-theme
I then edited the start-oshwt-1.sh file as follows:
# start OSHWT 1 scripts
update-font.sh
sfalv -w "webdaemon -d -n"
gnome-settings-daemon
# sfalv -i "xscreensaver"
sfalv -i "aiw -d"
sfalv -i "docking_manager"
fcitx
I edited the start-oshwt-2.sh file as follows:
# start OSHWT 2 scripts
# sfalv -i "awn-autostart"
# sfalv -i "webtop-panel"
# sfalv -i "webtop-wallpaper"
sfalv -i "gnome-panel"
sfalv -i "evbridge"
sfalv -i "window_switcher"
sr-test avahi_start &

What's the difference between
sfalv -i "startxfce4"
and
sfalv -i "xfce4-session"
I've been using the latter, but the former makes more sense to me. Though I've not been into doing this for very long.

cpuchip said:
What's the difference between
sfalv -i "startxfce4"
and
sfalv -i "xfce4-session"
I've been using the latter, but the former makes more sense to me. Though I've not been into doing this for very long.
Click to expand...
Click to collapse
I have no idea, thats probably something with XFCE itself.

ripin150 said:
I have no idea, thats probably something with XFCE itself.
Click to expand...
Click to collapse
You're right! wrong thread for this kind of question, I just noticed differences. I'll let you know if I discover the difference.

STEP 6
Go back into LXTerminal and type in
Code:
Startx
. This SHOULD finish it up by restarting webtop, but if it doesnt, pull the phone out and reboot it.
Click to expand...
Click to collapse
This step didn't work until I typed in "startx" vs your line of "Startx".

Is it normal for webtop to be finicky? I experience sometimes that webtop loses the top panel or doesn't wake up properly or just become unstable. Does anyone else experience? I mean, it usually works but sometimes, like one in ten times, webtop is wonky and I have to restart my phone.

jamesc760 said:
Is it normal for webtop to be finicky? I experience sometimes that webtop loses the top panel or doesn't wake up properly or just become unstable. Does anyone else experience? I mean, it usually works but sometimes, like one in ten times, webtop is wonky and I have to restart my phone.
Click to expand...
Click to collapse
Yes, I it's normal.... Just like your desktop pc or laptop, sometimes we need to start fresh with a reboot.

wingmanjd said:
This step didn't work until I typed in "startx" vs your line of "Startx".
Click to expand...
Click to collapse
Hey thanks for saying, I wasnt aware it was case sensitive. I guess thats why it was being finicky for me. Webtop as a whole is pretty awkward, Ive just been plugging jokersax's ICS into the lapdock and that works fine. But whatever works, you know?

ripin150 said:
Hey thanks for saying, I wasnt aware it was case sensitive. I guess thats why it was being finicky for me. Webtop as a whole is pretty awkward, Ive just been plugging jokersax's ICS into the lapdock and that works fine. But whatever works, you know?
Click to expand...
Click to collapse
How do you like jokersax's build with the lapdock? I've been holding out on it since I've bought the MM dock and the Lapdock.

Help.... I'm running DarkSide and the 2.3.6 Webtop. I can't run Webtop2sd 2.0.1 - thea pp throws a "process net.toreishi.webtop2sd has stopped unexpectedly" when I try to open it. Any ideas? I haven't been able to find anything!

fjhuerta said:
Help.... I'm running DarkSide and the 2.3.6 Webtop. I can't run Webtop2sd 2.0.1 - thea pp throws a "process net.toreishi.webtop2sd has stopped unexpectedly" when I try to open it. Any ideas? I haven't been able to find anything!
Click to expand...
Click to collapse
Ive gotten that problem, but I dont remember how I fixed it...
I guess just try clearing your cache and dalvik, maybe fix permissions. I may have gone so far as to flash a fruitcake with webtop, but Im not certain. Id read all up on the webtop2sd thread.

fjhuerta said:
Help.... I'm running DarkSide and the 2.3.6 Webtop. I can't run Webtop2sd 2.0.1 - thea pp throws a "process net.toreishi.webtop2sd has stopped unexpectedly" when I try to open it. Any ideas? I haven't been able to find anything!
Click to expand...
Click to collapse
Install busybox by JRummy16 from 'Market' Google Play, install busybox, leave default settings and try again
It seemed to work for me, I'm running NottachTrix 1.29b

princeandy63 said:
Install busybox by JRummy16 from 'Market' Google Play, install busybox, leave default settings and try again
It seemed to work for me, I'm running NottachTrix 1.29b
Click to expand...
Click to collapse
Thanks, you rock. Problem solved!

Related

[Android] AOSP 2.0.1 Proof-of-Concept Build. Assistance appreciated.

Tonight I managed to get my first Android build, 2.0.1, compiled myself from AOSP, up and running on the Vogue from NAND.
I made some small changes, most notably, updating the build.prop to adjust the DPI to 120 and adding the libhtcgeneric_ril.so library, as well as adding the necessary (or.. is it necessary?) build.prop entry to get the radio functioning.
I proudly present my first Android build.
NOTE: This is purely for testing/evaluation purposes.
Working:
Radio
Data
Screen resolution is accurate
Not Working:
Audio
Power Functionality (buttons do not wake the phone?)
GPS
Anyone up for pointing out what I need to do differently to get the non-working aspects functioning? Any tips on optimization? Clues to setup and take full advantage of build.prop?
Additionally, do we have a central repository of Vogue (or MSM7k) drivers that've been ported as source, ready to be compiled for different versions?
There's probably a lot missing here that I'm not even considering.. so please feel free to make any comments, give any advice, or point me towards any documentation.
All help is appreciated. Thanks!
I think this is the repo you're looking for:
http://androidhtc.git.sourceforge.net/git/gitweb-index.cgi
It contains Audio & GPS drivers, among other things. Can you wake the phone over adb shell with the command echo "wake" > /sys/android_power/request_state ? I'm also interested in getting an AOSP build running from source, I'd like to get the camera working for Eclair.
EDIT: Also, in the zenulator's eclair mod, the /system/etc/keychars directory contains these files:
Code:
htcvogue-ts.kcm.bin
qwerty2.kcm.bin
qwerty.kcm.bin
sapphire-keypad.kcm.bin
trout-keypad.kcm.bin
trout-keypad-qwertz.kcm.bin
trout-keypad-v2.kcm.bin
trout-keypad-v3.kcm.bin
tuttle2.kcm.bin
vogue-ts.kcm.bin
Perhaps that vogue binary is needed? That's my shot in the dark.
Those files are just for the keymapping, nothing more..
polyrhythmic said:
I think this is the repo you're looking for:
http://androidhtc.git.sourceforge.net/git/gitweb-index.cgi
It contains Audio & GPS drivers, among other things. Can you wake the phone over adb shell with the command echo "wake" > /sys/android_power/request_state ? I'm also interested in getting an AOSP build running from source, I'd like to get the camera working for Eclair.
EDIT: Also, in the zenulator's eclair mod, the /system/etc/keychars directory contains these files:
Code:
htcvogue-ts.kcm.bin
qwerty2.kcm.bin
qwerty.kcm.bin
sapphire-keypad.kcm.bin
trout-keypad.kcm.bin
trout-keypad-qwertz.kcm.bin
trout-keypad-v2.kcm.bin
trout-keypad-v3.kcm.bin
tuttle2.kcm.bin
vogue-ts.kcm.bin
Perhaps that vogue binary is needed? That's my shot in the dark.
Click to expand...
Click to collapse
What's responsible (or handles) power management, then?
And why are there so many keymapping files? According to AOSP, Android will default to qwerty.kl, and certainly with the Vogue being as simple as it is, a single qwerty.kl set up for the Vogue would be sufficient.
So what gives? Or are these files all leftover as this was "ported", and they existed to support previous devices, etc.?
first off great job. this is exactly how i started out by building my own builds from source and then taking apart others to see what fits together. if i have time this weeked i'll have a look at it.
There are an awful lot of moving parts in power management in Android (and any OS, really) - there's the kernel's power subsystem which controls deep sleep / suspend, and which Android attaches a "wakelock" system to, each radio lib (Bluetooth, WiFi, phone) has power management (which hooks up to kernel interfaces), there's the panel driver which controls brightness, etc.
I think the keymapping files are just there so that no matter which one the framework looks for, it always finds one, speeding things up - rather than having to try to find each one and failing down until it finds its eventual failsafe qwerty, it loads the Vogue one straight away.
Awesome man, way to go!
Can you throw in links for rootfs/zimage, I will try later today on my wife's phone.
Thanks sshark, I would, but I've been tweaking that image continuously and at it's current state, it's broken.
Here are the major hurdles I'm facing right now:
How do I determine which drivers are and are not necessary in a build? If we use an AOSP build, or someone else's port, obviously we don't want audio drivers from the Nexus One or generic Goldfish sensors from AOSP, so how can we know what we need to be able to keep images clean?
Along the same vein, how does one incorporate drivers accordingly, such as audio?
Is power management really a dark art right now? Plemen's AOSP build is fantastic, but I typically have to push the power button four times to get the OS to wake up, whereas a 2.1 build I just played with on the Vogue would power up right away on one click. What gives?
When compiling images using genext2fs, does 80000 vs 160000 matter, NAND vs HaRET booting? What's the maximum?
Lastly, I've recently tried unsquashing others images, making changes, and then trying to re-ext2 them, mount them, and squash them. However, when I do this, my images no longer boot fully on my Vogue--instead they'll get as far as the boot animation, it'll run for a bit, and then the boot animation will pause for a second or two, and restart. This happens endlessly. Is this a problem with my process, be it ext2, sqsh (sqsh version, perhaps?) anyone have an idea?
Shidell said:
Thanks sshark, I would, but I've been tweaking that image continuously and at it's current state, it's broken.
Here are the major hurdles I'm facing right now:
How do I determine which drivers are and are not necessary in a build? If we use an AOSP build, or someone else's port, obviously we don't want audio drivers from the Nexus One or generic Goldfish sensors from AOSP, so how can we know what we need to be able to keep images clean?
Along the same vein, how does one incorporate drivers accordingly, such as audio?
Is power management really a dark art right now? Plemen's AOSP build is fantastic, but I typically have to push the power button four times to get the OS to wake up, whereas a 2.1 build I just played with on the Vogue would power up right away on one click. What gives?
When compiling images using genext2fs, does 80000 vs 160000 matter, NAND vs HaRET booting? What's the maximum?
Lastly, I've recently tried unsquashing others images, making changes, and then trying to re-ext2 them, mount them, and squash them. However, when I do this, my images no longer boot fully on my Vogue--instead they'll get as far as the boot animation, it'll run for a bit, and then the boot animation will pause for a second or two, and restart. This happens endlessly. Is this a problem with my process, be it ext2, sqsh (sqsh version, perhaps?) anyone have an idea?
Click to expand...
Click to collapse
i cant answer all of those questions, with that said ill tackle the last two
4. when using genext2fs to compile builds it doesnt matter what the -b count is we just use
Code:
genext2fs -d ./system -b [B]180000[/B] -a system.ext2
to make sure we could fit a ~180 mb system so if your system folder is ~120mb(uncompressed), using -b 125000 should work.
5. make sure you arent using squashfs-tools 4.0 because it isnt supported in our kernel version. so use 3.3 or 3.1 .
5b. when you see the boot logo looping, that means the build has crashed and like i said to you before i strongly recommend you setup adb on you box so you can run logcat to see what the phone is actually doing and to debug what went wrong and why it is looping
Thanks Jamezelle. So NAND users need to make sure it's -b 90000 (or less), as NAND only supports 90 mb. max, correct?
Shidell said:
Thanks Jamezelle. So NAND users need to make sure it's -b 90000 (or less), as NAND only supports 90 mb. max, correct?
Click to expand...
Click to collapse
right i would keep it around 88 to be safe.
I'm trying to get ADB to work (using ubuntu 9.10) and I've followed the instructions here, including restarting udev, but even still when I try to start adb, I get "command not found" in terminal.
Any ideas on what I'm missing?
EDIT: I'm missing a ./. I'm really starting to wish I could do this natively in Windows.. geeze.
Shidell said:
I'm trying to get ADB to work (using ubuntu 9.10) and I've followed the instructions here, including restarting udev, but even still when I try to start adb, I get "command not found" in terminal.
Any ideas on what I'm missing?
EDIT: I'm missing a ./. I'm really starting to wish I could do this natively in Windows.. geeze.
Click to expand...
Click to collapse
did you make sure you added the path to adb in .bashrc
# On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ directory to it. If you don't see a line setting the path, you can add one:
Code:
export PATH=${PATH}:<your_sdk_dir>/tools
Click to expand...
Click to collapse
that should clear up the "Command not found" issue
jamezelle said:
did you make sure you added the path to adb in .bashrc
that should clear up the "Command not found" issue
Click to expand...
Click to collapse
Yep, that was the issue. It needs to be there, or launched as ./, I presume.
Thanks much for your help tonight, Jamezelle.. I'm happy to report that I'm steadily making progress for a working release.
Shidell said:
Yep, that was the issue. It needs to be there, or launched as ./, I presume.
Thanks much for your help tonight, Jamezelle.. I'm happy to report that I'm steadily making progress for a working release.
Click to expand...
Click to collapse
thats great to hear, also thanks for your additions to the libgps.so! its nice to still see some android enthusiasm in this community

[Q] Debian on Lg gt540

I've seen on the internet taht some people run debian on android, now i was trying it but it doesn't work.
does annybody knews how it work on the lg gt 540
I've tried it a whole day but i made only a little progress.
I've tried linux installer to but i dont full understan that application
Maybe this works
http://www.talkandroid.com/android-forums/android-development/1091-install-debian-android.html
Joost
same problems here. when i want to chroot (chroot 4755 *) then it says:Operation not premitted! :S
can't understand...what he wants....iv'e gived him superuser right and so ...:S
and even. when i type sh ./installer.sh .....it does nothing...
but somebodey who have done this , please write to me....wanna get this workin too..
cheers. hani93
EDIT. nevermind...gooled bit. and founded this link and it worked.: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
And how do you like it? Ubuntu instead of android on your phone?
Could somebody tell us the pros and cons?
thanks in advance
hani93 said:
same problems here. when i want to chroot (chroot 4755 *) then it says:Operation not premitted! :S
can't understand...what he wants....iv'e gived him superuser right and so ...:S
and even. when i type sh ./installer.sh .....it does nothing...
but somebodey who have done this , please write to me....wanna get this workin too..
cheers. hani93
EDIT. nevermind...gooled bit. and founded this link and it worked.: http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Click to expand...
Click to collapse
it doesn't work for me..
jaapstreepjan said:
And how do you like it? Ubuntu instead of android on your phone?
Could somebody tell us the pros and cons?
thanks in advance
Click to expand...
Click to collapse
android is still on my phone....ubuntu is after android.(you can start ubuntu from terminal)
i've wanted this..because, then i can use linux commands aso.
cheers
sam48 said:
it doesn't work for me..
Click to expand...
Click to collapse
what's the error that he showing to you `?
you can try this method too..http://forum.xda-developers.com/showthread.php?t=723493
i've used loop7 and it works...
how much time takes to install tightvncserver???
Any other links for ubuntu.zip on a faster fileshare service than the one's in the www.androlinux.com guide?
It says 2 hours to download :O
I'll rehost it myself when it eventually finishes but if anyone has another link before then then please post it.
sam48 said:
it doesn't work for me..
Click to expand...
Click to collapse
works for me, now I connect via TightVNC from Windows 7 and see greay screen with "X" as mouse pointer.. Also I'm connected via SSH with PuTTY.. I don't know much about Linux but I typed startx and it does something, I hope it will show desktop
Edit:
It says "Fatal server error: no screens found".. What should I do??
Edit2:
got it typed "gnome-session &" (I love you google ) and it seems to load gnome (at this time only Background Image).. Crossing fingers
Edit3:
Now grey bars at top and bottom, maybe it hangs, but hopefully it just starts slowly..
Edit4:
should it take so long??
Edit5:
yep it takes that long, desktop is build very slowly but this is still some crazy ass **** btw. enough edits for now
My desktop was created in few seconds. But I was working with some old and modified Ubuntu version.
I was working with this instructions: http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ on 2.2 android version.
I hope this would help you (sorry because my bad English).
__http__://4pda.ru/forum/index.php?showtopic=192009 -- instructions on russian
I ve` tried linux installer recently and it worked. I installed debian, in my oppinion this is the easiest way, you just choose which distribution, size of the loop.img and where to install and that is it.
Danzano made also a tut:
http://forum.xda-developers.com/showthread.php?t=1171093

[HOWTO] Remove Samsung Apps

Lists of apps which may be removed safely have been provided elsewhere on this forum, I have taken a list from the AngeloM thread and created a script which may be run each time a new rom is installed to remove all Samsung apps.
Pre-requisite: You need to be rooted!
1 - Install script manager which is free from the market (https://market.android.com/details?id=os.tools.scriptmanager)
2 - Copy the attached script file to your sd card. You may edit it to add/remove apps as required.
3 - Start script manager, point it to my script file and tick to box to run as root.
4 - Run
That's it.
Thanks mate!
But your script had some problems to quit running
Edit:
Found a typo: rm /system/app/SamsungWidget_. ews.apk -f
And probably a remount ro and some status-echos would be neat
My unix scripting skills are pretty poor ;-(
I've fixed the typo and re-loaded.
Well, I'm currently at work
Maybe I'll put up a better script, when I find the time this weekend
Would be easier, to make a list of the apk's and then go through every element with a for-loop.
But as this is a quite simple script, it's not that necessary to make a beauty out if it...
Ah, by the way, the script didn't finish here. ATM I don't really know why. Will go through it, when I find the time
Thanks for the nice list of removable Software
Hey guys
i'm just taking a simple adb script to do this job...
something like this works great for me!
regards
fluxx
That should do the job as well. More than one way of skinning a cat
Just makes it easier than having to do it manually (especially after loading new rom).
aerofluxx said:
Hey guys
i'm just taking a simple adb script to do this job...
something like this works great for me!
regards
fluxx
Click to expand...
Click to collapse
/signed ;-)
Sent from my GT-I9100 using XDA App
aerofluxx said:
Hey guys
i'm just taking a simple adb script to do this job...
something like this works great for me!
regards
fluxx
Click to expand...
Click to collapse
how to run this adb script ?
aerofluxx said:
Hey guys
i'm just taking a simple adb script to do this job...
something like this works great for me!
regards
fluxx
Click to expand...
Click to collapse
if i try to run this I get remount failed: operation not permitted.
any idea? (I`m kinda noob..)
Thanks. I am waiting for the full script.
So does this list containt everything not in this list: http://forum.xda-developers.com/showpost.php?p=14304454&postcount=2?
Running it right now, will let you know how it goes. Great work
Edit: Any idea how long this should take? The script sill says running after 5 minutes..
Hey guys
i try do made an windows tool for ya so you can just one click the whole thing...
regards fluxx
Sent from my GT-I9100 using XDA App
sarsh11 said:
So does this list containt everything not in this list: http://forum.xda-developers.com/showpost.php?p=14304454&postcount=2?
Running it right now, will let you know how it goes. Great work
Edit: Any idea how long this should take? The script sill says running after 5 minutes..
Click to expand...
Click to collapse
the script seems doesn't work if it stay that long.
Use this. http://forum.xda-developers.com/showthread.php?t=1108479
just copy the contents, remove the first line, select all and copy. download android terminal emulator, paste it. and reboot.
EDIT : WOAAA, it's seems i cant' access enable/disable fastdormancy anymore.
This script in first Post is not working.
Its running and running and nothing happens
Any chance to fix that?
How will I be able to update the camera firmware once the Samsung Apps is removed?
raphy972 said:
How will I be able to update the camera firmware once the Samsung Apps is removed?
Click to expand...
Click to collapse
Good point and good question...
Btw one more question,
If I'll just freeze those apps the OP listed using Titanium Backup, is that means that Titanium backup will start running in the background in order to block those apps ?
If so i'd better just remove them ?
Thx.
Script manager just get stuck.. Doesn't run the script..

2ndInit_Installer

Found by laidaxin , from w.w.w.591fan.c.o.m
for us that are noobs, what exactly is this?
dingding2012 said:
Found by laidaxin , from w.w.w.591fan.c.o.m
Click to expand...
Click to collapse
Doesn't work for me.
Sent from my MB860 using XDA App
thebluetoothkid said:
for us that are noobs, what exactly is this?
Click to expand...
Click to collapse
Its supposed to be a working recovery for flipside. I can't get it to work however.
Sent from my MB860 using XDA App
I tried and it was a working recovery for my 508.
I installed it.
when reboot, I continued clicking the volumn down button, and the entered.
Sorry for my poor English.
dingding2012 said:
I tried and it was a working recovery for my 508.
I installed it.
when reboot, I continued clicking the volumn down button, and the entered.
Sorry for my poor English.
Click to expand...
Click to collapse
I am able to do all that also, but can't backup and can't install anything. I get error can't mount data/recovery and aborts.
ok... so i'm trying for the 100th time to install this silly thing... and for some reason... when i try to run it... it kicks me out...
i'm not sure what i'm doing wrong...
when i attempt to pause the install process... i get a screen full of if i type adb without an argument...
if someone could gimme a hand with this or tell me what the hell i am doing wrong... i'd appreciate it...
i wanna try to get laidaxin's cm7.2 working on my phone...
i dunno if it matters... but i am attempting to install from a windows xp machine...
Hello!
First, Thanks to all people around this work, specially Laidaxin for good work.
Well, sadly... I also still stuck on install the FlipSide recovery option of the first post... I did all te proccess by eleven times, testing different details that may be not clear for me (as run as administrator, with abd CMD screen closed and opened, if the version of adb never shows me the logs that appears in cmd screenshot... several times I got on the FlipSide the screens talking about su and later 2ndinit script got superuser permissions... but the screens of cmd generated by the script are so fast that was not able to read or check if the 2ndinit script was succesfull or if there something else that may be failing/missed... so by now still no luck)
as a resume, in hope that may help to test from new friends around here:
1) I reflashed my FlipSide to stock with sbf from the other thread tutorial (I use sbfflash in linux and everything works fine, using Power+UParrow in keyboard to enter in bootloader mode my Flipside)... and then I insert my SIM and SD card wiped with only the CM7-Laidaxin.zip file on it, ...complete setup as minimal possible in order to be able to set USB mode to memory access, and turn on usb development in applications menu.
2) Then I ROOT with SuperOneClick version 2.1.1!!! and connect my phone in normal use screen home (NOT bootloader mode!) with UBS debugging turn on and with USB mode set to memory card access (NOT Moto Portal No Media access...), the other methos with Z4root and newer versions of SuperOneClick FAILS for me...
3) I then try to install recovery with Laidaxin installer and procedure, but as I said after some attemps I still not success in get the recovery working, also try diferent ways... removing battery then reboot with VolumeDown pressed, Turn off normal and repeat, turning ON AND AFTER see the Red Moto press the VolDown key short time, later maintained it long, then pressing it several times, etc...
So, I made this resume in order to share info from my side and hope to save some time to other friends that may want to test the CM7 from Laidaxin, than in fact seems like a GREAT work for our Flips... so please if any help to get this fully working and tested will be very gratefull...
Best regards!
Ok... since I still can't get the automated installer working... I would really appreciate if someone could direct me to the forum/website that that installer came from... I would love to try to push it myself... but I'd have to do some reading...
Sent from my MB508 using Tapatalk
rignfool said:
Ok... since I still can't get the automated installer working... I would really appreciate if someone could direct me to the forum/website that that installer came from... I would love to try to push it myself... but I'd have to do some reading...
Sent from my MB508 using Tapatalk
Click to expand...
Click to collapse
Hi!
Ok, I am not totally sure, but I suspect that this is the original link of this recovery, however, just now I need to go to my work, so, I do not have chance right now to check it, but hope may be usefull.
http://forum.xda-developers.com/showthread.php?t=944543
Best regards!
You should be able to install it like this:
- Extract everything in the "data" folder into a folder called "bootmenu" on your sdcard
- Then use either "adb shell" from a command prompt, or Terminal Emulator on the phone should work:
Code:
su
cp -R /sdcard/bootmenu /data/bootmenu
cd /data/bootmenu
chmod 0755 *
./install.sh
And it should say "Install complate...."
You can also remove the folder(s) if you want:
Code:
rm -R /data/bootmenu
rm -R /sdcard/bootmenu
Then to get into it, reboot the phone and once the notification light turns on, hit volume down
You my friend.... are the ****ing man...
FYI
Use the touchpad to select
Sent from my MB508 using Tapatalk
One thing doesn't work though... it can't unmount system... so I was unable to do a nandroid restore... rather depressing....
Sent from my MB508 using Tapatalk
rignfool said:
One thing doesn't work though... it can't unmount system... so I was unable to do a nandroid restore... rather depressing....
Sent from my MB508 using Tapatalk
Click to expand...
Click to collapse
I ran into the same problem but mine also stopped me from installing any other rom to test, run, or otherwise. I'm at a standstill in terms of helping test.
rignfool said:
One thing doesn't work though... it can't unmount system... so I was unable to do a nandroid restore... rather depressing....
Sent from my MB508 using Tapatalk
Click to expand...
Click to collapse
laidaxin's rom replaces this recovery with one that doesn't quite work perfectly yet...
You should be able to boot back into CM7 and re-run the above commands and it'll work again
That doesn't change anything for me... it still won't unmount system...
I think if I read the output from the script install...
Our recovery installs to system... since Motorola doesn't love us
Sent from my MB508 using Tapatalk
Maybe try "rm -R /system/bootmenu" then install it...
rignfool said:
That doesn't change anything for me... it still won't unmount system...
I think if I read the output from the script install...
Our recovery installs to system... since Motorola doesn't love us
Sent from my MB508 using Tapatalk
Click to expand...
Click to collapse
It does the same for me, which is what's keeping me from trying CM7, as I have no way to restore my current nandroid. The defy installs their recovery to /system as well and I gather that it works as intended, I wonder if it's that we need our own build of CWM. Do we know if whoever built CWM for the defy has their source tweaks available?
Unless you have something irreplacable in your /system or /data... I would just have RSD lite and an sbf ready... and take the plunge...
Because....
When you use CM7... apps2sd moves not only the apk... but also the lib files to the sd card...
As long as you switch the 'network operator' to GSM only (in wireless and networks)... laidaxin's kang runs beautifully... much much faster than stock
Sent from my Filpside using Tapatalk
Link2SD has no problem moving the lib files in our stock rom... I'm no stranger to reflashing with RSD Lite, it's just tedious to get everything set back up JUST right, and this is exactly the kind of thing nandroid is great for.

[Support Thread] ArchLinux on the TF300T(G)

Hi everyone,
If you have any questions relating to Arch on the TF300, please post them here and not in the dev thread
I'll do my best (as well as others, I'm sure) to answer them, but bear in mind that you should have some basic Linux knowledge before flashing!
this is awesome!
cb22 said:
Hi everyone,
If you have any questions relating to Arch on the TF300, please post them here and not in the dev thread
I'll do my best (as well as others, I'm sure) to answer them, but bear in mind that you should have some basic Linux knowledge before flashing!
Click to expand...
Click to collapse
I can't thank you enough for this, it's been fantastic so far! I only have a few questions, as I am extremely new to arch linux...as in this is the first time I've used anything aside from debian in the linux world.
To start, how would we go about changing DE's? I've downloaded a couple, but i get errors every time i try to start one saying that another window manager is already running. With ubuntu one just logged out and chose from the log in screen, but there doesn't appear to be a log out process for this, i get a black screen every time i do. Other than that, are there any general programs/settings/tweaks that you would suggest applying? While this is very nice, it still seems to be missing some basic functions, such as putting the screen to sleep and having a set system time.
Despite all of that, this has breathed new life into my tablet, you're doing fantastic work and I hope you only continue to make it more amazing!
fankuan19 said:
To start, how would we go about changing DE's? I've downloaded a couple, but i get errors every time i try to start one saying that another window manager is already running. With ubuntu one just logged out and chose from the log in screen, but there doesn't appear to be a log out process for this, i get a black screen every time i do. Other than that, are there any general programs/settings/tweaks that you would suggest applying? While this is very nice, it still seems to be missing some basic functions, such as putting the screen to sleep and having a set system time.
Click to expand...
Click to collapse
Take a look at the .xinitrc file in the home directory. It's a hidden file so you may need to "show hidden" or give an editor the full path (/home/user/.xinitrc)
The file runs the following by default:
Code:
exec startxfce4 --with-ck-launch
You can change everything after `exec` to the script for a different DE, such as `startkde`. If you don't know the command, there should be a list of session templates in /usr/share/xsessions/. Inside each .desktop file there's an "Exec=" line, everything after that is the command to sub in.
My crappy bash skills threw together a quick command to get a list of installed xsessions:
Code:
grep "Exec=" /usr/share/xsessions/*.desktop | sed -E 's/^Exec=(.+)$/\1/'
The output on the default rootfs will just be "startxfce4". If you have KDE another line should output "startkde", and so on. Put the command in your .xinitrc (making sure to replace the current one) and then reboot as there's no proper way to log out.
whoops
timothyb89 said:
Take a look at the .xinitrc file in the home directory. It's a hidden file so you may need to "show hidden" or give an editor the full path (/home/user/.xinitrc)
The file runs the following by default:
Code:
exec startxfce4 --with-ck-launch
You can change everything after `exec` to the script for a different DE, such as `startkde`. If you don't know the command, there should be a list of session templates in /usr/share/xsessions/. Inside each .desktop file there's an "Exec=" line, everything after that is the command to sub in.
My crappy bash skills threw together a quick command to get a list of installed xsessions:
Code:
grep "Exec=" /usr/share/xsessions/*.desktop | sed -E 's/^Exec=(.+)$/\1/'
The output on the default rootfs will just be "startxfce4". If you have KDE another line should output "startkde", and so on. Put the command in your .xinitrc (making sure to replace the current one) and then reboot as there's no proper way to log out.
Click to expand...
Click to collapse
First of all, thanks for the help! Unfortunately, I appear to have done something incorrectly, as the Linux partition will no longer boot. That code didn't return anything but a ">", although as I type this i realize I may have needed to be root...haha, regardless, I tried to edit the .xinitrc file with "exec /bin/usr/startlxde", which is what was after "exec=" in the xsessions directory, nothing happened after waiting quite a while after boot.
I suppose I'll have to reflash the entire partition, considering i can't access the filesystems to change it back. Ah, the wonders of linux!
Sorry if I repeat my question,but how can i activate the keyboard without using a pc with linux ?
fankuan19 said:
First of all, thanks for the help! Unfortunately, I appear to have done something incorrectly, as the Linux partition will no longer boot. That code didn't return anything but a ">", although as I type this i realize I may have needed to be root...haha, regardless, I tried to edit the .xinitrc file with "exec /bin/usr/startlxde", which is what was after "exec=" in the xsessions directory, nothing happened after waiting quite a while after boot.
I suppose I'll have to reflash the entire partition, considering i can't access the filesystems to change it back. Ah, the wonders of linux!
Click to expand...
Click to collapse
You should be able to gain access easily via Recovery. Just adb shell in, mount /dev/mmcblk0p8 /mnt and look in /mnt/linux - that's your root file system...
Razorbacktrack5535 said:
Sorry if I repeat my question,but how can i activate the keyboard without using a pc with linux ?
Click to expand...
Click to collapse
Without using a PC... Hmm, that could be tricky. If you're in Android, and you add this line to the top of /data/linux/home/user/.xinitrc
Code:
maliit-server &
(before the exec line)
It should give you the virtual keyboard when you restart into Linux.
cb22 said:
You should be able to gain access easily via Recovery. Just adb shell in, mount /dev/mmcblk0p8 /mnt and look in /mnt/linux - that's your root file system...
Click to expand...
Click to collapse
I was actually able to just use the terminal emulator in android to navigate back to the .xinitrc file, turns out i wasn't supposed to leave the "--with-yadda-yadda" bit, so i got lxde working...and as it turns out, i don't like it nearly as much as the DE you included, so i'll be switching back to that!
First off: thank you SO much for your hard work at this! My tab has never browsed the web this well. It's better than the desktop I'm sitting next to. Arch is amazing!
Just a few questions. Do we have basic tab controls yet? I'm looking for, specifically:
Brightness Control
Enable/Disable Touchpad
Volume Control
Sleep/Suspend/Hibernate
Especially that last one! As far as I can tell, if I'm not going to use the tab for more than a couple minutes, it's apparently best to shut it down or reboot back into Android so it can "sleep". Or plug it in. I know we're rough around the edges yet, but is this stuff in, or no?
koiulpoi said:
First off: thank you SO much for your hard work at this! My tab has never browsed the web this well. It's better than the desktop I'm sitting next to. Arch is amazing!
Just a few questions. Do we have basic tab controls yet? I'm looking for, specifically:
Brightness Control
Enable/Disable Touchpad
Volume Control
Sleep/Suspend/Hibernate
Especially that last one! As far as I can tell, if I'm not going to use the tab for more than a couple minutes, it's apparently best to shut it down or reboot back into Android so it can "sleep". Or plug it in. I know we're rough around the edges yet, but is this stuff in, or no?
Click to expand...
Click to collapse
I don't think sleep/suspend/hibernate is implemented at all quite yet. The backlight seems to turn off completely when the screen times out though so you can fake having a low power mode, though obviously true sleep would be nice.
As for volume control, use pavucontrol. You may need to install it with `pacman -S pavucontrol`.
For brightness ... there's no good way to do this as far as I can tell. XFCE has a brightness control applet you can add to the bottom panel but it doesn't seem to work, and most of the usual packages (e.g. xbacklight, etc) don't detect the backlight device. Oddly enough I gave e17 a try and its builtin brightness applet worked fine, I wonder what they do differently ...
At any rate you can control it manually: the file /sys/class/backlight/pwm-backlight/brightness has a 0-255 value which controls the screen brightness. Note that you need to run the echo command as root
Code:
# echo "1" > /sys/class/backlight/pwm-backlight/brightness # minimum brightness
# echo "255" > /sys/class/backlight/pwm-backlight/brightness # maximum brightness
# echo "0" > /sys/class/backlight/pwm-backlight/brightness # completely turns off backlight. use with care
Setting it to zero makes it next to impossible to see the screen. I ended up having to ssh into the device (or reboot) to get it back.
I modified the file through a PC and It works ! Thanks, no problems with wifi
Sleep / Suspend isn't implemented yet.
But, I did a bit of testing, and the TF should last for about ~40 hours with the screen off, and the processor in the Low Power mode (which it does automatically. Obviously, it's still wasteful compared to proper suspend, but it's not too bad.
Really liking this so far, other than managing to break wifi once, which I fixed by doing a quick re(install I guess is the proper term). Any chance of a future release having SLiM or something setup out of the box(I'd do it but looking at some of the guides, we are missing some files(?) :s) either that or is there a way to autologin a new user other than the default one named user?
(edit for more info) I've tried following a guide I found on the arch wiki which had me modify [email protected], but it didn't boot so I had to edit it back to the default.
Thanks for all your work cb22, and thanks for taking my advice and switching file hosts
This may be a dumb question
But I can't for the life of me find out how to flash the hybridkernel.blob, I've already done every other thing, but i'm lost as to what to do there. Can I get a bit of guidance please?
:Nevermind: Silly me forgot to go to fastboot, I was trying to do it with adb, for any others though, reboot to fastboot on your tf300t and then run go to the location of fastboot on your pc and hold shift and right click and select open comand line here. Then move the hybridkernel.blob to the same location as the fastboot and run fastboot -i 0x0B05 flash staging blob
Shingaling said:
But I can't for the life of me find out how to flash the hybridkernel.blob, I've already done every other thing, but i'm lost as to what to do there. Can I get a bit of guidance please?
:Nevermind: Silly me forgot to go to fastboot, I was trying to do it with adb, for any others though, reboot to fastboot on your tf300t and then run go to the location of fastboot on your pc and hold shift and right click and select open comand line here. Then move the hybridkernel.blob to the same location as the fastboot and run fastboot -i 0x0B05 flash staging blob
Click to expand...
Click to collapse
Disregard, didn't see the edit until after you posted essentially the same thing I did.
So, does Adobe Flash support work at all in Chromium? I haven't gotten it to recognize the plugin at all. Any way to get this working, or is it just gonna keep bugging me to install it?
koiulpoi said:
So, does Adobe Flash support work at all in Chromium? I haven't gotten it to recognize the plugin at all. Any way to get this working, or is it just gonna keep bugging me to install it?
Click to expand...
Click to collapse
I don't think it works at all, I've tried every permutation sudo pacman -S flash-plugin that I could think of and I've gotten notwhere.
They is no flash for ARM for pure Linux.
Wysyłane z mojego ASUS Transformer Pad TF300T za pomocą Tapatalk 2
Itege said:
Any chance of a future release having SLiM or something setup out of the box(I'd do it but looking at some of the guides, we are missing some files(?) :s) either that or is there a way to autologin a new user other than the default one named user?
(edit for more info) I've tried following a guide I found on the arch wiki which had me modify [email protected], but it didn't boot so I had to edit it back to the default.
Click to expand...
Click to collapse
In theory you should be able to install a proper display manager without too many issues:
Code:
# pacman -S lightdm lightdm-gtk-greeter
# systemctl enable lightdm
...though when I tried this the DM would never actually be run. I was able to run it manually over SSH without issues (both lightdm and slim worked, more or less). I'm in the process of investigating why it isn't run at startup like it should be, whatever the issue is doesn't seem to be related to the display manager itself.
I have an issue with wifi.
1: The WLAN do not find any Network with Channel 12 or 13.. I think I must change the region in germany, but where?
2. The WLAN do not connect, they search for an network adress and after 30seconds they ask for wlan key again.. the key is correct and my router shows the connection.. but archlinux means the key is wrong.. testet with router und smartphone wlan hotspot..
3. 3G not connecting, i have create a profile for BASE Germany, but they do not connect.
UPDATE:
for 2: Sometimes they connect and I can surf. But the ping are more then 600ms.. After few seconds the connection lost, sometimes they connect again, sometimes say ask for wlan key again.
Maybe you can help me. Sorry for my bad english.
Yours Sincelery
Robert
Could any of you guys find out if you have a process running in "interruptible" state named "kinteractive_lo"?
You can check that using "top" in CLI or installing gnome-system-monitor. I guess the standard xfce task manager works as well.
It's driving me nuts and I believe is one of the reasons why I have to hard-reboot my tablet, since invoking reboot with --force works perfectly.
Thanks in advance!

Categories

Resources