yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] Shaquiel Harris:
if i replaced the ROMS in this, would this work for the mt3gs?
[Droid Eris Android Development] workshed:
Maybe, but I doubt it. There are extra files added to the 2.2 rom to make it work. You're welcome to tear it apart though and see if you can make it work for your phone.
[Droid Eris Android Development] Conap:
amon's will only wipe the first ext2 partition which is the system partition. Then using the script i made which is in first post you can wipe data/cache partations by flashing the zip. Then all the partitions should be empty after that.
[Droid Eris Android Development] Retrogress:
yeah i love the 2.2 cant wait to get my class 6 SD card

another thing, no wireless tethering on the 2.2? would putting this in the kitchen and adding wireless tethering work? since downloading it from the market doesnt
[Droid Eris Android Development] Conap:
downloading it from market does not work? what happens when you try to download it?

edit: it was in the rom...not sure why it's not showing up for you...
[Droid Eris Android Development] Retrogress:
well everything was going well, and this wireless tether never worked when i got it from the market.

screen shots below, no wifi tethering was on when installed 1.1, and wifi tethering force closed wheni first tried to install it a few days ago when i got everything set up

now everything is force closing, screen shots below

and when i boot up i have to go through the froyoeris setup, but all my accounts are already synced after i skip everything, this happens on every boot

gonna wait to see what you guys say, then maybe do a full wipe and reinstall
[Droid Eris Android Development] Conap:
Something has definitely gotten corrupted in the filesystem....First i suggest trying the zip to wipe dalvik-cache which is in op. If that doesn't help then you can try the data wipe zip also in first post. Then only other option would be a reinstall. Once reinstalled you can do a nand+ext backup...it' won't backup data on your 2.2 but it will back up the system partition so it's a little easier to go back too if a problem occurs. Wireless tether is working fine for me....
[Droid Eris Android Development] Retrogress:
tried those zips, did the dalvik one first, after a 5 minute boot still nothing works

just going to reflash really quick
[Droid Eris Android Development] Conap:
yeah i'm still hoping to come up with a better way to reflash just the second rom...unfortunatley as is it flashes the the phone and gets copied to sd card which means you have to fully wipe the phone to install...once it's setup right i would definitely do a nand +ext so that it saves a little time when there is a problem...also restoring the nand +ext wouldn't wipe your data on it's own so if there is no problem in the data and only system then the nand would fix the problem without having to resetup everything...
[Droid Eris Android Development] joshw0000:
Gotcha thanks!
[Droid Eris Android Development] truckerbob:
Hey guys, AWESOME ROM!!! I just flashed it to my wife's phone, and have been playing with it for a while now. Im having 2 issues Im hoping you can help with. The Eclair side of the ROM is flawless.

On the FroYo side, Im having 2 problems.

1- my apps didnt restore. Ive never had any luck with auto restoring, either on my wifes phone, or my Droid. I always back up my apps with MyBackUp Pro, and have never had a problem. I used it to restore my apps on the Eclair side, it worked great. I mounted the sd card, backed it up, booted to FroYo, mounted the partition, and placed my back up on the FroYo side. I open MBP, click restore, it does its thing, but no Apps are listed. I have the option to restore all, but if I hit the button, I get a FC.

2- The weather portion of Beautiful Widgets doesnt work on the FroYo side either. I downloaded GPS status, and got a decent fix, so I know the GPS is working, but my location and weather in Beautiful Home read "null"

Im going to guess both issues come from the ROM running from the sd card, but is there anyway to fix them?

Thanks!
[Droid Eris Android Development] truckerbob:
Update: I checked the phone this morning and the BW weather was working, but still nothing on the apps.
[Droid Eris Android Development] Conap:
I have no experience with MyBackup Pro....froyo has always restored my apps for me so I haven't need it....if you are familiar with adb shell you can do adb shell then cd data/app/ folder and look to see if it installed the apps...if they are there but not showing open rom manager and run the fix permissions option to see if that helps.
[Droid Eris Android Development] joshw0000:
I used My Backup Pro in the past but had issues with it. Have you ever tried Titanium?
[Droid Eris Android Development] Retrogress:
did both the nands, hopefully nothing messes up this time

