[MOD] Basic HDMI mirroring - Atrix 4G Android Development

I played a little bit with the scripts starting the X server used for the webtop. That X server is what prevents the HDMI mirroring (which is there out of the box) from working.
Wrapping it all up in some (rather quick & dirty) app - and there we go: HDMI mirroring.
Disclaimer
If you choose to perform this installation, I cannot be held responsible if you brick your device, damage it otherwise, blowup your monitor or create SkyNet.
Install perquisites
Your phone is rooted
You have ADB installed and know how to use it
You are aware that this is rather a hack than a polished product
You have read the disclaimer
How to install
All the manual script work is now unnecessary. Just install the APK, the app will do the rest.
Edit the /system/build.prop file and set ro.hdmi.mirror.enable to true
Code:
su
mount -o remount,rw /dev/block/mmcblk0p12 /system
sed -ie s/ro.hdmi.mirror.enable=false/ro.hdmi.mirror.enable=true/g /system/build.prop
mount -o remount,ro /dev/block/mmcblk0p12 /system
Modify /etc/init.d/startXServer.sh to introduce some sort of a semaphore:
Code:
su
cd /etc/init.d
cp startXServer.sh startXServer.bak
(head -n 40 startXServer.bak; echo "if [ ! -e /var/run/noWebtop ]; then"; tail -n 12 startXServer.bak; echo "fi") > startXServer.sh
Install hdmimirroring.apk
Code:
adb install hdmimirroring.apk
Known Issues
While HDMI mirroring is enabled, starting webtop will freeze your screen (pull out HDMI cable to get a working screen again)
Once HDMI mirroring was enabled, webtop might not start smoothly anymore
Enabling HDMI mirroring might break your webtop session (The X server is killed in the process, thus all applications depending on the X display are likely to be killed as well. Let alone those started by xinit)
Auto rotation does not rotate the HDMI image (always in portrait mode)
Can't manually select the resolution or other parameters
Update/Edit
I reupploaded the app which no does all the setup on its own - so the procedure above is no unnecessary
All my digging (deep) in the guts of what runs on the Atrix suggests that there is no easy way of getting rotation to work. Someone might have to write a deamon which grabs the framebuffer image and draws it on the HDMI port (as GLES client). That's pretty much what they did on the Evo (someone correct me if I'm wrong). But not only is that a painful task, but also is the performance going to be rather bad (esp. compared to how good it is out of the box)

Can you PLZ get landscape working. This single handedly has made me buy the atrix! Please get landscape working. I Love android Devs. YAY OPEN SOURCE!

wow very nice, thanks weichel!
horizontal mode is def the next step!

great work

whats the point of mirroring..?
if u wanna watch vids/ pics u can use the multimedia via HDMI out anyways
enlighten me

SS2006 said:
whats the point of mirroring..?
if u wanna watch vids/ pics u can use the multimedia via HDMI out anyways
enlighten me
Click to expand...
Click to collapse
Playing games on the big screen is one thing. Some of the struggles I went through were whenever I go on the webtop mode is that it's hard for me to use it as a mirror when the touchscreen gets turned into a mouse (not everyone has a bluetooth mouse). Some people might not like that and want straight up mirroring, like how the Optimus 2X does it.

You might wanna check out ExtDispService. It relates to HDMI.

SS2006 said:
whats the point of mirroring..?
if u wanna watch vids/ pics u can use the multimedia via HDMI out anyways
enlighten me
Click to expand...
Click to collapse
mirroring is so much better than motorola's crappy entertainment app. For one, its not limited to filetypes. You can use rockplayer to play x264s among others.
Secondly, as mentioned before, games. Especially emulation... Playing fullscreen via the webtop did not work well for 2 reasons. Native android games would require you to use the touchscreen, impossible with the webtop. Secondly, there would be a lot of framerate drops in the webtop environment, while there isn't any noticeable drop during mirroring.

Techcruncher said:
Can you PLZ get landscape working. This single handedly has made me buy the atrix! Please get landscape working. I Love android Devs. YAY OPEN SOURCE!
Click to expand...
Click to collapse
The 2nd pic looks like it's working. Please advise!

rozzco said:
The 2nd pic looks like it's working. Please advise!
Click to expand...
Click to collapse
no, thats still portrait mode, even if he were to flip the phone, it would stay in portrait mode

I'm going to try to make a script (one that can be run from the phone) to swap the stock buildprop file with the modified one to make it easier and work well with the webtop. Will post later tonight if I'm successful.

can't wait to try this when i get my atrix. =)

any news on horizontal mirroring?

Unfortunately I don't have access to an HDMI capable monitor at the moment, as mine is broken. But still looking into landscape view ...

Hi! Did you manually create HDMIMirroring.apk or was this file pulled from somewhere?
Would it be possible to get the source code? Maybe we can put everything in there so that the app does everything automatically and no manual intervention has to be done...
weichel said:
Unfortunately I don't have access to an HDMI capable monitor at the moment, as mine is broken. But still looking into landscape view ...
Click to expand...
Click to collapse

