[LNX]Rhobuntu on HTC ELF 09-11-2010 - Touch GSM ROM Development

Rhobuntu -- Ubuntu like Linux
Download: http://technetic.net/rhobuntu/downloads/HTC ELF/
(right click --> save target as)
1. Download latest build
2. Unzip to sdcard (7zip)
3. run haret.exe
Changlog:
new init-script (thanks AmiPro)
new startup.txt

I'll have a play on lunch - but I don't know if I have enough time, but thank you very much for linking this in!
If I do't have time on my lunch - I'll give it a go on my lunch!

Hello, Walter, and thank you for sharing this.
I´m fighting with my Elfin but I think Rhobuntu needs at least 1,6 GB of free space in the SD card.
So, with my 1GB card, I think I´m sold .
Greetings.

I am using HTC TOUCH GSM.
I have installed the Rhobuntu.
It opens up till the main screen and hangs..
no pointer movement and the screen resolution is too small..
I am not even able to scroll and see the full screen.
It hangs ..
need help..

i tried it but its mere of a beta stage

Let´s try
Thanks!!!

Hi Walter, wheather it will work with HTC TOUCH GSM???

jonnigin said:
I am using HTC TOUCH GSM.
I have installed the Rhobuntu.
It opens up till the main screen and hangs..
no pointer movement and the screen resolution is too small..
I am not even able to scroll and see the full screen.
It hangs ..
need help..
Click to expand...
Click to collapse
I have the same problem after starting the desktop and the icons bar on the botton, the device show the keyboard but I'm not able to move the cursor with the stylus.
please note that the device shows me only part of the keyboard, seem like that the resolution is wrong.
During the startup the font changes size. can be related to the wrong resolution??
No actions can be done with the sistem.
thanks and let me know if more information is need

This thread made me come up with a new prefix for these threads.
[LNX]
So put [LNX] in threads for Non Android Linux builds. So users can easily identify or search for specific threads.
Spread the word mate

With /dev/input/event3 it works well.
AmiPro wrote a new detection script for touchscreen.
Now Rhobuntu works on HTC ELF.

yo.. you know what is Elfin device code? i got to edit the startup.txt to make this LXDE runs on it. thanks!

Could you post your startup.txt?
Download for new init-script: http://rhobuntu.googlecode.com/files/init

Hello excuse, you could tell me how to replace the init file? I tried to follow the explanation at the beginning of the post, but I could not mount the file ubuntu.img, in any way. I tried with a live ubuntu, but it did not work. I tried to mount the. IMG file with magic disc but can not mount it. I guess not enough to replace the init file in the destination folder? I tried but during boot change the resolution, and the screen remains fixed on a keyboard in the middle where you can not interact. As was the case before ... Could you explain in detail how to replace the init file, or at least to run on the touch rhobuntu elf?If you want to write me a pm. Thanks
P.s. sorry for my bad English

nightly_shadow said:
yo.. you know what is Elfin device code? i got to edit the startup.txt to make this LXDE runs on it. thanks!
Click to expand...
Click to collapse
MTYPE 2372
http://forum.xda-developers.com/showpost.php?p=4440575&postcount=7

ste81x said:
Hello excuse, you could tell me how to replace the init file? I tried to follow the explanation at the beginning of the post, but I could not mount the file ubuntu.img, in any way. I tried with a live ubuntu, but it did not work. I tried to mount the. IMG file with magic disc but can not mount it. I guess not enough to replace the init file in the destination folder? I tried but during boot change the resolution, and the screen remains fixed on a keyboard in the middle where you can not interact. As was the case before ... Could you explain in detail how to replace the init file, or at least to run on the touch rhobuntu elf?If you want to write me a pm. Thanks
P.s. sorry for my bad English
Click to expand...
Click to collapse
Download Ubuntu LiveCD
http://www.ubuntu.com/
Run liveCD
- copy Ubuntu.img to the root of your harddisk (c:\ for example)
- open terminal
- open folder of Ubuntu.img (cd /media )
- mount Ubuntu.img ( sudo mount -o loop Ubuntu.img /mnt )
- run: sudo nautilus (FileManager)
- select "show hidden files"
- copy new init to /mnt
- close nautilus
- maybe you have to end the nautilus task in terminal with CTRL+C
- umount Ubuntu.img ( sudo umount /mnt )
- copy new init to /mnt