also wireless tethering works now
[Droid Eris Android Development] strongergravity:
I finally had a chance to flash this. 2.1 is fine, but the 2.2 doesn't have the market, so nothing restored & I can't add any apps. Any suggestions or things a dev wants me to look at before I shake this etch-a-sketch?
[Droid Eris Android Development] workshed:
Sorry you're having problems, gravity.

Try again, make sure you follow partitioning to a T... no problems with the market here at all... you're the first to mention a problem with it at all. And I'm not saying that there isn't a problem for you, but all I can suggest is to start over from scratch because we aren't seeing that prob here or from anyone else.
[Droid Eris Android Development] strongergravity:
When I said "no market" I was literal. No icon.

I used a 16 gb class 6 card, and I devoted the extra 8 to the 2 fat32 partitions.

Otherwise, any partitioning suggestions for a 16?
[Droid Eris Android Development] zaith1234:
Unsuppport Filesystem

I am able to boot into 2.2 but not able to mount the SD card comes up with unsupported filesystem is it ok for me to format or should I try the install over.

because I can't get the filesystem to mount gscript can't load the preinstalled scripts
[Droid Eris Android Development] workshed:
I don't know what to tell you, it'll be the same for a 16g card. We all have market, so something must have happened when you partitioned or during install, try again.

Sounds like you didn't partition correctly, I would start over.

Again guys, this was tested and tested, we're still working on ways to backup, flash updates to 2.2, but these things take time. The few problems people are having we didn't run into at all, so it's very hard for us to trouble shoot these problems.
[Droid Eris Android Development] Conap:
When it copies the rom to the sd it tries to copy all the permissions...it's possible that the vending.apk is not recognizing you as the user so not showing as installed. Only real way to fix it would be to reflash the rom. I'm sure if you do adb shell and look in system/apps then the vending.apk is probably there the phone isn't picking it up correctly.

If froyo is not recognizing the card then the last partition probable did not set up correctly...repartitioning is your best bet...if you don't want to repartition the whole card and reflash you can just delete the last partition and remake it.

parted dev/block/mmcblk0

rm 6

mkpartfs logical fat32 4151 7948

then type print and make sure you have 6 partitions should be

1 fat32

2 ext2

3 ext2

4 extended partition

5 ext2

6 fat32

if you do it this way you shouldn't need to reflash the rom as you won't be touching those partitions.
[Droid Eris Android Development] zaith1234:
Thanks Guys

I ended up just remaking partition 6 and after that i reinstalled the rom everything is working great now thanks for the quick reply's

Excellent work on this.
[Droid Eris Android Development] Conap:
awesome glad it's working for you...it's pretty sweet once it all gets installed correctly....
[Droid Eris Android Development] strongergravity:
It did it again. I manually installed the market (vending.apk) & gave it permission, but It will not download. I'm going to redownload the rom in case there was a hitch there.

Also, in neither case did it restore my apps, something that worked with multiple froyos in the past.
[Droid Eris Android Development] Conap:
Yeah reinstalling the apk will not fix the problem...it's a uid mismatch...did you reflash the whole rom? if you can go into recovery and do:

adb shell

parted dev/block/mmcblk0

print

and post what the outcome of that is just to make sure the partitions are correct...
[Droid Eris Android Development] strongergravity:
model: SD SD16G (sd/mmc)

disk /dev/block/mccblk0: 16.0GB

Sector size (logical/physical) 512B/512B

Partition table: msdos

1 32.3kb 7000mb 7000mb primary fat32 lba

2 7001mb 7515mb 514mb primary ext2

3 7515mb 8520mb 1005mb primary ext2

4 8521mb 16.0gb 7501mb extended lba

5 8521mb 8571mb 49.3mb logical ext2

6 8572mb 16.0gb 7451mb logical fat32 lba

BTW, Thanks for the help!
[Droid Eris Android Development] Conap:
Partition's 2 and 3 are way bigger then you need lol...for partition 2 i think i said go with 250mb's but I personally use 200mb and have no issues...partition3 is quite large also but maybe you like alot of apps so that's probably ok...not sure if it could cause issues with it being to big. Everything is in the right order though....I would try a reflash and if you still get the same problem or you have already reflashed and still have the same problem try making those partitions smaller. And nice card by the way...make sure you get us some quad scores on that class 6 so I can see if I want to buy one lol....
[Droid Eris Android Development] truckerbob:
No qualms with using adb, I was one of the lucky guys who didnt have a problem setting it up right the first time, way back when. I dont know if I could set it up again, but its working for me. :D

