yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] lifyre:
It's a froyo thing. No 2.2 roms support a partitioned SD card. I'm not sure why but that was one of the big changes.

I can't wait for this! Especially since when I stop using the Eris as a phone it will have residual value as a portable computing device!
[Droid Eris Android Development] joshw0000:
Punk.kaos has been able to dual boot his Eris using a partitioned sd card on Froyo roms. Ask him what he did or read his multiboot thread. Between you two guys, this is gonna work!
[Droid Eris Android Development] joshw0000:
http://xdaforums.com/showthread.php?t=779274&

He hacked amon ra to allow an sd boot.
[Droid Eris Android Development] composerdude:
The beautiful thing about punk.kaos' work is that a person can boot up different android roms all on the same device. I love it! The thing is that when you chroot linux, you're not actually booting it up. You're using an existing, already booted system to run the programs and apps from the linux you chrooted.

Something fun I'd like to do someday is experiment with hi-jacking android to run pure debian lenny. THAT is a rom that could run under the multiboot.

On the other hand, it could work to take a rom, write a script to run through chrooting debian lenny off of a data.img, and install that as a service. That way, when you boot that rom under punk.kaos multiboot it starts out with debian already chrooted.

Does anyone have any further thoughts on a multiboot scenario?

Otherwise, I'm going to keep hacking at what I've got.

Thanks for the direction, joshw0000.
[Droid Eris Android Development] joshw0000:
Oh ok. Perhaps you could look into Darktremor apps2sd. I've always hated froyo's apps2sd. If you could get darchstars to work on froyo (allow apps to run from a partitioned sd), I would be very appreciative. Would that allow you to do what you're working on? The creator has mentioned that he would like developers to incorporate his apps2sd in their froyo roms so I'm sure he'd work with you.

I'm not sure how much work would be involved or if it's even possible. I don't want to stray you from this project.
[Droid Eris Android Development] 8on3s:
Man this is awesome! this is why FOSS is the better choice. Even if the Debian wouldn't directly run in an Android ROM form, the ability to use a full Debian system in an extremely small package, greatly improves the phones ability to live up to "smart-phone" and just what can be done with them.:D
[Droid Eris Android Development] composerdude:
I did some more lurking around the G1 forums. I'm compiling a loop module for Tazz Froyo. Basically, it'll just be one more command to run prior to mounting an image, soming like this:

insmod /system/lib/modules/loop.ko

The only bump I see is that I may have to compile for each individual kernel. The upside is that it's only one line I have to change to get it to work for another kernel.

Can interested parties let me know the version of their kernel? If you don't have it listed in your rom forum, you can open a terminal and run either

uname -r

or on your pc

adb shell uname -r

Thanks much!!
[Droid Eris Android Development] Conap:
Well there really aren't that many kernel's for the eris. There is zanfur's kernel , my cfs kernel, my bfs kernel, and Kaos compile's his kernel using my source. I'm not sure if there are any others. I would'nt mind adding what needs to be added for this to work so that it when people update thier roms that use my kernels it will already be built in. I'm sure any one else making kernels or rom would add the support needed for this so you don't have to go around doing it for every rom/kernel. The other option would be to use the anykernel updater script that I use when I release my kernels as people can flash it on whatever rom they choose and it can also copy over the loop module too.
[Droid Eris Android Development] composerdude:
If that's something y'all are willing to do, it would be great conap. Basic Linux core supports inserting modules, which (if I understand it) makes it easier to add the code w/o modifying kernel source.
[Droid Eris Android Development] Samiam303:
Here's my one question -- to follow these instructions, what ROM should we be running? Also: I have a "Debian.img" file that was compiled to use with the HTC Hero. Is that file in any way useful for this tutorial? I see that in here you use a .raw file instead of a .img like many other linux on android tutorials, and I'm not entirely sure what the difference means.
[Droid Eris Android Development] composerdude:
There is no rom requirement, other than having a rooted Eris rom. Just know that if you partition your SD, current Froyo roms are going to claim that the sd is blank. However, you can still mount EXT partition in the terminal.

I went with a raw image because it was the easiest format for me to deal with, the biggest difference is that I happened to name the file with *.raw extension. Your Debian.img file will most likely work, it is based on Lenny if it's the Hero port and supports ARMv5.