I wrote the hdmirroring app myself (it's rather quick and dirty, but gets the job done).
There is an update available. Now the app does all the work, as Beach_Head suggested. See the first post for details.
There is also:
All my digging (deap) in the guts of what runs on the Atrix suggests that there is no easy way of getting rotation to work. Someone might have to write a deamon which grabs the framebuffer image and draws it on the HDMI port (as GLES client). That's pretty much what they did on the Evo (someone correct me if I'm wrong). But not only is that a painful task, but also is the performance going to be rather bad (esp. compared to how good it is out of the box)
Click to expand...
Click to collapse

So you can use the full multitouch screen and accelerometer to play games and operate your device. Webtop doesn't mirror your inputs. It just converts phone's screen into a laptop touchpad.
Sent from my MB860 using XDA Premium App

I have enable superuser right,but got erro message .
HDMI mirroring is not avalibal.Possible resons are:This application has no superuser rights.The ro.hdmi mirror enable poperty is not set.

It's very likely that something's wrong with the superuser rights, because if the ro.hdmi.mirror was not set, the application would try to set it.
Did you tick the "Remember" checkbox when you gave the application superuser rights the first time?

ANDY12001 said:
I have enable superuser right,but got erro message .
HDMI mirroring is not avalibal.Possible resons are:This application has no superuser rights.The ro.hdmi mirror enable poperty is not set.
Click to expand...
Click to collapse
Same for me I uninstalled it and made sure I clicked "allow" and still gave me the same error
Sent from my MB860 using XDA App

Related

[WebTop] rDesktop 1.7.0 for WebTop