Do I boot to recovery from the FroYo side, or how do I navigate to the partition with the correct data/app?

I heard TB gave guys fits with FroYo ROMs on the Droid, so I never tried it on her Eris.
[Droid Eris Android Development] Conap:
You will want to be booted in froyo when you check data/apps...just do:

adb shell

cd data/app/

ls

this will show a list of apps...if they are there run the fix permissions in rom manager and reboot...if there is nothing there your partitions might not be set up correctly....did you make the backup's from a 2.1 rom or a 2.2 rom?
[Droid Eris Android Development] Huntredgo:
Don't know if im the only one having an issue with this, but i cant seem to get the 2.2 ROM to establish a connection with Google's servers. the 2.1

ROM works fine, but for the life of me i cant figure it out.

Although, it might be a Google problem ;)

EDIT: Yeah got it, Never mind. Good Job on a great project!!
[Droid Eris Android Development] workshed:
Awesome, enjoy the rom's! :D Thanks!
[Droid Eris Android Development] strongergravity:
I did reflash with no joy. I was shooting for a large 3rd partition for the future...I was wondering if that was the problem (a memory-handling issue, perhaps). I had tried the first time with it only 450mb. Today I will do the whole thing again, shrinking 2 & 3.

I will gladly Quadrant when I can get it on here:D
[Droid Eris Android Development] joshw0000:
Moto and HTC are completely different. I owned a Moto Droid but swapped for the Eris because it felt like I had a brick in my pocket. Aesthetics aside, Clockwork Recovery works great on Moto but has bricked several Eris's. I would try TB on her phone. My wife and I both use it and I've read nothing bad about it in the Eris threads.
[Droid Eris Android Development] joshw0000:
The highest I got on my class 6 was 599. That was with all apps restored, widgets running, etc.
[Droid Eris Android Development] korben dallas:
i am having problems with with this rom booting from 2.1 to 2.2 i saw your supposed to use gscripts to switch or am i just not understanding this correctly. thx in advance.

edit ok i think i figured it out
[Droid Eris Android Development] strongergravity:
16GB card

O.k. I've reformatted a half-dozen times. The only combo I could get to work was to format exactly as the OP suggests, giving the additional 8 GB to the Froyo SD partition. I was hoping for a more-even distribution, but I never had the market & once I didn't even get Gscripts lite to show. Using these settings I have the market, but it didn't do the auto-restore.

Has anyone else done this on a 16GB SD card?

I will Quadrant it later today after I breathe some life into my battery.

For the record:

mkpartfs primary fat32 0 3500

mkpartfs primary ext2 3501 3750

mkpartfs primary ext2 3751 4100

mkpart extended 4101 7948

mkpartfs logical ext2 4101 4150

mkpartfs logical fat32 4151 15948
[Droid Eris Android Development] strongergravity:
I got a 538 in quadrant off my 16 gb class 6, with no tweaking.
[Droid Eris Android Development] Conap:
I never checked it clocked at 710 but I hit 619 quad score clocked at 787 with my stock card...trying to decide if it's worth buying a class 6 card....
[Droid Eris Android Development] strongergravity:
I got a 583 at 787mhz. I had Setcpu running, plus Beautiful Widgets, Smooth Calendar, and a Google Voice widget running as well. I don't know how many pounts those would knock off. I'm setting my phone up for use at work before my battery dies. Perhaps tomorrow I'll pull the widgets and see what happens.
[Droid Eris Android Development] workshed:
That was @ default 710... no tweaking. 2.2 on stock sdcard.
[Droid Eris Android Development] hellaFAME_HTCEris-2.1_VZW:
can i have clockworkmod recovery with this?

can i still have the clockworkmod as my recovery with this? is that wha package2.zip does??:confused:
[Droid Eris Android Development] joshw0000:
Package2.zip is the Froyo rom that is installed on the sd card. You can keep Clockwork with this rom but you'll have to flash package2.zip manually after the first flash and reboot. If you were using Amon Ra, package2.zip would flash automatically after the initial flash/reboot.
[Droid Eris Android Development] workshed:
Thanks josh, we appreciate the help.
[Droid Eris Android Development] truckerbob:
Sorry it has taken a couple days to get back to you, this is what I have. I have no app dir in /data. When I enter cd /data/app/ ,I get the response: /sbin/sh: cd: can't cd to /data/app/.