The next version of my instructions is going to simplify things significantly; support for mounting filesystem images, and running X from inside chroot so that a VNC client is not required.
[Droid Eris Android Development] Samiam303:
Glad to hear that! If I already have that .img, what step of the instructions would that allow me to skip to?

Also, your instructions reference using a linux command line. Does it matter what linux distro/version you use?
[Droid Eris Android Development] composerdude:
You can skip to step two. When mounting your sdcard, make sure you mount the correct partition, and also ensure you replace "deb-arm.raw" with your file name when mounting the image. You also obviously do not need to use qemu-convert to change an image, lol.

Otherwise, I've tried to make the instructions distro-independent.
[Droid Eris Android Development] Samiam303:
Awesome! I'll report back how it works out!

I can't tell you how much I appreciate you working this out. I put in some effort a while back trying to adapt the Hero instructions to Eris and just came out banging my head against the wall.
[Droid Eris Android Development] dusthead:
this is a really great idea. thank you for doing this. when it comes to anything "advanced user"-esk...Linux is where it's at. Looking forward to more updates...subscribed.
[Droid Eris Android Development] Amon Darthir:
So I'm an extreme noob and am new to a lot of this but I've spent the past few hours trying to mod the original Eris kernel so that it will allow loop. I have been following the instructions given here "htcevohacks.com/htc-evo-hacks/how-to-build-your-own-htc-evo-4g-android-kernel/" for the kernel and here "nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/" for adding Ubuntu. I get almost all the way done with the kernel but on the last step I get an error saying that my action isn't allowed or something. But all I think needs to be done is have a kernel that will allow the looping. That seems to be my only problem at this point. Looking forward to future developments.
[Droid Eris Android Development] Samiam303:
So I had to make a couple of small changes to the commands, but I have the Debian image I got from the hero forums up and running on my eris. Now, the only problem I'm having is that it doesn't seem to be able to run more than one program within Debian -- that is, whatever the first program I open after VNCing into it, that will be the only program that will open. Clicking on other programs has no result.

Have you had any issue like this? Other people on the Hero thread have reported this, so I'm suspecting that it's an issue with the image.
[Droid Eris Android Development] composerdude:
Hey all! I've been down sick and fevered and then the new job just kicked in. I hope to be back on top of this soon.

@samiam303: how did you start the xsession and vnc into it? Also, can you determine what tty you're running X in (it's late, don't remember command right now)? Also, check out the .xinitrc file located in your working home directory. There may be something in that that's causing the issue. Can you post a link to the forum post you dl'd from? I'd like to get a good look at it tomorrow morning.
[Droid Eris Android Development] Samiam303:
I had to get it running in a really weird way -- I ran the mount commands and chroot command from your post, then had to set the path like you mentioned on the second page, but then I had to run a shell script included in that .img called runonce.sh. I expected this to run the xsession, but for some reason, that didn't do it... I had the idea to run the runonce.sh as su, so I ran the command "SU"... which seemed to do a bunch of things, including running the xsession and starting the VNC server. I'm not really sure if that's typical behavior, as the bit of unix experience I have is mostly coming from an OS X environment.

The post from which I got the .img and supporting info is here.

EDIT: If you're interested I can go back through and post the actual exact messages I got along the way.
[Droid Eris Android Development] mjgdroid:
Loop kernel

here is a link to linuxloop kernel. There is one problem, when I flash the kernel it takes away touch settings on my ERIS. I was using LinuxInstaller 1.7 and am tryint to install an arm image of debain lenny on KAOS FROYO v37, anyways. In settings you can set wake to track ball, and unlock to trackball. this way you can still get to the programs to install the arm of lenny, I then plan to reflash kaos v37 after I correctly installed a dbeain lenny arm Anythoughts!?
[Droid Eris Android Development] Conap:
where did this kernel come from? I have loop settings enabled in the config of my kernel but still not working apparently. I just haven't had time to research it( too many projects going on at once lol)
[Droid Eris Android Development] mjgdroid:
originaly posted by ben_dover for the ubuntu forums, And I figured out why I lose touch screen its cause I'm using froyo, on stock roms it still works fine.

