Linux on Hero? - Hero, G2 Touch Q&A, Help & Troubleshooting

I am wondering if there are any tutorial to install Linux (not Android) on HTC Hero.
Couldn't find one :/

Mehumummo said:
I am wondering if there are any tutorial to install Linux (not Android) on HTC Hero.
Couldn't find one :/
Click to expand...
Click to collapse
Yeah, kendon got it working ages ago and installed debian iirc

Here you go.
http://www.androidfanatic.com/community-forums.html?func=view&catid=9&id=1615
Good luck,
Click to expand...
Click to collapse
*Edit*
Sorry, after looking at it for some time, i've seen that it's VNC.

sublue said:
*Edit*
Sorry, after looking at it for some time, i've seen that it's VNC.
Click to expand...
Click to collapse
Hmm, at least "important update" explains that it's not vnc.
Got to take a closer look at it.

Open androidVNC from your android programs menu.
Click to expand...
Click to collapse
All the steps seems to be for a linux distro, on a computer..

sublue said:
All the steps seems to be for a linux distro, on a computer..
Click to expand...
Click to collapse
No he seems to set up VNC server on he's debian on phone and then connect to it from VNC client on he's Android OS.
Just a trick so he doesn't need any special drivers to use debian GUI on he's mobile phone.
Anyway, to install debian shell you need to have firmware that supports LOOP features. I'm not sure if I want to switch amon_ra.
Could anyone recommend such a firmware for HTC Hero?

Try linux img. You will need loop module

Got shell finally working

Related

[Q] Upgrade to 2.1 from linux