So, I:

cd /data

ls

btips

No /apps

I ran the parted script, and got the correct partitions, and 1, 3, &6 have "lba" under Flags. Im not sure what that means.

The backup is from PlaneJanet2, the ROM I had on her phone before I flashed this one.

I still have to wait 5 minutes between posts, so heres the Partition info:

Model: SD SU16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 512B 3500MB 3500MB primary fat32 lba

2 3500MB 3750MB 250MB primary ext2

3 3750MB 4100MB 350MB primary ext2

4 4100MB 7948MB 3848MB extended lba

5 4100MB 4150MB 50.0MB logical ext2

6 4150MB 7948MB 3798MB logical fat32 lba
[Droid Eris Android Development] Conap:
Ok so it's not writing to the data partition at all...really not sure why. I do see you have a 16gb card? Have you tried redoing the partitions? it's possible that even though it made the correct partitions that one of them is corrupted. Also look at some of the previous post's here about the 16gb cards...maybe make the last partitions to take up the rest of the card so half the card is not unpartitioned.
[Droid Eris Android Development] strongergravity:
Before I started partitioning my 16gb card, I checked in windows & it said 16,023,000kb, so I ended my last partition at 16023 & it works fine. Using 16023 let me use the whole card.
[Droid Eris Android Development] strongergravity:
@Conap: What will it take to park CELB 3.6 on my SD card?!? :) Or any other rom, for that matter...
[Droid Eris Android Development] korben dallas:
can someone tell me how to repartition my sd card back to its previous state :p

nm figured it out i think
[Droid Eris Android Development] truckerbob:
Ok, so:

1 512B 6000MB

2 6000MB 6250MB

3 6250MB 8000MB

4 8000MB 16000MB

5 4100MB 4200MB

6 4200MB 16000MB

Look good?

Should i wipe and reinstall as well?
[Droid Eris Android Development] Conap:
You would need to edit the boot.img for one...you can look at the link in the op for more information on that. Then you would need to add boot images and the flash_image binary into the rom to be able to boot back to the phone side and then the scripts that flash the boot.img

you can just repartition it with the option in recovery

yes you will need to wipe and reinstall if you repartitioned the card.
[Droid Eris Android Development] truckerbob:
OK, those partition sizes look good though?
[Droid Eris Android Development] Conap:
I think someone else stated they had issues with the first partition being bigger but I don't have a larger sd card to test on. Other then that it looks fine...only one way to see if it will work for sure....
[Droid Eris Android Development] truckerbob:
Ok, as soon as she gets back from the store, Ill give it another shot. Thanks for the help!
[Droid Eris Android Development] strongergravity:
Actually, my ideal would be to be able to replace the phone ROM any old time so I can try things out (which is why I am interested in dual-booting). My dream would be to have a flashable zip that could be used to make the changes needed to the new rom, including gscript & the scripts - something we could flash after a new install to let us regain access to our fallback everyday rom on the SD card. Kinda like we do with collin_ph, etc. Doing it this way would allow us to use a nand recovery simply if something does choke

Is something like this possible, or are the under-the-hood changes necessary too much for a plan like this?
[Droid Eris Android Development] truckerbob:
Model: SD SU16G (sd/mmc)

Disk /dev/block/mmcblk0: 15.9GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 512B 3500MB 3500MB primary fat32 lba

2 3500MB 3750MB 250MB primary ext2

3 3750MB 4100MB 350MB primary ext2

4 4100MB 15.9GB 11.8GB extended lba

5 4100MB 4150MB 50.0MB logical ext2

6 4150MB 15.9GB 11.8GB logical fat32 lba

(Took from another member with a 16GB card.)

This ROM is killing me, and the worst part is I know it is all user error. I wiped and reinstalled, now I have no market. Ill just pull the market apk from the ROM and try to push it. Ok, got market now. MBP still doesnt restore APPs, but TB did. Looks like all is well with the world. Thanks again!
[Droid Eris Android Development] truckerbob:
Well, so much for that. Everything was set up on FroYo and working with out a hitch, then I tried to boot back to 2.1. Gscript gave me an out of memory error, and its frozen at the 3 skateboards. I can boot to recovery, but it wont reboot. Im going to play around with adb and see if I can force it to reboot that way.