Thank you soo much!!!! Now Rhobuntu run well on my elf!!!!

Failed to find Ubuntu.img on SD Card
Hi,
Thanks for a good initiative. I've HTC Touch GSM (HTC ELF) (P3450) in India. I always keep changing OS on my mobile. I was waiting for Linux on it. I downloaded Rhobuntu and replaced the init in img file also replaced STARTUP.TXT and zimage file with the given one. Now when I start herat I get
1osetup: /dev/block/loop2: No such file or directory
Failed
Failed to find Ubuntu.img on SD Card.
/bin/sh: can't access tty: job control turned off
/#_
After the hash (#) the cursor keeps blinking.
Can you please help me what I have done wrong.
Gourav

gouravjoshi said:
Hi,
Thanks for a good initiative. I've HTC Touch GSM (HTC ELF) (P3450) in India. I always keep changing OS on my mobile. I was waiting for Linux on it. I downloaded Rhobuntu and replaced the init in img file also replaced STARTUP.TXT and zimage file with the given one. Now when I start herat I get
1osetup: /dev/block/loop2: No such file or directory
Failed
Failed to find Ubuntu.img on SD Card.
/bin/sh: can't access tty: job control turned off
/#_
After the hash (#) the cursor keeps blinking.
Can you please help me what I have done wrong.
Gourav
Click to expand...
Click to collapse
http://forum.xda-developers.com/wiki/index.php?title=Ubuntu_on_the_Rhodium#Installation
did you replaced the init file?

Thanks buddy, I managed to get it installed. Mistake was mine, I copied Ubuntu.img file in ubuntu directory. as i moved it out on storage card root, it got installed.
But after installation there was a big key board on screen which i managed to drage down with stylus. but what I feel is the resolution need to be changes as it is showing everything so big.
Also, I tried to make a call to this device, we get ring at device from which I was calling, but there was nothing on the device on which I install rhobuntu. also I could not make a call from here. Can you help me in these cases.
Found something while starting rhobuntu, you may be interested to know.
While starting rhobuntu from haret.exe at one point it shows starting ophono daemon something, where it says can't create signal descriptor file. is it helpful to resolve this issue?
Gourav

Hi,
Got installed the Rhobuntu can access it. Facing two issues on it as follows;
1. Phone function not working as ofono daemon says - can not create signal filedescriptor: Function not implemented
2. Resolution are not as per device.
Please anybody help me to get all this working.
Gourav

Related

[Android] Make bootpackage for booting Android directly

Hi guys,
some of you have asked whether there is an Android ROM yet, but there isn't, so we have to make with workarounds. One very practical one would be to install a clean WM6 ROM, and boot straight into Android.
Now before, we used haret.exe, and we still will. HaRET has a great functionality with it that allows you to make one big .EXE file containing the zImage, initrd and script. Now with the script - this is actually a problem, because
we may want to play with the boot params
we need to put our apn/internet credentials in
So it would be best to have the big .EXE and the script. This is what I've done.
To do it (works under Linux only!):
Download or copy the initrd.gz and zImage you want to use into a directory. Open a command line, switch to that directory. Type:
Code:
wget http://handhelds.org/cgi-bin/cvsweb.cgi/~checkout~/haret/tools/make-bootbundle.py
wget http://gigatron.de/.android/haret-scriptboot.exe
touch empty
python make-bootbundle.py -o boot_android.exe haret-scriptboot.exe zImage initrd.gz empty
(You may need to change the filenames of zImage and/or initrd.gz accordingly.)
Out comes boot_android.exe file. You can now
put it onto your SD card, and create a link to it in \Windows\StartUp
copy it directly into \Windows\StartUp
and in the same directory where you put boot_android.exe, put your default.txt.
Voilà, your phone will boot up Android automatically.
I advise you to put it on the SD card, because then you can take it out during startup if you do not want to start Android automatically.
Hope you enjoy it.
Stefan
P.S.:For starters, I have put together a version with the latest initrd.gz and zImage, at the usual place http://gigatron.de/.android (boot_android_09-03-18.exe)
P.P.S: Here's the diff for the patched haret-scriptboot.exe:
Code:
Index: src/wince/haret.cpp
===================================================================
RCS file: /cvs/haret/src/wince/haret.cpp,v
retrieving revision 1.24
diff -r1.24 haret.cpp
197,198c197,201
< // Run linked in script.
< runMemScript(script_data);
---
> if (len > 1)
> // Run linked in script.
> runMemScript(script_data);
> else
> scrExecute("default.txt");
Hope we can move everyone here.. seidler
Downloading exe file now to try out.. seems like a good compromise for the time being.
Keep up the good work!
Edit: this ignores the startup.txt file and uses the default.txt only?
bally3 said:
Hope we can move everyone here.. seidler
Downloading exe file now to try out.. seems like a good compromise for the time being.
Keep up the good work!
Edit: this ignores the startup.txt file and uses the default.txt only?
Click to expand...
Click to collapse
Well, didn't mean to move everyone here, it's just that I'm starting different threads for different topics now. (Kinda like a subforum, which we don't have.)
I didn't know about startup.txt, but it is right, it only reads default.txt. I'm actually thinking about adding an inclusion mechanism to the HaRET script language, so we can set the common parameters (MTYPe etc.) all internally in the big .EXE and still allow to set the user-specific details in the (external) default.txt
Stefan
this is SO GREAT!
would it be possible to include such an exe file in all bundles on androidonhtc ?
wow, amazing, thanks!
kubia said:
this is SO GREAT!
would it be possible to include such an exe file in all bundles on androidonhtc ?
wow, amazing, thanks!
Click to expand...
Click to collapse
I don't know about all the previous packages, but I think for all future ones this should definitely be the case.
Stefan
yes, of course, that's what i meant
Helloseidler2547,
I downloaded the sources on http://android.git.kernel.org/repo , as it's written on androidonhtc.com.
In the lastet system.img we can't specify another language than english, but when i look at sources, i can see in many apps sources plenty of languages resources files.
is it the same version used by DZO and you for the packages ?
seidler2547 said:
I didn't know about startup.txt, but it is right, it only reads default.txt. I'm actually thinking about adding an inclusion mechanism to the HaRET script language, so we can set the common parameters (MTYPe etc.) all internally in the big .EXE and still allow to set the user-specific details in the (external) default.txt
Click to expand...
Click to collapse
Hmm, sometimes I'm quite blind. HaRET already has a RUNSCRIPT command, which will allow us to do all that we need. Oh well - silly me.
Stefan
thanks seidler, look like a good start... how are use using haret exactly? are there parameters or mouse actions ect?
I'm not sure if I understand your question correctly, but
- developers are using haret for all kinds of stuff, finding out how winmo does stuff and then porting it into the linux kernel
- users use haret just for booting Android (linux) and setting some kernel parameters in default.txt
HTH,
Stefan
seidler2547 said:
I'm not sure if I understand your question correctly, but
- developers are using haret for all kinds of stuff, finding out how winmo does stuff and then porting it into the linux kernel
- users use haret just for booting Android (linux) and setting some kernel parameters in default.txt
HTH,
Stefan
Click to expand...
Click to collapse
I was refering to how you were directly using it to boot, but it sounds to me like you are using the source code to recompile for you needs?
I'm farmiliar with what haret is used for, i was wondering how you got haret to directly boot linux instead of bringing up the window where you can change the default.txt location or listen for a network connection before clicking run.
joel2009 said:
I'm farmiliar with what haret is used for, i was wondering how you got haret to directly boot linux instead of bringing up the window where you can change the default.txt location or listen for a network connection before clicking run.
Click to expand...
Click to collapse
Just rename your default.txt to startup.txt
don't be too lazy to search
Yes, but with the script make-bootbundle.py, we can make one big .exe for users, containing zImage, initrd and default.txt, which can still read an additional external .txt file (using RUNSCRIPT) -> I think for the whole package this is more convenient for users. Also because the average user doesn't need to change a lot of variables (internet works without kernel parameters, at least for GSM, keyboard settings for at&t tilt could maybe be automated, and userspace access is possible too).
Stefan
Is it possible to install new apps on the latest version ? I have the version from 01-03-2009 and when i try to download an app, it tells me "download failed - not enough space" or something.
You are asking in the wrong thread. Try http://forum.xda-developers.com/showthread.php?t=396782&goto=newpost
Stefan
Oh sorry
Thanks
excogitation said:
Just rename your default.txt to startup.txt
don't be too lazy to search
Click to expand...
Click to collapse
Before trying to insult someone by forwarding them to google, try not to be to be too lazy to read the question. I was asking about stefans bundle. Not what is haret and how to use it.
Thanks,
Joel

[Q] Gen Y DualBoot for Rhodium

I have a T-mobile Touch Pro 2. I have the Project Android icon in my start screen and it loads perfectly fine. My issues are trying to get the Auto Boot to run. When the phone loads from pwer up, I get the Gen Y DualBoot screen, but it keeps telling me that Android is missing. Im sure that its a simple case of changing a txt log or moving a file around, but I'm just not seeing in here in the forums.... Anyone got any suggestions.
Did you installed android in the root directory[ of your sdcard]?
yozgatg said:
Keep in mind that your android setup must be installed already at the root of your storage card in order for this app to work correctly (e.g. \Internal Storage\haret.exe or \Storage Card\haret.exe respectively)
Click to expand...
Click to collapse
yes, it installed as part of the andboot file......do i need to remove the Haret.exe from the andboot and have it on root by itself?
I've got the same issue. Any suggestions? I've already made sure all of the switches were right and also edited the registry...
Ok...here's the solution:
I had to go back and re-read the original post here http://forum.xda-developers.com/showthread.php?t=623792 ...the solution is there. The string that needs edited (v1.0.6.0 and newer: "AndroidBootFolder"="string" ("": boot from root of storage (e.g. \Storage Card\haret.exe)| "andboot": boot from \Storage Card\Andboot\haret.exe, string can be edited in registry) doesn't need the full path typed. It just needed the word "andboot" (no quotes) inserted, and then voila!
Good luck.

[Q] htc touch question please help??

i have a htc touch diamond and i tried to put the xdandroid the new one and i downloaded all the files needed then i put the files in a folder that i created (andboot) and all the required files there and i alos copied the diam500 from (start up conf) to the (andboot) folder next when i went to the ((haret)) file to execute the proses and i clicked it and then i have a weird window the says:
launch a script file.default path is the same where the executable lives.
and there is this box that have (( default.txt )) run
and then
start waiting for connection on port 9999
when you connect,you'll get a remote hardware examination tool.
listen for network connection (in a box)
(another box)
found machine generic msm7xxxa
that all in that window
and when i press (((run))) a small error window pops the says : cannot open script file /internal storage/andboot/default.txt
please help me if you can because i really want the to see the xdandroind and thanks any way so sorry for any trouble.
I'm having exactly the same problem. It runs fine on the first run but once I reboot the phone and run it again it just keeps asking for default.txt. I tried specifying startup.txt but it won't work either (it's a zero-length file anyway). This is happening with both the current builds.

Question regaring TnT 2.0 installation Gtablet

Hey community, I have just picked up one of these tablets in the hopes that I can use it for some slick new ways of remote desktop and various other work/play related functions.
I've been reading the forums here for the G the past two straight days. I tried flashing my system to TnT 2.0 found on the forums by the one and only Roebeet, Alternate GTab Firmware - TnT Lite (stock based, adds the Marketplace), but I am having issues.
First off I'm wondering if when you say root do you mean inside the /sdcard folder? because that is where Windows 7 is defaulting me to when I mount the drive. This I feel is the cause of all my issues because I thought the update.zip and /recovery were supposed to be on root. Maybe I'm just confused and need some explanation.
If there is a thread I missed that explains all this for a newbie let me know.
Thanks XDA community!
grimsocks said:
Hey community, I have just picked up one of these tablets in the hopes that I can use it for some slick new ways of remote desktop and various other work/play related functions.
I've been reading the forums here for the G the past two straight days. I tried flashing my system to TnT 2.0 found on the forums by the one and only Roebeet, Alternate GTab Firmware - TnT Lite (stock based, adds the Marketplace), but I am having issues.
First off I'm wondering if when you say root do you mean inside the /sdcard folder? because that is where Windows 7 is defaulting me to when I mount the drive. This I feel is the cause of all my issues because I thought the update.zip and /recovery were supposed to be on root. Maybe I'm just confused and need some explanation.
If there is a thread I missed that explains all this for a newbie let me know.
Thanks XDA community!
Click to expand...
Click to collapse
yes the root is what pops up when you mount it to the computer, just copy and paste. root means do not put in another folder just on /sdcard
I'm a newb here, but live in an AIX environment, so I hope to help.
System root is /
The onboard storage (16gb) is mounted as /sdcard
The user micro slot is mounted as /sdcard2 (side note: hoping I can get the vold.fstab to mount sdcard2 under sdcard)
I believe from reading through the TnTLight thread, that you want to put the files under /sdcard, not system root.
Somebody will correct me in short order I am sure.
TeamSpeed said:
I'm a newb here, but live in an AIX environment, so I hope to help.
System root is /
The onboard storage (16gb) is mounted as /sdcard
The user micro slot is mounted as /sdcard2 (side note: hoping I can get the vold.fstab to mount sdcard2 under sdcard)
I believe from reading through the TnTLight thread, that you want to put the files under /sdcard, not system root.
Somebody will correct me in short order I am sure.
Click to expand...
Click to collapse
That's correct. Root is / but you want the upgrade files and folders in the /sdcard directory.
Ok thank you all for tha clarification. I am following the direction correctly then. I have placed the two files into the correct 'root' directory and when I hold down power and volume ^ it does start to run the flash, but then it simply shows me the ! in the triangle and restarts. When I go in to look for the files I put there they aren't there.
Should I try and just use Clockworkmod? Or maybe someone who isn't a programmer has made this work and has some more helpful hints. I am in this communities debt as I really want this to be a cool tool/toy for me but if I can't do what I need to I'll bring it back.
grimsocks said:
Ok thank you all for tha clarification. I am following the direction correctly then. I have placed the two files into the correct 'root' directory and when I hold down power and volume ^ it does start to run the flash, but then it simply shows me the ! in the triangle and restarts. When I go in to look for the files I put there they aren't there.
Should I try and just use Clockworkmod? Or maybe someone who isn't a programmer has made this work and has some more helpful hints. I am in this communities debt as I really want this to be a cool tool/toy for me but if I can't do what I need to I'll bring it back.
Click to expand...
Click to collapse
Did you unzip the file you downloaded from the link here? So that you have both an update.zip file and a recovery folder? Sometimes people just rename the downloaded file update.zip and put it on their sdcard, and then get the exclamation point. The download file needs to be extracted first, to give you an update.zip file and a recovery folder, which you then copy to /sdcard (which will look like the root directory when browsing in Windows).
Great question Jacindc, and yes I have extracted the 2 files update.zip and /recovery to the root of my tablet. I am trying to remove and set my G back to some factory base to try this process again. Let me ask you a question in return. Can i use the built in ES file explorer for this process or should I use Astro or does it not matter?
Also what are these files? DiskCacheIndex11214.tmp I have several of them in root and I'm not sure if they are from my mess ups or what.
Ok update, I've found a /mnt dir on the root and inside there are duplicate folders that exist on root such as /sdcard, /sdcard2, /asec, /secure and /usbdisk....I'm confused why there is this duplication. I guess I must confess I attempted to root the G using; http://forum.xda-developers.com/showthread.php?t=843376 but when I tried to then run Titanium backup it would say no root access and I didn't see the superuser app in the drawer like I did on my Moto droid when I rooted that.
Wondering if I should try a complete wipe and type using the vanilla loader found on the forums...another question, does Windows 7 recognize your device as an Nvidia Harmony?
Last edit/update for tonight me thinks...it would seem I've borked it pretty bad because I can't get the thing to copy any files over. It says I have in Windows, so I safely remove hardware, and then unmount and go look in the download dir or the root and nothing...so not sure what I did but lol I got this one I'll return it and get another to try again I guess.
How to install TNT Lite 2.0 or Cyamogen
Hi Everyone,
I just bought an Viewsonic G-Tablet with Android 2.2 and the latest update from the official site. I'm some kind of disappointed with the interface. From what I have read I can install other stuff on it with best and quicker interface.
I'm very familiar with PC & Mac's OS, but with the Android I feel like a dummy.
I would greatly appreciate if:
1-you tell me which one is better?
2-give me cleared & details instructions on how to do it.
Please do me this favor, because I feel like this tablet is a good tools and I wish to keep it.
Thanks in advance!
Most people are first installing CLOCKWORKSMOD RECOVERY and then putting TnT-Lite 2.X.X lately.

[Q] task rpcrouter:15 blocked (CDMA)

Same as posted here "I have an HTC [differing: Touch Pro (Alltel CDMA)]. I followed the instruction on forum.xda-developers.com for [FRX*] but it [enters an endless loop] at "task rpcrouter:15 blocked for more than 120 sec". The solution that worked in that link does not solve the same problem with a CDMA RAPH800.
The solution given there (paraphrased from that thread):
Link to the fix. The issue is caused by not having a data plan; the install gets stuck in a loop looking for a signal.
The solution that worked for a GSM phone
download RIL file from http://forum.xda-developers.com/atta...9&d=1302817139 and place in the root of microsd.
download rootfs file from http://www.megaupload.com/?d=1NGCVCTT and place in the root of microso.
add to the end of /conf/froyo.user.conf file "/sdcard/libhtcgeneric-ril.so /lib/froyo/libhtcgeneric-ril.so" before the last "}"
Please help me find a solution for a CDMA phone - next month I'd like to take a dozen of these phones and use them as learning aids in a construction course for laborers, but I cannot start testing construction applications since I cannot get the OS to work.
I'm curious as to what happens when you format your microSD and run FRX7.1MR without anything additional. Could I get you to try this method without the additional stuff?
To be explicit, I'd like you to format your microSD with something other than the Windows method and I'd like you to download THIS (if you haven't already) and THIS. Extract the contents of both files to the root of your microSD. You should see a folder called "FRX07.1" and under that folder, you should see 3 folders and 7 files. Move the contents of that folder up to the root of the microSD. Look under the folder called "STARTUPS" and locate your device type (ie RAPH800) and copy over to the root of your microSD. Once done, run Haret on your phone and let me know what happens.
do you have an application you suggest for "format your microSD with something other than the Windows method"; sourceforge did not turn up anything.
forest.peterson said:
do you have an application you suggest for "format your microSD with something other than the Windows method"; sourceforge did not turn up anything.
Click to expand...
Click to collapse
use SDFormatter
wow that SDformatter link has a lot of popups - this link feels less like I just found a date at the bus-stop sdcard.org/downloads/formatter_3 ; but it will not install on either Server2008R2 x64 or Server2003 R2 SP2 x32.
I reformatted the microSd with the format tool in Server2008R2 as FAT format. Installed the files, and boom - I see little green guys swirling around the screen. After awhile a dialog appeared "Sorry! The process com.android.phone has stopped unexpectedly. Please try again"; the dialog closed and it seems like it works! Thank you. I will try again with the HPtool and as FAT32.
Now I just need to learn how to use Android - and the screen calibration seems off? Deleting ts-calibration and rebooting to calibrate.
Glad to hear using the latest bundle works for you! Yeah, that might be a slight issue with an outdated kernel. The main thing I wanted to do is get you booted up first!
Before we continue, make sure you make a backup of your current configuration by copying the contents of the microSD and either moving it to your computer or some other storage device. This way you know you have a "working" bundle.
Next we update the kernel package from HERE; might I suggest using THIS kernel package. Be sure to delete the old files (should be located under root of the microSD and called modules-xxx and zImage) first! Extract till you see two files then rename zImage-xxx to just zImage and feel free to delete the files you extracted from. I've always created my own ts-calibration file but just wanted you to have it, "just in case".
Additionally, you may also need to update the rootfs by deleting the file called rootfs and downloading THIS file. Extract the file and rename to just rootfs and be sure to place it where the file called Haret is (default location is root of the microSD).
files are downloaded and installed - everything seems to work

Categories

Resources