I wonder how I can upgrade my x10 mini pro to android 2.1 from my linux pc. I don't have any windows box at all. I'm looking for somthing like htc-flasher, but for x10.
Anyone?
Well, I dont know if that would help, but i just updated in Linux through Virtualbox
ambrosiosanchez said:
Well, I dont know if that would help, but i just updated in Linux through Virtualbox
Click to expand...
Click to collapse
Can you elaborate on how you did this? Because it wasn't possbile for me in VirtualBox, due to the fact that it didn't keep the USB connection.
I’m guessing he is using the non-free version of virualbox with usb support. I don't have a windows cd, so that’s no option.
Maybe the java tool posted in this thread forum.xda-developers.com/showthread.php?t=826455 can be used on linux after some modifications?
Yes, that was a must.
To keep the USB connection you have to add it as a filter in the settings tab:
Without starting the virtual machine, connect the phone and go to settings > usb, select to add a filter and select the phone. I think that should work for PC Companion. If you plan to update with seus the usb device is a different one, so you should put the phone in flash mode and add the filter for the corresponding device. After the update, the name of the devices will change again, so you need to add new filters again.
Btw, I wasn't able to root through Virtualbox using Superoneclickroot but I think it was because I didn't stop PC Companion properly...
mr_cos said:
I’m guessing he is using the non-free version of virualbox with usb support. I don't have a windows cd, so that’s no option.
Maybe the java tool posted in this thread forum.xda-developers.com/showthread.php?t=826455 can be used on linux after some modifications?
Click to expand...
Click to collapse
Yes, you also need usb support.
If you don't have any windows at all maybe you could try flashtools in wine...
ambrosiosanchez said:
If you don't have any windows at all maybe you could try flashtools in wine...
Click to expand...
Click to collapse
Thanks, but I don't think wine have usb support.
ambrosiosanchez said:
Yes, that was a must.
To keep the USB connection you have to add it as a filter in the settings tab:
Without starting the virtual machine, connect the phone and go to settings > usb, select to add a filter and select the phone. I think that should work for PC Companion. If you plan to update with seus the usb device is a different one, so you should put the phone in flash mode and add the filter for the corresponding device. After the update, the name of the devices will change again, so you need to add new filters again.
Btw, I wasn't able to root through Virtualbox using Superoneclickroot but I think it was because I didn't stop PC Companion properly...
Click to expand...
Click to collapse
How did you root the phone then?
mr_cos said:
Thanks, but I don't think wine have usb support.
Click to expand...
Click to collapse
I think it has some very primitive support, but certainly I wouldn't go that way...
Ben.Hahlen said:
How did you root the phone then?
Click to expand...
Click to collapse
This morning I had acces to a computer with windows, and I tried to root using Superoneclickroot and I ended up having the same problem as with Virtualbox (the program was running but it was stuck at a loop), but this time I tried Ctrl+Alt+Del > Manage tasks > Finish PcComapnion, and it automatically rooted. I think If I had done the same before It would have worked...
rooting the phone with linux works like a charm... you need the sdk from h t t p : / / developer.android.com/sdk/index.html (sorry i can't post correct links)... i haven't tried flashing it yet because i'm waiting for the official update in switzerland
munzli said:
rooting the phone with linux works like a charm... you need the sdk from h t t p : / / developer.android.com/sdk/index.html (sorry i can't post correct links)... i haven't tried flashing it yet because i'm waiting for the official update in switzerland
Click to expand...
Click to collapse
I guess you are talking android 1.6 for the rooting from linux with android sdk tools (adb?)
mr_cos said:
I guess you are talking android 1.6 for the rooting from linux with android sdk tools (adb?)
Click to expand...
Click to collapse
exactly... as soon as i have 2.1 i'll post what method i used
This is driving me crazy. I am also trying to install the 2.1 update with virtual box (non-free 3.2.10) on Mini Pro.
I am unable to get a proper USB connection to the device although it shows in the filters settings when I boot the VM it remains greyed out.
Can anybody else report success?
Sony Ericsson deserve a big slap for this.
Update: Sorry to solve my own problem, but isn't this so often the way after you ask for help:
I had to add my user to the vboxusers group, after which the usb connection worked fine.
munzli said:
exactly... as soon as i have 2.1 i'll post what method i used
Click to expand...
Click to collapse
adb works great in Linux, both for 1.6 and 2.1, but the problem is there are no flashing tools available to update.
As for rooting the phone, the program I used in 2.1 (superoneclick) seems to be a gui for some batch process in adb, hence maybe reproducing all this steps in adbshell (pushing the necesasary files, running rageagaintshecage, getting the mountpath...) one could root the phone the same way...
It looks like the superoneclick author will add linux support in the next release.
forum.xda-developers.com/showthread.php?t=803682
to bad the USBFlash.dll is from sony ericsson. we'll never know what the library does.
but i just played through the game of updating using a virtualbox windows machine... works like a charm. wrote down the simple steps to get it done here: h t t p : / / munz.li/?p=110
munzli said:
but i just played through the game of updating using a virtualbox windows machine... works like a charm. wrote down the simple steps to get it done here: h t t p : / / munz.li/?p=110
Click to expand...
Click to collapse
Excellent howto, good work
mr_cos said:
It looks like the superoneclick author will add linux support in the next release.
forum.xda-developers.com/showthread.php?t=803682
Click to expand...
Click to collapse
Good, I hadn't seen that before. And well, looks like it's already supported. I just installed it,
you have to run the .exe file through mono. I tried and looks like working correctly, it detects the phone... but mine is already rooted so I'm not sure...
http://forum.xda-developers.com/showpost.php?p=8699742&postcount=537

Adb for linux

Can anyone point me in the direction or give me a good tutorial on an easy way to set up Adb for the 3vo in Linux? Thanks
Sent from my PG86100 using XDA Premium App
bballer71418 said:
Can anyone point me in the direction or give me a good tutorial on an easy way to set up Adb for the 3vo in Linux? Thanks
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
ADB is just a binary file, you open terminal in same directory as adb ./adb shell
I keep the binary file on my desktop, then just right click desktop select open terminal here, then type ./adb shell
bballer71418 said:
Can anyone point me in the direction or give me a good tutorial on an easy way to set up Adb for the 3vo in Linux? Thanks
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
This is what I used a while back to get me up and running on my Ubuntu setup when I was using the Evo4g. I was new to Ubuntu at the time, so this guide was very helpful for me. Step 6 is important, because setting ADB in the PATH will allow you to execute adb commands from any directory. You won't need to cd to the directory where your adb drivers are (most likely the platform-tools folder)
http://imransarwar.com/index.php/how-to-install-adb-on-ubuntu-step-by-step-guide/
Here is another guide written by MisFit for ADB on Ubuntu. I'm not sur which flavor of Linux you're running, but if it's Ubuntu these tutorials should be helpful to you. After I started using the Evo3d, I had to do something very similar to this guide. ADB always worked fine with my Evo4g on Ubuntu, but when I started using the Evo3d, I would get "no permissions ?????????" or something to that nature. Following this guide should fix that. Good luck getting it going, shouldn't be too bad.
http://forum.xda-developers.com/showthread.php?t=1158918&highlight=adb+ubuntu+11.04
You need all that just to run a binary on Ubuntu? I guess they really are the windows of Linux.
vampirefo said:
You need all that just to run a binary on Ubuntu? I guess they really are the windows of Linux.
Click to expand...
Click to collapse
Ha, yea. I didn't find it too difficult, and as I said, was a noob at Ubuntu when I did that. Surely there's a quicker way to do it. But I was able to do it with no experience with Ubuntu at all, just followed what was written.
Thank u i will try it when I get home. Thanks for your help
Sent from my PG86100 using XDA Premium App
k2buckley said:
Ha, yea. I didn't find it too difficult, and as I said, was a noob at Ubuntu when I did that. Surely there's a quicker way to do it. But I was able to do it with no experience with Ubuntu at all, just followed what was written.
Click to expand...
Click to collapse
That's cool my comment was meant as a joke, I haven't used windows since 2003, XP was the version, I build my own Linux it's based off of Mepis, I haven't used Ubuntu just poking fun at you.
vampirefo said:
That's cool my comment was meant as a joke, I haven't used windows since 2003, XP was the version, I build my own Linux it's based off of Mepis, I haven't used Ubuntu just poking fun at you.
Click to expand...
Click to collapse
Understood. And yup, I know I'm a noob at Ubuntu and other Linux based stuff. I used Windows my entire life until a few months ago, so I'm learning it slowly. Surely one day I'll also be building my own Linux systems.

Where Do I Get a Terminal Program for My PC?

i need to install a terminal program on my PC and tweak my android phone through it. i'm rooted. how do i do this and what programs do i need to download?
you dont need any downloads or at least not for easy tweaking...just type cmd or terminal emulator on your pc search and youll find it and you will need mostly the android sdk(found on the google home page) and to do some ubuntu codes you can download cywin...if you really want to dev well do a virtualbox with ubuntu on it....you can find good howto's on this page: freeyourandroid.com
Sent from my €PΩ 4G TØU©H
This is what you need.
wrt54gs7 said:
This is what you need.
Click to expand...
Click to collapse
thank you very mutch
wrt54gs7 said:
This is what you need.
Click to expand...
Click to collapse
hi wrt54gs7... will i need to still install Andoird SDK with this app?

[Q] Emulating Operating systems.

a guy on youtube did this. here.
can someone give me a tutorial please?
ross231 said:
a guy on youtube did this. here.
can someone give me a tutorial please?
Click to expand...
Click to collapse
Go HERE to find instructions for installing Windows XP on an Android tablet. Installing Windows 95 (as shown in the YouTube video you pointed to) on an Android tablet will require the same steps. I used the instructions to install TinyXP (a small-footprint version of Windows XP) on my Sony Tablet S and it successfully ran; however, it ran extremely slow, which was expected seeing how all Android tablets have limited CPU and memory resources and the Android OS was not created for running other OSes in an emulator or virtual machine. Good luck.
Cat McGowan said:
Go HERE to find instructions for installing Windows XP on an Android tablet. Installing Windows 95 (as shown in the YouTube video you pointed to) on an Android tablet will require the same steps. I used the instructions to install TinyXP (a small-footprint version of Windows XP) on my Sony Tablet S and it successfully ran; however, it ran extremely slow, which was expected seeing how all Android tablets have limited CPU and memory resources and the Android OS was not created for running other OSes in an emulator or virtual machine. Good luck.
Click to expand...
Click to collapse
would ubuntu run very well?
ross231 said:
would ubuntu run very well?
Click to expand...
Click to collapse
I do not believe you would have success running Ubuntu on Bochs for Android. I believe you would have better luck with Puppy Linux. However, take into consideration I am speaking from having no experience running either of those distros on Bochs for Android. AntiBillOS compiled a version of Linux specifically for Bochs for Android. You can find AntiBillOS's posting about it HERE.
Thanks for your help.
ross231 said:
Thanks for your help.
Click to expand...
Click to collapse
If you want to run Ubuntu, you're better off using Complete Linux Installer from the Play Store to run Ubuntu as a chroot environment. It's similar to emulation, but possibly a little faster than Bochs or QEMU. It's also vastly easier to install since there are already custom-built images included in the app.

[Q] Run Ubuntu or Windows 8 on Dell Venue 7

is there a way to Run Ubuntu or Windows 8 on Dell Venue 7?
can the dell venue be rooted?
No, you can't run ubuntu, yes you can root the device
Sent from my i700 using Tapatalk
How do you root it, I tried and it didn't work, I need to use a controller on it to play World of Tanks Blitz, I have a xbox 360 controller
but it has a intel atom cpu it should be able to run Linux or windows 8?
vampirefo said:
No, you can't run ubuntu, yes you can root the device
Sent from my i700 using Tapatalk
Click to expand...
Click to collapse
themechwarrior said:
How do you root it, I tried and it didn't work, I need to use a controller on it to play World of Tanks Blitz, I have a xbox 360 controller
Click to expand...
Click to collapse
Linux method
http://forum.xda-developers.com/showpost.php?p=57271610&postcount=1
Windows method
http://forum.xda-developers.com/showpost.php?p=51089990&postcount=1
its not working, its stuck or frozen on my dell venue 7
vampirefo said:
Linux method
http://forum.xda-developers.com/showpost.php?p=57271610&postcount=1
Windows method
http://forum.xda-developers.com/showpost.php?p=51089990&postcount=1
Click to expand...
Click to collapse
themechwarrior said:
its not working, its stuck or frozen on my dell venue 7
Click to expand...
Click to collapse
Yeah, that doesn't help at all, if you are using Linux version post in that thread if using windows version post in that thread, either way you need to post much more than (its not working)
its frozen at the droidboot provision os screen
vampirefo said:
Yeah, that doesn't help at all, if you are using Linux version post in that thread if using windows version post in that thread, either way you need to post much more than (its not working)
Click to expand...
Click to collapse
themechwarrior said:
its frozen at the droidboot provision os screen
Click to expand...
Click to collapse
did you install the drivers for fastboot, it seems like you only install the adb drivers
I got it rooted, if it has a intel atom cpu it should be able to run Linux or windows 8?
joanthanmajh said:
did you install the drivers for fastboot, it seems like you only install the adb drivers
Click to expand...
Click to collapse
themechwarrior said:
I got it rooted, if it has a intel atom cpu it should be able to run Linux or windows 8?
Click to expand...
Click to collapse
i think not because of lack of bios
joanthanmajh said:
i think not because of lack of bios
Click to expand...
Click to collapse
it's the lack of an unlocked bootloader / how restricted the current bootloader on unlocked devices is, i'm currently trying to get kexec boot or 2nd-init working properly to use as a 2nd bootloader to boot custom roms / linux
social-design-concepts said:
it's the lack of an unlocked bootloader / how restricted the current bootloader on unlocked devices is, i'm currently trying to get kexec boot or 2nd-init working properly to use as a 2nd bootloader to boot custom roms / linux
Click to expand...
Click to collapse
Full Linux would be so sweet!
WiFi doesnt save when you turn on Dell Venue 7
the WiFi doesn't save when you turn on Dell Venue 7, every time I turn on the dell I have to reenter the wifi info, is there away to fix it?
joanthanmajh said:
did you install the drivers for fastboot, it seems like you only install the adb drivers
Click to expand...
Click to collapse
themechwarrior said:
the WiFi doesn't save when you turn on Dell Venue 7, every time I turn on the dell I have to reenter the wifi info, is there away to fix it?
Click to expand...
Click to collapse
I have the same problem and found partial workaround (root required).
Saved Wifi networks and their passwords are stored as plain text in file /data/misc/wifi/wpa_supplicant.conf
When I opened this file for the first time, I have noticed much duplicates of string "ctrl_interface=wlan0" with no line breaks.
I tried to delete duplicates and add information about wifi networks (I got the format from my other android device).
Reboot. And it works! Stored using this way networks not cleared after reboot.
Here is an example for secured WPA2 secured network:
network={
ssid="enter_wifi_name_here"
psk="enter_password_here_or_remove_keyvalue_for_nonsecured_network"
key_mgmt=WPA-PSK
priority=1
}
Not easy way, but better than nothing.
cant find it the right one and cant edit the file, Need more help
nicolas2008 said:
I have the same problem and found partial workaround (root required).
Saved Wifi networks and their passwords are stored as plain text in file /data/misc/wifi/wpa_supplicant.conf
When I opened this file for the first time, I have noticed much duplicates of string "ctrl_interface=wlan0" with no line breaks.
I tried to delete duplicates and add information about wifi networks (I got the format from my other android device).
Reboot. And it works! Stored using this way networks not cleared after reboot.
Here is an example for secured WPA2 secured network:
network={
ssid="enter_wifi_name_here"
psk="enter_password_here_or_remove_keyvalue_for_nonsecured_network"
key_mgmt=WPA-PSK
priority=1
}
Not easy way, but better than nothing.
Click to expand...
Click to collapse

Categories

Resources