EDIT, I can ADB reboot, but If I try to adb reboot, in the top left corner of the screen, there is a red box that says "FASTBOOT USB" and It wont boot any farther.
[Droid Eris Android Development] fKngFtd:
Workshed quick question, is there a working 'GScript Lite.apk' for HTC Sense v1.5? I'm wanting to run stock 1.5 and 2.+, vise versa. I wouldn't know where to start, other then trial and error.
[Droid Eris Android Development] strongergravity:
With my 16GB I had similar problems. I tried multiple different partitioning combos, and all resulted in having no market and on a couple of occasions no Gscript either. Finally, I partitioned my card exactly like Conap listed, putting the additional 8GB to the last partition. After that everything worked (except Google Voice wont stay logged in, but oh well...)

mkpartfs primary fat32 0 3500

mkpartfs primary ext2 3501 3750

mkpartfs primary ext2 3751 4100

mkpart extended 4101 16023

mkpartfs logical ext2 4101 4150

mkpartfs logical fat32 4151 16023
[Droid Eris Android Development] Conap:
this means that the boot.img did not flash correctly...try flashing one of the zips that say bootrom1 or bootrom2....
[Droid Eris Android Development] truckerbob:
The wife was giving me a hard time last night about not having her phone, so I gave up on it, for now. Give me a couple days, Ill steal her phone, and we'll give it another go. Thanks!
[Droid Eris Android Development] workshed:
DualRom ... it's what's for Dinner :)
[Droid Eris Android Development] Conap:
We are working on a way to install both the rom's system partition on the phone and both the roms data partitions on the sd....it will make install a little better and hopefully that will help with those who are having trouble getting it to set up correctly. It will also make it possible for no wipe updates for releases after the next version which will be much better too. Unfortunately my laptop crapped out on me again this morning so the project got delayed a little but hopefully we can get it all straitened out soon.
[Droid Eris Android Development] mjgdroid:
Quick questoin How can I get a swap partitoin in there... would I put it after the last ext2 or before the first ext2 this is for my froyolinux thread. cause I want to make a swap partition for linux and I am not sure were to make the mount point
[Droid Eris Android Development] Conap:
yeah you could put it in right after the last ext2 partiion, right before the last fat32 partition...the only issue it would create is that on installation of dualrom then the install script won't push the gscript scripts to the right partition. If dualrom is already installed then it won't affect anything. Of course you could manually copy the gscript files to the last parition after the install too if you are reinstalling dual rom for any reason.
[Droid Eris Android Development] mjgdroid:
K trying this now will be back
[Droid Eris Android Development] fKngFtd:
DUAL ROM with OPTIONS?

Okay so I'm interested in updating my sd-OS to Elegant-Steal_Dark..... When I extract a (copy) of Dual ROM v1.1 "META-INF,sdcard,system" are all listed folders. In sdcard there is a file called "command" which is copied from "install2.2.sh" in folder "/system/bin"

'install2.2sh'

#!/sbin/sh

#

cp /sdcard/command /cache/recovery/command

exit 0

Am I on the right track?, and any info will be used for all greater rom goodness.
[Droid Eris Android Development] ErisDroid?:
Wow! This is exactly what I've been waiting for! Thank you all so much for this, it works great! I had a little trouble partitioning my SD card, but worked that out (user error). Other than that, I can't say enough good things about it. It's like a brand new phone, well two actually.

*Edit*

One question, why can't I drop apps to the SD Card in froyo? It works fine for the Sense side. The froyo side doesn't show any thing on the SD card.
[Droid Eris Android Development] icedventimocha:
SD partitioning help

I've tried multiple times unsuccessfully to partition my sd card through adb to do this, I even tried to use a moto droid to do the partitioning, is there any other way to do this? Like maybe through the partition option in ra recovery, or through disk management in windows? I really wanna get this up and running on my eris, any suggestions?
[Droid Eris Android Development] Conap:
If you are using windows it will always mount the first partition which is the Sense side...if you go to add script in gscripts you should see a script to mount sd and unmount sd...these scripts run from gscript should mount the Froyo partition so that your computer see's it and will allow you to drop the apps onto the card. You could also do :

adb push appname.apk sdcard/ from your pc to push files to the sdcard as well...

Are you booted to recovery? You must be in recovery and do an adb shell to be able to use the parted command. You can partition the card with any program you want to use as long as it allows you to make fat32 and ext2 partitions. The most important part of the partitioning is that they are in the order listed in the op.