http://xdaforums.com/showthread.php?t=748094
[Droid Eris Android Development] workshed:
It was ban_dover lol... good' ol Andrizoid... so, chances are this kernel if really someone elses? ;) lol
[Droid Eris Android Development] composerdude:
The kernel IS someone elses. Conap, my internet is down which has stalled all progress from being uploaded, etc. The problem with your kernel's loop devices not working is that for some reason, Google has chosen to exclude the loop code from their kernel source. If you can bring in the loop code from the relevant part of the main linux tree, it will safely compile so that your kernel has loop support.

@mjgdroid: the reason I got away from ban_dover's work is that it was far too experimental and he didn't link to the people he was getting his files from so that others could follow his path on their own. There are major problems with the loop kernel from the original thread and I would recommend getting rid of it as soon as you can. I don't trust it.
[Droid Eris Android Development] workshed:
Good info comp, I really hope you guys can get this solid soon. I'd love to help, but Conap told me I can't ... not just because I'm stupid, but because he wants me to learn a bunch of other dev stuff that's already got my thoughts filled to the brim :rolleyes:... I know you 2 will get it soon enough though :D
[Droid Eris Android Development] Conap:
Ok i will do a little research about getting the loop code into the kernel...i'll put it on my list of projects(although just keeping a list of all the stuff I want to do is becoming it's own project lol)
[Droid Eris Android Development] composerdude:
So sorry guys, I really wish I could help out more. Especially since I left it neeeeearly finished but yet... NOT QUITE. Love xda, I'll be back as soon as finances permit.
[Droid Eris Android Development] Conap:
I'm gonna try compiling the loop as an external module instead of in the source...i pulled the linux kernel source and it seems to have the same loop files as is in our kernel source. I'm still learning on this mounting stuff in linux but I'll see what i can do with it.
[Droid Eris Android Development] mjgdroid:
I got lost in the tutorial, tried it I couldnt get it to work correclty. I ger error chroot: can't execute `/bin/bash` : no such file or directory
[Droid Eris Android Development] fKngFtd:
Where did Andrizoid go? I lost all contacts on gt, so hopefully he reads this. Hah ha
[Droid Eris Android Development] Stonent:
Andrizoid got his account suspended. I looked at his website yesterday and it hasn't been updated in a while.

I wonder if Jcase's last name is Soprano? :p
[Droid Eris Android Development] Abrasher:
Screen shots available anywhere?
[Droid Eris Android Development] user_error:
^^^^^^^^^^^^^^^^

x2
[Droid Eris Android Development] hoban_eris:
looking forward to an update. Thanks for your work!
[Droid Eris Android Development] Conap:
I haven't gotten time to work on this alot....i did get the loop working in the kernel by compiling the loop support as a module instead of built into rom...then i was able to insmod the loop.ko and it did start...that's as far as i got cause i'm working on something else right now but as soon as i get time i'll look more at this...i'll try to release the kernel with loop support in the next couple days...
[Droid Eris Android Development] Samiam303:
I'm really looking forward to you releasing that kernel -- I think I know enough to get the rest of it running if I had that working! I'd be glad to play around it while smarter people than myself are working on other things.
[Droid Eris Android Development] Conap:
http://www.multiupload.com/F9EIWAVTF7

here is my kernel with the loop.ko...insmod it and it runs...still working on getting the debian.img on my card...didn't realize it was 4gb lol
[Droid Eris Android Development] mjgdroid:
Would you suggest using Celeb 3.5 for this? cause I tried flash the zip, and once I did my market wouldnt install an apk. I get install unsuccesfull. Other than that I havnt found anything else wrong
[Droid Eris Android Development] amfetamine:
Hey Conap, anything else new or different in CFSv7 other than the loop.lo?

Is it an upgrade from v6 or just a side project?

Thanks as always. 3.5 purrs like a kitten.
[Droid Eris Android Development] hoban_eris:
What would a finished Debian install do?

This is an exciting project. Once this project is considered at 100% finished, would that include 3g? Could you make phone calls from within debian? send/receive SMS/MMS? As an interesting note, once this is working with debian, we really ought to play with ubuntu since it includes the ability to run Android apps natively. If we got to that point, it could be a standalone OS so the fact that Froyo doesn't like partitioned SD cards wouldn't really matter so much... Thoughts?
[Droid Eris Android Development] Conap:
this will work with celb...what rom are you using? it should work with any rom

just the loop.ko no other difference right now...it's still the same kernel...just looking to put a little time into this project