rDesktop 1.7.0
What is rDesktop?
rDesktop is a terminal services client for Linux - it will allow you to connect to a terminal services session of any Windows machine with Remote Desktop enabled.
This is a newer release of rDesktop than is available in the Debian repos.
Prerequisites
Access to a terminal from WebTop
A small amount of Linux shell knowledge
Usage
Copy the attached binary to somewhere on your device (I suggest /usr/bin, or somewhere else on your PATH)
Open a terminal
Enter the following:
Code:
rdesktop -g workarea -a16 -z -xm -P -0 <server>
You can use the following switches:
-g workarea - sets the window size to the desktop size
-f - makes the session fullscreen (ie. on top of all current chrome)
-a16 - sets 16bit colour depth (valid values are 8, 15, 16 and 24)
-z - enables compression (leave this enabled!)
-xm - sets the 'experience' level to 'modem' (valid values are modem, broadband or LAN)
-0 - causes you to be logged in to the console session (same as the /admin switch for mstsc)
I've found this to be invaluable for getting onto my desktop and servers at work. Now to see if I can get rid of that bloody awful Avant Window Manager and just use FluxBox
I don't have a lapdock, but its compiled for arm/tegra?
Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
GUI support?
I know rdesktop is only terminal based, but is there a sort of add-on to it that allows for a graphical representation of the screen, much like rdp clients in the Android market? that would be far more useful for my purposes, although this is a great step in that direction.
paravorheim said:
I know rdesktop is only terminal based, but is there a sort of add-on to it that allows for a graphical representation of the screen, much like rdp clients in the Android market? that would be far more useful for my purposes, although this is a great step in that direction.
Click to expand...
Click to collapse
An easy solution is to simply create a shell script and then specify the server.
EG: ./rdp.sh <server>
Much prettier than having to type all the strings.
paravorheim said:
I know rdesktop is only terminal based, but is there a sort of add-on to it that allows for a graphical representation of the screen
Click to expand...
Click to collapse
grdesktop is a graphical front end. It works on hacked webtops such as webtop2sd or the debian chroot mod.
krkeegan said:
grdesktop is a graphical front end. It works on hacked webtops such as webtop2sd or the debian chroot mod.
Click to expand...
Click to collapse
Thanks! you just saved me $1000!
If I couldn't run some programs like matlab and mathematica, I would have had to but a laptop for classes.
Sent from my MB860 using XDA Premium App
Mgamerz said:
I don't have a lapdock, but its compiled for arm/tegra?
Click to expand...
Click to collapse
Yes, it was compiled on the Atrix itself (that took a while...).
I use the chroot method on my atrix (I like keeping things seperate!), so this is probably only useful for those of us based on Debian (don't know what version is currently in the ubuntu repos)
The grdesktop package from the debian repos will work just fine with this binary.
I might even start a repo just for webtop... anyone think that would be useful?
YES
FallenAngelUK said:
Yes, it was compiled on the Atrix itself (that took a while...).
I use the chroot method on my atrix (I like keeping things seperate!), so this is probably only useful for those of us based on Debian (don't know what version is currently in the ubuntu repos)
The grdesktop package from the debian repos will work just fine with this binary.
I might even start a repo just for webtop... anyone think that would be useful?
Click to expand...
Click to collapse
That would be very useful, actually. Although I'm terrible at using Unix OSes and terminals in general haha.
this is awesome..almost as good as citrix xendesktop...who needs that though when this works so very well...one question did you get your sound working on the lapdock? when i try to enable sound via -r sound:local it says driver not found or smething like that..basically no matter what settings i use even via the gui tools or the cli..i get the same error and no sound....is there any way to get the sound to work?
If you're using the chroot method, it may be that you need to add some packages.
I haven't tried it myself, but I remember seeing a thread somewhere related to getting RythmBox working - this involved sorting out some missing audio-related stuff.
How is this better than the free 2X client for Android?
Well it runs in the webtop, so you get a much larger screen. Sure you could expand the android in window screen, but that doesn't increase the pixel count.
full-screen resolution grdesktop
Thanks for getting this working FallenAngel!
How would one use the xterm session to set grdesktop to represent the desktop as full screen on the laptop dock? 640 x 480 ( I think? ) just isn't cutting it.
add in -f
into your command line
paravorheim said:
Thanks for getting this working FallenAngel!
How would one use the xterm session to set grdesktop to represent the desktop as full screen on the laptop dock? 640 x 480 ( I think? ) just isn't cutting it.
Click to expand...
Click to collapse
any input on getting the sound to work?
humzat said:
this is awesome..almost as good as citrix xendesktop...who needs that though when this works so very well...one question did you get your sound working on the lapdock? when i try to enable sound via -r sound:local it says driver not found or smething like that..basically no matter what settings i use even via the gui tools or the cli..i get the same error and no sound....is there any way to get the sound to work?
Click to expand...
Click to collapse
humzat said:
add in -f
into your command line
Click to expand...
Click to collapse
I think I tried that, but it didn't work. Ill try again when I get home. Is the command grdesktop -f or after running grdesktop then do -f?
Sent from my MB860 using XDA Premium App
To connect to a server and run it fullscreen, try:
Code:
rdesktop -f -a16 -z -xm -P -0 <server>
To connect to a server and run it fullscreen, try:
Code:
rdesktop -f -a16 -z -xm -P -0 <server>
refer to the first post for command line args
i get an error:
"ERROR: Failed to open keymap en-us
ERROR: Connection refused"
i set all the remote desktop ok and all the settings ok, what was my mistake?
First, thanks for compiling this. I can't imagine how long it took on the Atrix.
Second, I am using this with the lapdock and the arrow keys, home, insert, page up, and the like are not working. I am assuming this is a keymap issue?? Any one else having these issues? Does anyone have the keymap that I need?

Nokia n900 vs galaxy note(does note has those things i need)?

i have Nokia n900 and now i am also in seek of something new now! i think i should go for galaxy note.
i would get it if it has....
open ssh
app like smscon(control mobile via sms) (ie deleting files call a yourself, snap thief photo)
backup menu(keep rootfs and and installed software inulding OS)
evil alarm(an alarm which does not go off unless doing a task complete)
H-E-N
xterminal
emulatores(ie ps2.sega genesis)
vnc viwer
and root access and how is multitasking on galaxy note?
can anyone confirm for me?
you can google al the apps (since i am not allowed to post links here)
I would buy Nokia n900 if it has Android✘
Boy124 said:
I would buy Nokia n900 if it has Android✘
Click to expand...
Click to collapse
then buy n900 because it has android with dual boot!!!
Why would I want meego / maemo as a second os? I already have android and Ubuntu on GNote.
Believe me its the best 'phone' available in the market.
Boy124 said:
Why would I want meego / maemo as a second os? I already have android and Ubuntu on GNote.
Believe me its the best 'phone' available in the market.
Click to expand...
Click to collapse
i started the thread to get answers of my questions , not to debate anyone kindly tell me if galaxy note has those types of apps? I must need them i would be a good member of this comunity when i get my GN.
nicholes said:
i started the thread to get answers of my questions , not to debate anyone kindly tell me if galaxy note has those types of apps? I must need them i would be a good member of this comunity when i get my GN.
Click to expand...
Click to collapse
Your request is very modest. You're asking someone to spend hours trying to establish whether certain apps run on the Note (or Android) or not.
Go visit the Google Market and see for yourself. There's tens of thousands of apps there, covering everything under the sun.
GNote can be rooted, that I can tell you, our future good member.
nicholes said:
i have Nokia n900 and now i am also in seek of something new now! i think i should go for galaxy note.
i would get it if it has....
open ssh
app like smscon(control mobile via sms) (ie deleting files call a yourself, snap thief photo)
backup menu(keep rootfs and and installed software inulding OS)
evil alarm(an alarm which does not go off unless doing a task complete)
H-E-N
xterminal
emulatores(ie ps2.sega genesis)
vnc viwer
and root access and how is multitasking on galaxy note?
can anyone confirm for me?
you can google al the apps (since i am not allowed to post links here)
Click to expand...
Click to collapse
i came from an n900 too, was a good swap.
you can use something like eset mobile security for your sms con stuff. more or less the same thing, can remote wipe, remote lock, remote GPS, etc. although samsungdive.com will give you similar control via a web browser.
no xterminal that i know of, so you cant run 'sudo gainroot' but there are other ways of gaining root. theres a one click root method.
theres another app called 'gotya!' where it snaps a photo of whoever is trying to unlock your device and then emails the photo to you.
backup stuff can be handed via clockworkmod on custom firmwares or via samsung kies software.
there are plenty of emulators on the android market/google play or whatever its called now.
multitasking on android isnt as efficient as on the n900. on the n900, you have that multitask button, which was pure awesome. on android, by default the nearest thing we have is if you press and hold the home key, you can see the last bunch of recent apps, it doesnt tell you if its running or not. there was a visual task switcher on the market that ran similar to the n900 multitask method, but it doesnt run on anything newer than froyo. the next best thing would be something like 'smart task switcher'.
dunno about the other stuff you've mentioned though.
Hi Nicholes,
openssh - yes, there are several free ssh client apps, but better terminal emulator pro (£2.49) gets best reviews. I haven't tried ssh on the note myself (yet!) - I used it on n900 at first but soon replaced with openvpn which met my needs better. I've setup openvpn on my note (requires root and a custom kernel with tun.ko) it runs very nicely.
smscon - partial: samsung offer their own free app for the note, see: http://v2.samsungdive.com/help/guideRemoteControlsClear.do and there are other smilar free apps - however I haven't seen one that offers linux shell command "passthrough" via SMS like the SMScon app does for n900. I used to use reverse ssh to be able to do full remote control of my n900 outwith any apps - it took a while to get that set up to maintain tunnels across wifi/3G changes, and once I had it working I never had cause to use it Anyway, a combination of one of the free remote location pps plus ssh should give you most of what you're used to.
backup menu - I never used it on n900, but if you root the note then you have titanium backup (for apps/data) and CWM (full /system image).
evil alarm - haven't looked, but guaranteed to be one in android market (or should I say "google play" as it's about to be rebranded).
HEN - yes, note has full usb on the go/host mode out of the box, so much easier and more reliable, plug & play
xterminal - yes. plenty of terminal emulators to choose from, I use "terminal emulator". It's not as nice as n900, lacking the h/w keyboard and it doesn't support tab key to autocomplete, but pretty usable.
emulators - gain, no idea but pretty sure there are loads
vnc viewer - yes, I use pocketcloud free - excellent VNC client. The free version only allows one saved connection but that is sufficient for me. THe screen size of the note makes this a far better remote access solution than the n900 (even though I loved presenceVNC, you cant beat some physical real estate for remote access work). There is also 2x client for RDP client access to windows boxes. This is free, has no limitations, and works excellently. Again, better than RDP client on n900 partly due to better/more intuitive mouse/keyboard support but also jsut screen size.
root access - yes, pretty easy to do although some newer firmwares are not directly rootable (need a downgrade->root-> upgrade). Drawbacks to being rooted I've come across: some apps (eg. skygo for UK access to sky TV) don't work with rooted phones unless you jump through hoops;
and how is multitasking on galaxy note? errr ... a bit of a dissapointment after n900! task switching is a bit cumbersome by comparison (though fine once you are used to it) but android tends to arbitrarily remove tasks from memory if you aren't using them which sucks. Also, if you are watching video it's not easy to concurrently do other stuff on android - as soon as you switch away from video, it auto-pauses. that said, the extra RAM makes up to an extent
I'd suggest you re-post this question over at TMO - there is a samsung galaxy note thread there which has been running for a while and there are several active n900/note users on it who know much more than me about android and I think you'll probably get more/better replies there. They are currently discussing an Android video player that allows you to run the video windowed or even minimised
EDIT - oh, just noticed that you've already posted there too ... you're way ahead of me!
_pigro_ said:
Hi Nicholes,
openssh - yes, there are several free ssh client apps, but better terminal emulator pro (£2.49) gets best reviews. I haven't tried ssh on the note myself (yet!) - I used it on n900 at first but soon replaced with openvpn which met my needs better. I've setup openvpn on my note (requires root and a custom kernel with tun.ko) it runs very nicely.
Click to expand...
Click to collapse
I did not find (or manage to compile) openssh for Android. dropbear has much less features (both client and server), so if you use any specific feature that openssh has and dropbear does not have, you might have a problem. I wrote a simple bash script to parse openssh's .ssh/config file and run dropbear with the correct parameters, which gives me a client that behaves similarly to openssh client.
xterminal - yes. plenty of terminal emulators to choose from, I use "terminal emulator". It's not as nice as n900, lacking the h/w keyboard and it doesn't support tab key to autocomplete, but pretty usable.
Click to expand...
Click to collapse
Tab completion is not a function of the terminal emulator, but of the shell. The ash shell which is included in busybox in packages such as "terminal emulator" and "sshdroid" does support tab completion. It is not the default login shell, so you need to change the configuration, or run it manually.
nicholes said:
open ssh
Click to expand...
Click to collapse
You're not specifying whether you want an SSH client or server. But yes, there are plenty of both on the App Market.
app like smscon(control mobile via sms) (ie deleting files call a yourself, snap thief photo)
Click to expand...
Click to collapse
No idea.
backup menu(keep rootfs and and installed software inulding OS)
Click to expand...
Click to collapse
Not by default, but you can install Clockworkmod (CWM) to take/restore backups.
evil alarm(an alarm which does not go off unless doing a task complete)
Click to expand...
Click to collapse
No idea.
H-E-N
Click to expand...
Click to collapse
Yes, USB OTG is supported. Drive Mount is an application that comes in handy.
xterminal
Click to expand...
Click to collapse
No, there is no X.Org and as such no xterminal either. If you're looking for just a terminal emulator then there is one called Better Terminal Emulator Pro that is very good.
emulatores(ie ps2.sega genesis)
Click to expand...
Click to collapse
No PS2 emulator. Yongzh ( https://slideme.org/user/3168/applications/3168 *) has Genesis, NES, SNES etc.
vnc viwer
Click to expand...
Click to collapse
On app market, yes.
and root access
Click to expand...
Click to collapse
If you root it then yes.
and how is multitasking on galaxy note?
Click to expand...
Click to collapse
Good enough. Less powerful than on N900 as it is limited by Dalvik itself, but anyways.
can anyone confirm for me?
Click to expand...
Click to collapse
I just did. Then again, you could have just googled all of these answers yourself.
---------- Post added at 03:51 PM ---------- Previous post was at 03:46 PM ----------
nicholes said:
then buy n900 because it has android with dual boot!!!
Click to expand...
Click to collapse
NITdroid is not useable, it lacks way too many features on N900.
THANKS! for all the great and detailed information. this forum looks my future forum when i got my new GN
Good luck to you. I got you wrong, my bad. I thought you were gonna post how nokia/meego/maego was (?!) better than android. And welcome to the forum.
Boy124 said:
Good luck to you. I got you wrong, my bad. I thought you were gonna post how nokia/meego/maego was (?!) better than android. And welcome to the forum.
Click to expand...
Click to collapse
Actually, as a Note owner i would have preferred maemo on my Note. Too bad they dropped it for sucky wp7
Sent from my superior GT-N7000 using Tapatalk
I did the swap and was obsessed with my n900. But the note is far far superior. Its not quite as 'nerdy' as the n900 in my opinion. But does everything I've asked of it. wait until you see the notes screen. Its blinding in comparison to the n900. You wont look back. Trust me. Providing you have some basic technical knowledge (which I assume you do coming from the Nokia) you will have no trouble rooting and playing with kernels. Etc. It seems to me that the devs for the note and for android in general provide more complete packages than I experienced on the n900. Kernels are optimized and roms have all the tweaks you would want applied. Where the n900 was more of a manual affair messing with the terminal (which I did love doing). I barely use the terminal now as most apps are very well written and have all the tweaks and features you need for customizing without the nitty gritty of line by line and scripts in the n900. Just my opinion though!
Sent from my GT-N7000 using XDA
_pigro_ said:
and how is multitasking on galaxy note? errr ... a bit of a dissapointment after n900! task switching is a bit cumbersome by comparison (though fine once you are used to it) but android tends to arbitrarily remove tasks from memory if you aren't using them which sucks. Also, if you are watching video it's not easy to concurrently do other stuff on android - as soon as you switch away from video, it auto-pauses. that said, the extra RAM makes up to an extent
Click to expand...
Click to collapse
Also completely agree with the above.
Sent from my GT-N7000 using XDA
While on this issue, is there a replacement for Mappero (maemo-mapper)? The features I miss in Google Maps compared to Mappero are:
On map tracking (including display of track length).
Display of route length/route distance remaining.
Precaching of maps by coordinates or along routes.
Saving of routes (for using without internet access.
You've got many answers on the app side of questions so i'll just say this. I too came from the n900 and i am very disappointed with the multitasking. I also completely agree with _pigro_.
There isnt much else im not happy with though. The size is phoenominal!
Do it you will be happy. Rooting and custom rom fun galore!
How's that for multitasking on the note?
http://forum.xda-developers.com/showthread.php?t=1532980
Sent from my GT-N7000 using Tapatalk
mfractal said:
How's that for multitasking on the note?
http://forum.xda-developers.com/showthread.php?t=1532980
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Sure it is capable of running lots at the same time but the actual handling of multitasking on android is far inferior.
Dont get me wrong, i am impressed with android, but i expected better multitasking. I have also experienced closing of apps that i left running but most of the time its seems ok and i can get used to it as the note is impressive in every other way.
The n900 also gave live thumbnails of apps when switching which still impressed me for the two years after my contract ended that i kept the n900 for. Such a good phone for its time.
nicholes said:
i have Nokia n900 and now i am also in seek of something new now! i think i should go for galaxy note.
i would get it if it has....
open ssh
app like smscon(control mobile via sms) (ie deleting files call a yourself, snap thief photo)
backup menu(keep rootfs and and installed software inulding OS)
evil alarm(an alarm which does not go off unless doing a task complete)
H-E-N
xterminal
emulatores(ie ps2.sega genesis)
vnc viwer
and root access and how is multitasking on galaxy note?
can anyone confirm for me?
you can google al the apps (since i am not allowed to post links here)
Click to expand...
Click to collapse
I had a N900 before i bought a SGS2 and now have both SGS2 and Note!
The answer to your questions:
Q: Open ssh?
A: Don't need this!
Q: app like smscon?
A: Use Avast Anti-Theft!
Q: backup menu?
A: CWM!
Q: evil alarm!
A: Lot's of apps that do that!
Q: H-e-n?
A: On The Go (OTG) USB is supported by all versions of Gingerbread and ICS! No extra app for that is needed!
Q: xterminal?
A: MANY, MANY,MANY terminals for free in Market lol
Q: emulatores?
A: PS1, N64, etc etc etc.. all available in Market!
Q: vnc viewer?
A: Yep this too.. and you can emulate Linux and Backtrack 5
Root access is available to all devices that i know and multitasking works like a charm
Go get it!!! It's worth it and believe me, i loved my N900 and i love my Note even more!
Everything you dream you could do on N900 you can do on Note and more!
MatanZ said:
While on this issue, is there a replacement for Mappero (maemo-mapper)? The features I miss in Google Maps compared to Mappero are:
On map tracking (including display of track length).
Display of route length/route distance remaining.
Precaching of maps by coordinates or along routes.
Saving of routes (for using without internet access.
Click to expand...
Click to collapse
Use sygic! Works like a charm on Note!

Galaxy Note headless usage possible without much effort?

Hi,
Before a few month the display of my note died. Now I need a device for controlling my quadrocopter via inet. My idea was to use my note for this task(The flightcontroller is Arduino based, so I should be able to control it via usb). The problem is, I need to drive it headless. Concrete, I need to use gps, the camera and to put software onto the device without using the display.
I think the best way would be to install a linux into a chroot environment but it's questionable if I'm able to access the camera and gps from inside the chroot env, so I'm open for better ideas.
Kind Regards
Ralph
can no longer see the display so needing tips on how to use android headless!
debian kit seems to work pretty well for using linux applications but I need to solve the problem of how to start that (or anything else) after a reboot without needing to use the Android gui.
a few days ago I had access to that gui but now my hdmi->vga box died
(hardware failure - not related to debiankit or any Android app )
so now I have an Android minipc with those nice debian extras on it that I can't risk shutting down for feat of not being able to use it at all!
- unless I can find what I need to edit to get it to at least start sshd after boot!
vnc/xrdp would be nice too but ssh would be the minimum -
.. after a week still hoping .. please someone please suggest *something*!
btw connectbot is on there (like debiankit it was installed while I could still see the display) and I have seen posts suggesting that you can add scripts in that to execute after boot, but how do I do that without using the gui?
I found an sqlite3 file that looks like it contains the connectbot settings .. can I add something in there directly using sqlite3 via the shell?
sooner or later that reboot will come - the question for me now is will this device still be usable at all after that!
headless Android (on real devices) info needed URGENTLY!

[Guide] Installing Arch Linux (updated 11/4/2013) bluetooth+KDE

I've began to write up a guide for getting Arch usable on the Nexus 7. I just threw it up on google docs because I'm too lazy to try to do the wiki thing until it's more complete. Hopefully it is far enough along to get things rolling for people who are looking to experiment with arch.
Anyway, it's a work in progress, if anyone has suggestions, correction, completions, criticisms, etc then holler.
Linkies
Changelog
========
2013-07-20
--Added instructions for installing the platform tools on an arch host pc
--Added references to wicd and network manager as alternatives to netctl
2013-10-20
--Updated instructions to reflect new *-grouper.zip naming scheme for MultiROM files
--Added instructions for updating the kernel to include kexec
--Got bluetooth 90% working. Interface comes up and can find devices with scan. Can’t get it to pair yet though.
2013-10-24
--Got the bluetooth device to power up on boot by adding a udev rule. Unfortunately the bluetooth daemon seems to be failing as it starts.
2013-10-28
--My keyboard is pairing on boot now. Ugly ugly things to get it working, but it works.
2013-11-03
--Updated the guide to get X working.
2013-11-04
--Tweaked xorg.conf files to get kde and e17 working.
--Added instructions to get Touchégg working to provide more tablety experience
Todo/Bugs
Problems/Bugs/Todo
The following is a list of things that need to be addressed or that I want to address. These things will be tackled in no particular order but hopefully over time the number bugs and problems will go down relative to the number of features I want to add.
Feel free to comment with your own ideas or bug reports.
Fix slow shutdowns after enabling networking with netctl
Fix whatever extremely verbose crash shows up on shutdown after setting up bluetooth
Get bluetooth working without hacks and under bluez5
Get a graphical login working
On screen keyboard (especially at login screen)
Set up an aur and/or googlecode project to automate some of the scripting required to get things working
Automate the process with some kind of setup tool
Replace the google doc with a wiki page in a relevant place
Make a custom spin that works more out of the box
Sound
GPS
Accelerometer
Magnetometer
Hardware buttons
Any other sensors that I forgot or am unaware of
Auto screen rotation
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
joeG78 said:
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
Click to expand...
Click to collapse
Thanks for the feedback
I don't have arch on my pc at the moment, so it's not a given, but i think you are right that people are probably more likely to have arch if they are looking at this guide. I updated the guide with info on how to install the tools from AUR. Also added links to wicd and Network Manager in the arch wiki so people are aware of some options if they don't like netctl, and mentioned that e17 works.
Xorg with alarm on nexus 7
Okay, got ALarm installed on my nexus 7 8GB.
For Xorg, I used files from "plasma active" nexus 7 distribution.
Just take them from the plasma active and put them into your /etc/X11 and X should work.
(I can't post a link, must wait 10 posts, I'll link the files later or you can PM me)
My only problem now is to put a cross-compile toolchain on my computer to be able to compile e17 with illume modules. Tried to compile on my tablet but it's too slow and I've not enough disk free to finish. If anybody can help on this point…
What distribution are you using on your PC? Also you can pm me the link for the xorg configuration and I'll post it for you
OK so I have come as far as installing multirom and I installed the archlinux rom and got this error when I tried to boot it
"kexec-hardboot support required to boot this kernel"
How do I resolve this?
thecrimsonfukr said:
OK so I have come as far as installing multirom and I installed the archlinux rom and got this error when I tried to boot it
"kexec-hardboot support required to boot this kernel"
How do I resolve this?
Click to expand...
Click to collapse
Go back and reread the multirom thread, then install a kexec-hardboot patched kernel in your internal rom.
Sent from my SGH-T679 using xda premium
joeG78 said:
Go back and reread the multirom thread, then install a kexec-hardboot patched kernel in your internal rom.
Sent from my SGH-T679 using xda premium
Click to expand...
Click to collapse
Thank you! I didnt realize it was that simple... for some reason i find the original multirom post difficult to follow.
thecrimsonfukr said:
Thank you! I didnt realize it was that simple... for some reason i find the original multirom post difficult to follow.
Click to expand...
Click to collapse
Hello
i want install arch linux on nexus 7 , but i confuse about it . is arch linux on nexus 7 fast and stable ?
can i watch hd video in arch linux withot lag ? before days i install ubuntu desktop on N7 but when i open video HD ( not full) with vlc , it somtimes play withot sound and it have lag . unity is heavy for nexus 7 , i want install arch + lxde . is it fater ?
sorry for english .
For me Arch works without any problems but when I type startx xserver freezes after the first image of xfce or e17.
Has anybody a solution?
? How to install e17 ?
joeG78 said:
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
Click to expand...
Click to collapse
e17 is the fast
so , i want to installing to my nexus 7
thanks .
Why ? my bluetooth not work?
not find the device ????
ylixir said:
I've began to write up a guide for getting Arch usable on the Nexus 7. I just threw it up on google docs because I'm too lazy to try to do the wiki thing until it's more complete. Hopefully it is far enough along to get things rolling for people who are looking to experiment with arch.
Anyway, it's a work in progress, if anyone has suggestions, correction, completions, criticisms, etc then holler.
My bluetooth not working
cannot find the device ??
Nexus 7 32GB Wifi
Click to expand...
Click to collapse
bluetooth
I have bluetooth (almost) working. I've put instructions in the guide. They aren't really a final solution, but maybe people who are running gui's can tell me if they work. I know I have the hardware working because I can see my keyboard when I scan for it, but I can't figure out how to get bluez5 to pair from the command line. Hopefully someone has better luck with a gui?
bluetooth
I've got Bluetooth working. I even have it pairing automatically on boot with a keyboard. Its an ugly solution but it works. The guide has been updated. I'll tackle X next
My Arch Install
Hey just wanted to add my install experience to the thread hopefully to help others. First of all I want say thanks for all documentation from the previous posters. I tried to follow the instructions as close as possible for a kde install, but I ran into some trouble with lightdm, so I tried kdm instead. And I can happily report it has worked swimmingly. Instructions on how to setup kdm, navigate to /usr/share/config/kdm. First edit the kdmrc to turn off the themed greeter. Then add the xvkbd to the XSetup file as in the lightdm setup. Another thing I did was utilize the plasmaboard widget on my main kde panel for my on screen keyboard once I log in. It seems to work much better than xvkbd for me. I can also confirm flash is working great.
So this really close to totally replacing my linux laptop, especially when I am on the go, in fact I am writing this post on the device in arch. However one key piece is still missing for me is sound. I can't seem to coax any sound out the device with my arch install, and amarok crashes on startup, even though both these items were working perfectly in ubuntu. If any one has any ideas how to make audio and amarok work I would be immensely grateful. Also thanks again, I am so happy to be rid of the X11 touch race condition. I have added a screenshot of me editing this post for those interested as well.
Figured out sound!
I think i found a solution to all of my troubles from my previous post. Amarok started working after a pacman update. My general audio problems seem to be caused by the linux for tegra audio drivers lack of head phone jack detection, I found a workaround the ubuntu nexus 7 launchpad bug tracker: https://bugs.launchpad.net/ubuntu-nexus7/+bug/1068804/comments/24. For the tldr crowd basically you have to use alsamixer manually mute and unmute the int_spkr channel for speaker audio and the int_mic channel to enable headphones. Then you can use the output and and hp to channels adjust volume for speaker and headphones respectively. It also might help to do a suspend resume cycle i sound still isn't working. Thanks to everyone else, hopefully others will find this useful as well.
Many thanks for your work!!! I'm using it on a nexus 7 with glass and touch broken (unuseless) but now it lives!!! and is a very responsive lxde desktop with xrdp starting on boot which I use with amule or bittorrent all night long...
two questions:
1) for me it does not work shutdown -r now or reboot... it close immediately all network connections but I have to keep power button 10 sec to restart system...
2) using it with an hub usb I'm trying to connect a big hard disk: pcmanfm (lxde file manager) refuse to mount it saying than it is not authorized... (I've followed archlinux wiki: it work on my archlinux desktop but not in nexus 7).

[Q] Emulator too big

Hi all, I don't know why but the command window that hosts the emulator on my laptop has suddenly grown to such a size that I can't close it without right clicking on the icon and selecting close, until yesterday the window had the normal minimize,maximise and close buttons in the top right hand corner like all windows shells do but they too have gone ( or the window is so big you can't see them ), I've tried reinstalling Android Studio but the problem persists, the only thing I know I've done is download some more SDK packages but I didn't change anything else knowingly - any ideas guys ? This is a nightmare as I'm writing an app for a client and at present I'm forced into using AIDE on a tablet so I can continue working.
Try Genymotion. It's free (for the most part), and is a lot faster / less buggy than the one that Google built. It does use VirtualBox, however.
HelixApp said:
Try Genymotion. It's free (for the most part), and is a lot faster / less buggy than the one that Google built. It does use VirtualBox, however.
Click to expand...
Click to collapse
Hi there, my. point is the AS emulator *was* working perfectly until recently when it took on a mind of its own
pkfox said:
Hi there, my. point is the AS emulator *was* working perfectly until recently when it took on a mind of its own
Click to expand...
Click to collapse
If you go to the Android Device Manager (in Android Studio -> Tools), you can choose the edit icon on the right hand side, where there is a "scale" input (i.e. x dp on device = y px on screen). You may have luck with that.
On closing the emulator and so on, you may want to try using the keyboard shortcuts of your OS: ALT-F4 for closing, ALT+left click for dragging windows, etc.
adlerhn said:
If you go to the Android Device Manager (in Android Studio -> Tools), you can choose the edit icon on the right hand side, where there is a "scale" input (i.e. x dp on device = y px on screen). You may have luck with that.
On closing the emulator and so on, you may want to try using the keyboard shortcuts of your OS: ALT-F4 for closing, ALT+left click for dragging windows, etc.
Click to expand...
Click to collapse
Hi and thanks for your time, I'm afraid I'm one of those people that needs to know why something has changed , as I said earlier the emulator used to work perfectly.
pkfox said:
Hi and thanks for your time, I'm afraid I'm one of those people that needs to know why something has changed , as I said earlier the emulator used to work perfectly.
Click to expand...
Click to collapse
Ok, I thought you were looking for a solution, not an explanation.
It's great for people to be curious; that's the best way to learn, but you may have to go to the source.
I am more of the "something must have changed somewhere and messed up my configuration, so I'll just fix it and keep on with my life" type myself.
Hi there,
Sorry this doesn't specifically answer your question but I'm curious as to why you are using AIDE on a tablet and not just deploying to the tablet in the first place, rather than the emulator. It's a much nicer experience for Android development I've found.
The only reason I could think that your emulator has changed size is that you have many inadvertently changed the Skin perhaps? You can get to that by editing the VM through the AVD. I'm not sure why it would have changed otherwise.

Categories

Resources