Ubuntu is my os of choice so i will look in that direction if i could get this working at all...i'm not sure where i'm supposed to put this raw image lol...i keep getting an invalid argument error when running the loop command....not sure that these other things would work inside the os...if ubuntu can run native android apps then dialer and mms apps could potentially function...it would be awesome to see this as a standalone os for the phone...there is also the meego side which i haven't looked at a whole lot but it seems to merge the 2 together somewhat...anyone who can chime in here to get us farther would be great....
[Droid Eris Android Development] mjgdroid:
I didnt know that about the ubuntu, I am currently trying to run debain. I have tried several things, I downloaed the image from

http://www.saurik.com/id/10

tell me if it works

there is also this don't know if it will work

http://www.androidfanatic.com/community-forums.html?func=view&id=251&catid=9
[Droid Eris Android Development] mjgdroid:
Got My Debian Lenny setup. I just need help with graphical fase.

1. download this zip http://xdaforums.com/showthread.php?t=823564

2. extract into /sdcard/debian/*files*here

3. type:

su

chmod 4755 *

sh /sdcard/debian/installer.sh

su /sdcard/debian/bootdeb.sh

5. one time first boot type

/scripts/onetime.sh

I am would like help getting the /etc/init.d/gdm to start

prolly only need to do an apt-get but any help after this would be great!!!

OH AND THANK YOU

Conap

Conap IS GOD

On another note after this is set up would someone want to look into UBUNTU,

cause I am a ubuntu user on ps3/and PC would like to see this working on my eris as well

I am gonna start a new thread for Working DEBAIN
[Droid Eris Android Development] Conap:
Conap is not GOD by the way. I must have been doing the same thing as you last night cause i ended up using that Debian.img myself. My issue is that I am getting errors with apt-get. can't seem to edit any files cause it says terminal is not installed so can not run nano. Still working on it.
[Droid Eris Android Development] mjgdroid:
NOTICE

I had nano was able to edit bashrc with it, I had to change the command from track ball to volume up to be able to save, this way you can use volume up plus o to save, and volume up plus x to close, Because when you wanto save command key interferes with the enter key, both keys are trackball in the debian shell
[Droid Eris Android Development] composerdude:
mjgdroid has completed linux port

Hey y'all.

First, I want to thank mjgdroid especially for continuing and FINISHING the work to port debian/ubuntu to our Eris phones. You and conap have done a great job and should be proud.

Second, my need to be absent spiraled out of control and hasn't yet been stabilized. I won't be working on wrapping up the finishing touches that I'D like to see (native debian boot) for at least another 4 months. Like every dev here, this is a hobby for me.

I wish it were a job!

So, I'd like to see this thread closed, and anyone who is interested in Debian Lenny or Ubuntu on the Eris can check out the fab work of mjgdroid here.

Thanks again for all the moral support while I worked on the port, and for mjgdroid completing it!!
[Miscellaneous Android Development] hateznemigaz:
Installation guide

Install Superboot (via Windows PC)

- Download Superboot: DOWNLOAD and extract to a directory

- Enter recovery mode by turning your device on while holding down 'volume down' and 'End call' then powering on your device.

- WINDOWS - double click 'superboot-windows.bat' (ensure the V845 is connected via USB)

Note: The hourglass (zandloper) stays on the home screen

- WINDOWS - double click 'superboot-windows.bat'

Phone will startup, seems to hang and eventually reboots itself.

Root the V845 (via Windows PC)

- Download AmonRA Recovery 1.6.2: DOWNLOAD OR download Clockwork Recovery 1.8.1.4 DOWNLOAD and extract the zip file

- Enter recovery mode by turning your device on while holding down 'volume down' and 'End call' then powering on your device.

Note: The hourglass (zandloper) stays on the home screen

- WINDOWS PC - (ensure the V845 is connected via USB) double click 'install-recovery-windows.bat'

- Remove battery and turn on your phone

Now your phone is rooted.

Custom ROM install

- Download the custom ROM.

- Copy the Custom ROM zip file to the root of the SD card trough your phone, if you dont want to use app2sd

- Shut down the phone and enter recovery mode by turning your device on while holding down 'volume up' and 'Start call' then powering on your device.

The following part is not important if you dont want to use app2sd!

Choose “Partition sd card” (control via DPAD):

- “Partition sd card”

- swap-size = 0 MB

- Ext2-size = 512 ext

- FAT32-size = Remainder (automatic setting)

- Confirm formatting/partitioning via DPAD (20 sec.)

- SD:ext2 to ext3

- Confirm EXT upgrade via DPAD (5 sec.)

- Volume Down to go to main menu

- Choose Power off

- Add the sd card in a card reader and copy the Custom ROM zip file to SD card (FAT32 partition).

- Again enter recovery mode by turning your device on while holding down 'volume up' and 'Start call' (green) then powering on your device.

Continuation of the installation process:

- Go to “wipe” where you select:

- Wipe data/factory reset

- Wipe Dalvik-cache

- Wipe SD:ext partition - this is also unnecessary if you dont want to use app2sd

Confirm each step above via DPAD

- Volume Down to go to main menu

- Choose “Flash zip from sdcard” and if everything is okay you can select the Custom ROM zip file. Confirm via DPAD to begin the install

- Choose Power off

Restart your phone and that’s it. You can use your custom ROM.

Note: First time the boot may take longer than usual.
[Miscellaneous Android Development] Mr.Freak:
Thanks

Thank you for deodexing Mr.Edition ROM! I was trying to do it also, but I haven't been succesfull.

One note for users:

If your language use some special characters (like Czech language - čžř etc.), you should rewrite fonts included in this ROM (/system/fonts/) by the original ones from MR.Edition. Do it before you flash this ROM or use adb to replace them after flashing it. Fonts in this ROM don't contain all the letters.
[Miscellaneous Android Development] hateznemigaz:
with TypeFresh tool you can easily change your fonts / available on the market

by the way sorry about that i will change the font with a better version, what contains the special characters in 1.1 ;)
[Miscellaneous Android Development] deadduck:
nice rom, using it now. one thing is some fonts are dark when they should be light. apart from that, it's really good, thanks.
[Miscellaneous Android Development] hateznemigaz:
reply

that will be fixed in the next release, thank you for your observation :o
[Miscellaneous Android Development] kurhaus_:
Hi!

Flashed your rom today on my 845 and it works like a charm:) Thank you for that. Will it get Updates?

Greetings!
[Miscellaneous Android Development] 3Charg3r3:
Best Rom I have ever used on my Vodafone 845. Thank you
[Miscellaneous Android Development] deadduck:
cheers, great work!
[Miscellaneous Android Development] hateznemigaz:
update

here is the first :D
[Miscellaneous Android Development] Necroman_AI:
Hi! I really want to try your custom rom but i'm using Mr Edition 1.6.2 and don't want to loose all my settings and apps, although i don't mind to sync with google again :)

So can i just flash your rom without any other steps? If i need to wipe data/cache i will loose all my definitions, etc?

Thanks!
[Miscellaneous Android Development] hateznemigaz:
reply

unfortunatly you must wipe everything before you flash this rom, becaus it isn't compatible with the MR edition

by the way you can easily backup and restore nearly all of your apps and data with Titanium Backup (available on market)
[Miscellaneous Android Development] Wextercz:
you can backup and restory all you data(system, settings, etc.... just everything) in RECOVERY MOD... very easy.. you dont need to download app from market.
[Miscellaneous Android Development] T-1311:
IMO he wants to migrate his data form Mr Rom to the LR845-Rom
[Miscellaneous Android Development] mngt135:
Good day,

hateznemigaz

Thanks for the rom.

Updating from LighningRed845 v1.0 to v1.1 do we have to wipe data/cache or can we just install over v1.0.
[Miscellaneous Android Development] deadduck:
I didn't to a wipe and it's working great. nice update hateznemigaz, best rom yet!
[Miscellaneous Android Development] Ridermovel:
I liked this rom, you can also run at 600mhz
[Miscellaneous Android Development] mngt135:
Good day how did you make your 845 run at 600mhz?

Regards
[Miscellaneous Android Development] Spotmatic:
Nice ROM but i've got two problems with it. The touchpad seems smaller so it's harder to type something and LauncherPro can not be updated???
[Miscellaneous Android Development] tiagojanz:
Hi, just installed this rom and like it so far, the only bug I found is that it fails to update the maps app, the error haves something to do about incorrect signing, anyone experienced the same?

I did installed goggles and gestures and both installed just fine.