ROM flashable-zip packagers PLEASE READ! - Nook Color Android Development

It seems that there are a lot of ROMs out there that are doing some funky stuff from the edify scripting in CWM and providing a poor user experience. This overall hurts the entire custom NookColor community and puts a bad taste in peoples mouths.
This post is to point out best practices when creating CWM flashable zips in a consistant way allowing the user to upgrade and migrate between roms in a predictable way.
Rule #1: Don't touch /data!
There are many reasons why you don't want to touch /data but the most important is to allow the user to be able to upgrade your rom without completely wiping your data.
If you want to bundle in an applications (first of all... don't but if you reaally think it is necessary) put it in /system/app as a system app.
Rule #2: Don't overwrite /boot/uRecRam and /boot/uRecImg!
ROM and CWM should be separate. Users should be able to use your rom with CWM or even the stock recovery if they wish to. Allow the user to choose what version of CWM they want to run and allow them to upgrade it independently of your rom.
This allows you to not re-release roms every time a new version of CWM is released.
Exceptions to the rule are update zip that are intended to install CWM (which is ok) or zips that will restore the entire system to stock.
Rule #3 Learn edify
Edify scripting is quite powerful. It saddens me to open up the updater-script of a rom and see it extracting a script and then executing the script.
Don't store your roms as .tars and require a script to extract them to the right locations, you should be doing this all from edify scripts.
Rule #4: Only touch /system and /boot/uImage and /boot/uRamdisk
All other files should be off-limit! This goes back to rule #1 and rule #2. A rom should consits of a kernel, a ramdisk to boot the system and /system files for running the rom!
Rule #5: NEVER EVER EVER modify partitions or wipe the EMMC completely!
I cannot stress this one enough. Use stock partition scheme for your rom. It may seem like a "waste" to you but this is what will make all our roms compatible with each other!
Also the Nookcolor stores NVRAM type information on /dev/block/mmcblk0p2 and factory restore information and a backup of p2 on /dev/block/mmcblk0p3.
If you wipe these directories in your update.zip you WILL BRICK THE USERS NC! It may work for you but they can never return to stock. Their serial number and mac addresses will be lost!
Just don't even think about doing anything with the partition map or these partitions!
Rule #6: When in doubt look at the CM update.zips
A good example of the rules above is portrayed in the CyanogenMod nightly roms for the NC. Look at the updater-script in META-INF/com/google/android and see how things are done.
If we all agree to follow these rules the NC users will get a better and more consistent experience and you will have more users for your rom.

For the users I will list the ROM that are compatible with the list above and list ROMs that don't follow these rules.
ROMs that follow proper packaging
These rom have been built properly according to the rules in the OP. I highly recommend testing any of these out.
Cyanogenmod Nightlies
phiremod nook V5.2
Nookie Froyo 0.6.8
(Utility Update.zip) Nook Color SDcard and emmc swap
ROMs that DON'T follow proper packaging
Use these roms at your own risk!
Flashable eMMC dual boot ROMs
Dual booting roms violates changing the the parition table! If you want to dual boot I would use a bootable SD. If you get a class 6 or higher SD card the performance difference should be pretty low. The perceived speed boost i believe is negligible.
Avoid this rom if you are new to Android or the NookColor. I would call this rom an "Advanced user" rom and not for new members of the community who are unfamiliar with Android, Linux, or the NookColor
Click to expand...
Click to collapse
HC v4 eMMC 2nd ed. - Flashable ZIP
This rom packaging is the poster child for how to do it wrong. They overwrite your /data for app customization. It uses an external script and tar files for extraction and overwrites all of /boot!
AVOID THIS ROM PACKAGE!
Click to expand...
Click to collapse

This looks very wise and in accord with general programming principles.
In the same area of discussion, can you talk about whether or not to clear cache while doing this same update process.
In fact, some explanation of /cache and Dalvik Cache and Market Cache might help to alleviate confusion, especially in regards to specifically what they are, and when one should clear them.
Sure, a "cache" is a piece of data that is frequently used, and so put in a more accessible place, but in typical confusing fashion, that general term is being used in a specific way in Android.
Thanks !

Nice. Good guidelines.
It would, in a perfect world, be nice if a standard CWM recovery would give a choice to either write to SD or EMMC. Then we would not have many of these more involved boot file and CW file edits and changes that are making things more complicated.
If everyone used CW to right to EMMC, this would be easy. But users like myself are running ROMs from SD and are always looking for a way to easily update and flash mods or ubdate ROMs to SD. Yes I use ADB, and other methods, but often I am traveling and away from my office or studio were my PC's are.
Any ideas on CWM to keep things more unified as the op suggests and be able to write to bootable SD cards?
Thanks for starting the discussion.
12

Good explanation/write-up, nemith. Not being a dev, but a user, it helps me to better understand which ROMs to use on my NC. I really liked HC EMMC, but did not realize that it would make it so I could never return back to stock (losing my S/N and such).
Also concur with ADude about cache....a good explanation would be helpful here. I only clear the cache/Dalvik when installing a new kernel. Not sure if even necessary? And, I clear AFTER installing, not before, so not sure if I am even doing that in the correct order. Setting the record straight would go a long way for us non-devs.
Sorry, one more thing, it would be great to have a consistently updated bootable SD card with latest/greatest of CWR on it. I am still on 3.0.0.6 and I am not sure why??
Thanks!
~ Razir

Could have used this a few months ago.
Thank you.
Nemith, your thread is directed at devs. If you want to make sure people don't flash my HC v4 2nd edition, you might want to invite users to read this as well.

nemith said:
ROMs that DON'T follow proper packaging
Use these roms at your own risk!
Flashable eMMC dual boot ROMs
Dual booting roms violates changing the the parition table! If you want to dual boot I would use a bootable SD. If you get a class 6 or higher SD card the performance difference should be pretty low. The perceived speed boost i believe is negligible.
I would avoid dual booting roms if you can!
Click to expand...
Click to collapse
I have this installed..... I am going to run the dual boot removal zip when I get home.
Am I screwed? Anthing I need to worry about?

12paq said:
Nice. Good guidelines.
It would, in a perfect world, be nice if a standard CWM recovery would give a choice to either write to SD or EMMC. Then we would not have many of these more involved boot file and CW file edits and changes that are making things more complicated.
12
Click to expand...
Click to collapse
I've thought of this. CWM would require a major rewrite to do this and the changes would never be sucked in.
Maybe one of these day's I will may my own CWM Kang that can do this, or better yet a desktop application that takes a update.zip and splits out a SD image!

cromanorn said:
I have this installed..... I am going to run the dual boot removal zip when I get home.
Am I screwed? Anthing I need to worry about?
Click to expand...
Click to collapse
No you are just in the "I am smart enough to use these roms without posting big "help me" posts on XDA.
These roms are not really harmful, but they should be avoided by people who don't understand the nook and how it works.
If you understand Android and how the NC is laid out then there should be minimal risk to using these roms. I just want to spell it out for people who are new to the NC or Android that these are "advanced" roms.

nemith said:
No you are just in the "I am smart enough to use these roms without posting big "help me" posts on XDA.
These roms are not really harmful, but they should be avoided by people who don't understand the nook and how it works.
If you understand Android and how the NC is laid out then there should be minimal risk to using these roms. I just want to spell it out for people who are new to the NC or Android that these are "advanced" roms.
Click to expand...
Click to collapse
THANKS!!! I had the NC for about 4 days now and would hate to have messed it up in the long run. I have a Droid Incredible that has been flashed more times than I can remember. It would be nice if the warnings were incorporated into the OP of these roms. I read the entire thread before flashing and I may not have flashed if this warning was there. I like having the option of going back to Stock without repercussions.
edit: Just saw the update you put in your OP about advanced users. I don't consider myself advanced but I am not a beginner either.

nemith said:
I've thought of this. CWM would require a major rewrite to do this and the changes would never be sucked in.
Maybe one of these day's I will may my own CWM Kang that can do this, or better yet a desktop application that takes a update.zip and splits out a SD image!
Click to expand...
Click to collapse
Yup. That would be very nice.
The Nook having SD boot priority really makes it versatile for testing, and quite recoverable. It also satisfies a unique situation where many users have a family device with Nook magazines and children's books not available on the Nook app, so many like myself are booting experiments and daily runners from SD and keeping the wife happy. LOL.

cromanorn said:
edit: Just saw the update you put in your OP about advanced users. I don't consider myself advanced but I am not a beginner either.
Click to expand...
Click to collapse
If you go digging at nookdevs.com and on your own NC you should be able to figure out what is safe and what is not.

nemith said:
Rule #6: When in doubt look at the CM update.zips
A good example of the rules above is portrayed in the CyanogenMod nightly roms for the NC. Look at the updater-script in META-INF/com/google/android and see how things are done.
If we all agree to follow these rules the NC users will get a better and more consistent experience and you will have more users for your rom.
Click to expand...
Click to collapse
the ironic thing is CM Roms don't fully follow Rule #3 since they have multiple scripts that run inside their packages during rom installation.

I'm not sure you are correct in saying that if you flash one of the HC emmc roms you can not revert back to stock. I know for a fact I have done both the dual boot, and HC emmc roms and reverted back to stock multiple times after doing so
I'm not saying you are wrong but I don't think i did anything to "advanced" to get back.

Quoted:
(I have this installed..... I am going to run the dual boot removal zip when I get home.
Am I screwed? Anthing I need to worry about?)
I had it installed and got back to stock no problem... i'm not sure what he is talking about.... i could be wrong though...
It was dualbooted CM7 and HC
went back to stock, registered with BN and all was well.
nooted it and then install HC on emmc
reverted back to stock to set up the ubuntu on NC
got bored of that and am back on HC on emmc

I went back to stock after both as well. Has anyone not been able to after using one of those two roms? I work at b&n and I had to spend time with the stock since they wanted me on the nook counter. I've been back and forth between all the roms more times then I can count.
Sent from my NookColor using Tapatalk

To the OP again i'm not trying to be rude, but could you respond to the last few commenter on this thread, it seems like my self a few others are having an experience that is quite different from what you described in your first post.
Could you help me understand why it hasn't been that difficult to get back from the roms that you specifically said can make it very hard to go back to stock from for us?
I'm currently on HM on emmc and if i did something fancy to get back the last time i restores i'd like to know if i need to do it again.
(edit) I bring this back up only because I saw this thread referenced again recently, which means it is having an effect on peoples work so i'm just trying to understand it.

[Edit] It was the SD card's fault. It seemingly worked fine in the laptop and it mounted fine in CW Recovery, but as soon as I used a different SD card I could flash zips again.
So, now I'm playing with phiremod v6 and loving the Nook again.
I believe I just bricked my Nook through use of the dual boot script.
I can only boot from SD into CW but not a single zip can be applied to the internal storage. Not even the "reverse dual boot" zip will run. They all error out.
I believe this is due to unexpected partitioning.
I even formatted boot, system and cache and still it will not restore any Roms.
So now I'm hoping to access the Nook through USB and repartition the internal storage manually. But before I do that, I need to learn about ADB and what the correct settings are.

jlt220 said:
To the OP again i'm not trying to be rude, but could you respond to the last few commenter on this thread, it seems like my self a few others are having an experience that is quite different from what you described in your first post.
Could you help me understand why it hasn't been that difficult to get back from the roms that you specifically said can make it very hard to go back to stock from for us?
I'm currently on HM on emmc and if i did something fancy to get back the last time i restores i'd like to know if i need to do it again.
(edit) I bring this back up only because I saw this thread referenced again recently, which means it is having an effect on peoples work so i'm just trying to understand it.
Click to expand...
Click to collapse
I don't think Nemith was saying that the existing dual boot installer is going to prevent you from returning to stock. He singled it out as a "ROM" that modifies the partition table, which can be a dangerous thing to do. There is information stored in the /dev/block/mmcblk0p2 and /dev/block/mmcblk0p3 partitions that is specific to each device and required by the B&N software. This information can't be rebuilt easily if lost.
The dual boot install and removal tools (in their current versions) appear to leave these partitions in tact. They are modifying the partition table though, so they're not recommended for novice users. You were able to install and uninstall it with no problems, so you're clearly not one .
The other point is that future versions of the dual boot (doubtful since it has a good dev) or other similar style "ROMs" may not be so careful with your 0p2 and 0p3 partitions.

Related

How important is partitioning the gTablet?

I did NOT paritition my gTablet after I installed CWM 0.8. My CM7-based ROMs have installed and worked just fine, including the new Market app. Do I need to partition?
The only real error I have had is the inability to transfer files (using Astro) between my internal 16 GB memory (/mnt/emmc/) and my installed 2GB sd card (/mnt/sdcard). Will partitioning help solve this?
TIA!
I think partitioning is an important step and really should be a mandatory step at least for the first flash. It sets up your memory structure in the same architecture that the roms and recovery were built in. Its quick, painless and can solve many issues before they even start. Its best done right when you first start flashing as it destroys all data on the tablet, so anything you want to save needs to be backed up on a PC first.
Mantara said:
I think partitioning is an important step and really should be a mandatory step at least for the first flash. It sets up your memory structure in the same architecture that the roms and recovery were built in. Its quick, painless and can solve many issues before they even start. Its best done right when you first start flashing as it destroys all data on the tablet, so anything you want to save needs to be backed up on a PC first.
Click to expand...
Click to collapse
I agree with Mantara. I think it reduces the chances of corrupting the tablet's data. Also, repartitioning is a bigger pain if you decide to do it later when you have a like a ton of files in your internal memory and have to back it up because repartitioning reformats the internal sd card.
McGoo,
I don't disagree with Mantara that prevention might be good. You'll have to make that call.
I look at re-partitioning from the recovery perpective -- it simply hinges on the fact
that I have noticed what I believe is a correlation between Boot Loops and the need
to re-partition. Re-partitioning (and the associate wipes/etc.) seems to fix the boot
loops most of the time.
If your tablet is working fine, I go with the old computer quote "If it ain't broke, don't fix it!!!"
*********
Your other question -- I don't have a firm answer. The Android file system and the
USB stuff on the tablet -- to me operate in a strange. Kind of an OS with an arm or
two tied behind it's back. I know that's not an answer, so I'll quit.
Rev
butchconner said:
McGoo,
I don't disagree with Mantara that prevention might be good. You'll have to make that call.
I look at re-partitioning from the recovery perpective -- it simply hinges on the fact
that I have noticed what I believe is a correlation between Boot Loops and the need
to re-partition. Re-partitioning (and the associate wipes/etc.) seems to fix the boot
loops most of the time.
If your tablet is working fine, I go with the old computer quote "If it ain't broke, don't fix it!!!"
*********
Your other question -- I don't have a firm answer. The Android file system and the
USB stuff on the tablet -- to me operate in a strange. Kind of an OS with an arm or
two tied behind it's back. I know that's not an answer, so I'll quit.
Rev
Click to expand...
Click to collapse
that's the approach i'll take for now. when time comes for officially official CM7 tablet releases, i'll reformat then. until then i'll just enjoy things as they are. thanks for the feedback, all.

Cwm builds

Hey this is gonna sound dumb but can we use hd2 cwm builds
sent by DAN SWAGGER via tapatalk/simple mobile
dswaggz said:
Hey this is gonna sound dumb but can we use hd2 cwm builds
Click to expand...
Click to collapse
No. Neopeek already has made CWM for the RHOD. It's still based on the SD card tho...
If you think we can "just use" the HD2's NAND ROM's, you are kidding yourself...
Ok well I was in the x1 section will there builds work an what is the difference or benifit from using cwm over XDANDROID
sent by DAN SWAGGER via tapatalk/simple mobile
I think you are asking the difference between cwm builds and looped builds.
well IMO updating files like test libs is much easier in cwm but reverting test libs is much easier in looped system. On the whole i think cwm should be used by expert users who know how to use adb and unix commands to repair stuff when things go wrong.
There should be no problem running xdandroid as a cwm build but someone has to be motivated enough to do that.
tovarish said:
There should be no problem running xdandroid as a cwm build but someone has to be motivated enough to do that.
Click to expand...
Click to collapse
Indeed, the X1 is running CWM from Neopeek - SD card installs.
I made a FRX06 CWM build but it was really buggy. I didn't give it the attention it deserved, but since I couldn't get it off the ground on my phone I never posted it.
There's nothing holding anyone back from doing it... It booted for me, just had a ton of bugs - much more than the normal FRX06 build did, so I put it off to the side.
I can confirm frx06 cwm build is working for me
yankees2450 said:
I can confirm frx06 cwm build is working for me
Click to expand...
Click to collapse
Oh nice, i thought that the rootfs differences would be the main cause of problems. was that your experience.
I am running frx06 via cwm too (the same FRX06 build I only made a .zip package of it). Everything works fine for me just like the normal FRX06 build. If people want it, I can post a link.
But this is a bit off topic.
The answer on your question is no, we can't use hd2 cwm builds (if i'm right )
tovarish said:
Oh nice, i thought that the rootfs differences would be the main cause of problems. was that your experience.
Click to expand...
Click to collapse
the roofts is the same. I think neopeek change a few things, like init, initrd etc....
I'm using. [BUILD] **Complete Froyo Bundle!!** FRX06 - "Stable" - Minor Fixes http://forum.xda-developers.com/showthread.php?t=951962
here
frx06 cwm build
http://www.multiupload.com/PGZ7H8KTIT
tovarish said:
I think you are asking the difference between cwm builds and looped builds.
well IMO updating files like test libs is much easier in cwm but reverting test libs is much easier in looped system. On the whole i think cwm should be used by expert users who know how to use adb and unix commands to repair stuff when things go wrong.
There should be no problem running xdandroid as a cwm build but someone has to be motivated enough to do that.
Click to expand...
Click to collapse
I agree to a certain degree. But just to add, with cwm if you mess up it is very easy to fix. Their is a backup/restore function. When you get your build working you backup. Then if you have messed something up or currupted your data you don't even need to reinstall! Just restore the data partition. If you are messing around with the system and you mess up just restore the system partition, your data will even be safe. I find this very handy, it is a pain to havta reinstall everytime something breaks
Well how big can you make the partions
sent by DAN SWAGGER via tapatalk/simple mobile
dswaggz said:
Well how big can you make the partions
Click to expand...
Click to collapse
I don't know if there's an upper limit, AFAIK there's only a lower limit... 120-150mb for system, and at least 250mb I'd say for data...
dswaggz said:
Well how big can you make the partions
sent by DAN SWAGGER via tapatalk/simple mobile
Click to expand...
Click to collapse
This is recommended, but if you want larger partitions, it's also good:
Code:
1st partition: FAT32 (sdcard / Rest)
2nd partition: EXT2 (system / about 150MB -> depends on the build )
3rd partition: EXT2 (data / about 250MB)
4th partition: EXT2 (cache / about 50MB)
You have to make the partitions in that order. If you want a bigger data part, just make it about 500MB or 1GB.
I would recommend a much larger /cache partition (100+ MB) if you plan on installing many apps. This is because the dalvik cache is mounted on the cache partition.
Yes maybe thats better, but I just posted the sizes that are recommended by neopeek (who made CMW avaible on our devices).
But yes, if you have a 2GB sd card or something, it's better to make the partitions larger.
This works faster than the pure FRX06 on the main page. You should post it so others can use this version
bleuleon said:
This works faster than the pure FRX06 on the main page. You should post it so others can use this version
Click to expand...
Click to collapse
It seems faster to me, too... but I don't know if I'm just imagining it or not. Is there a reason it would be faster? I don't really know enough about these things to hazard a guess...
ppcfly said:
It seems faster to me, too... but I don't know if I'm just imagining it or not. Is there a reason it would be faster? I don't really know enough about these things to hazard a guess...
Click to expand...
Click to collapse
I guess because the partitions are dedicated, instead of loop mounts? I wouldn't think this would net much speed... Perhaps it does. Perhaps it's just snake oil and that's your perception .
arrrghhh said:
I guess because the partitions are dedicated, instead of loop mounts? I wouldn't think this would net much speed... Perhaps it does. Perhaps it's just snake oil and that's your perception .
Click to expand...
Click to collapse
I think after switching to partitions on FRX, I have seen a speed improvement. It's very hard to say for sure on this sorta thing, especially since I only spent a few days with FRX (coming from GRX) before partitioning.
However, the amount of times where I wonder whether my device is frozen or just didn't recognize my input has gone down to bearable levels recently, and the only change that seems relevant I've made recently is partitioning.
arrrghhh said:
I guess because the partitions are dedicated, instead of loop mounts? I wouldn't think this would net much speed... Perhaps it does. Perhaps it's just snake oil and that's your perception .
Click to expand...
Click to collapse
A strong possibility... perhaps someone needs to make an app with an dummy dial I can turn up to 11.
Have you tried the cwm fx6 yet arrrghhh? Just curious if you think it's faster or not...

[Q] How does the Streak work?

I'm sure there is an article or thread somewhere that outlines things like what is stored to the 2gb miniSD, what goes on the 16gb, if there is a built in memory chip and what is on that.
If anybody can point to one, I would be very appreciative.
I'd also like a link to a definitive explanation of what happens during the different types of recoveries. What is the difference between using zip files and pkg files, for example. How come some zip updates only make small changes but others can completely rewrite the phone and brick it?
What does it take to do the equivalent of formatting your computer and starting completely over with a fresh phone? I mean cleaning everything out.
What is it about this phone that a full nandroid backup will successfully bring back the phone one day and fail miserably the next?
I want to really understand this phone, because I am not going back to a smaller screen so it looks like I'm stuck with it for a while because there just doesn't appear to be a mad rush of manufacturers releasing 5 inch phones.
mid_life_crisis said:
I'm sure there is an article or thread somewhere that outlines things like what is stored to the 2gb miniSD, what goes on the 16gb, if there is a built in memory chip and what is on that.
If anybody can point to one, I would be very appreciative.
I'd also like a link to a definitive explanation of what happens during the different types of recoveries. What is the difference between using zip files and pkg files, for example. How come some zip updates only make small changes but others can completely rewrite the phone and brick it?
What does it take to do the equivalent of formatting your computer and starting completely over with a fresh phone? I mean cleaning everything out.
What is it about this phone that a full nandroid backup will successfully bring back the phone one day and fail miserably the next?
I want to really understand this phone, because I am not going back to a smaller screen so it looks like I'm stuck with it for a while because there just doesn't appear to be a mad rush of manufacturers releasing 5 inch phones.
Click to expand...
Click to collapse
There are many out there, too many to list as a matter of fact... if you just use the Search function you will find all your answers. I hate to sound rude but this is just the type of thing the search is meant for. There are several guides that outline all you want to know, but I point them out to you, you won't be any the wiser by just clicking on them. The jargon you have to go through to get to the meat of your questions will teach you everything you need to know along the way.
I've tried searching. The problem is choosing words that get usable results without also getting a ton of useless ones to wade through.
mid_life_crisis said:
I'm sure there is an article or thread somewhere that outlines things like what is stored to the 2gb miniSD, what goes on the 16gb, if there is a built in memory chip and what is on that.
Click to expand...
Click to collapse
There is no single article where you can get all of this info. Best general resource is the XDA Wiki on the Streak.
For more info on the workings of the inner SD Card see this thread at MoDaCo.
mid_life_crisis said:
I'd also like a link to a definitive explanation of what happens during the different types of recoveries. What is the difference between using zip files and pkg files, for example. How come some zip updates only make small changes but others can completely rewrite the phone and brick it?
Click to expand...
Click to collapse
The stock recovery will install .pkg files (update.pkg or OTA upgrades). These are a full replacement for the software on your phone. When installing as an update.pkg file it is best to use the recovery for the version you are installing.
When installing an OTA update the recovery that preceded the one you are installing should work if your are 'upgrading' to a ROM from the same region, the checks that are done during an OTA update will prevent a phone from one region using an OTA update from another region. The advantage to using the OTA update process is that you retain your apps and settings. OTA updates are done by downloading the file to your phone and then tapping the DL notification in the notification bar.
A custom recovery (use StreakMod recovery) will write .zip files. These files can be a theme like a new notification bar or a ROM like StreakDroid or SimpleStreak. Custom recoveries are able to write a subset of the phones software. Most custom ROMS are not a full replacement for the the phones software, which is why they may include directions to flash a certain baseband or other additional files.
mid_life_crisis said:
What does it take to do the equivalent of formatting your computer and starting completely over with a fresh phone? I mean cleaning everything out.
Click to expand...
Click to collapse
Installing a stock rom with a stock recovery from recovery mode will do this. Since a stock ROM is the whole software package this will also make sure that the baseband and amss.nbn files are all in sync (same version). Doing this or a factory reset formats the internal SD Card.
mid_life_crisis said:
What is it about this phone that a full nandroid backup will successfully bring back the phone one day and fail miserably the next?
I want to really understand this phone, because I am not going back to a smaller screen so it looks like I'm stuck with it for a while because there just doesn't appear to be a mad rush of manufacturers releasing 5 inch phones.
Click to expand...
Click to collapse
I have never had a nandroid backup fail. I use StreakMod recovery.
If you check out the links in my signature you may find more answers.
Posts like that last make me really pissed off that I can only click "Thanks" once per post.
Modding your Streak - where to start expands on my answer posted here.

Are two roms possible with opening boot choice

On the gtablet. Can I have two (1.2) rom's like Beasty's 2 + Clemsyn and say.... eventually the ICS beta? And choose at bootup which to load? I looked for threads and links but saw none specific to this so I'm thinking no.
If not possible.... are there instructions on the fastest way to switch between roms? I'd like to go back and forth easily.
People had luck getting 2 roms to boot by dropping 1 rom into the recovery partition but in the long run it creates a mess due to the filesystems butting against eachother. Dual booting is not recommended imo.
It's possible with some work.
See this post for a discussion and the thread its in for an implementation (though it was meant for something else).
Thank rajeevvp, that's a very insightful post you linked to! I always wondered about that, especially after reading that the nook color had a tripple boot option. But it makes me wonder, is there any real adavantage to having a recovery partition considering most ROMs for the gtablet recommend nvflashing back to stock anyways? I suppose you would lose the ability to back up your current ROM if you sacrificed the recovery partition (unless there is a method to do so using nvflash that I'm unaware of).
Thanks,
-m2x-
m2xtreme said:
But it makes me wonder, is there any real adavantage to having a recovery partition considering most ROMs for the gtablet recommend nvflashing back to stock anyways?
Click to expand...
Click to collapse
Having a recovery partition is always useful. See this thread for an example of how recovery can be used for fixing things while saving your data. Nvflash is useful when you want to start over from scratch--in case of disasters. It should not be used as a pre-requisite for installing ROMs.
I suppose you would lose the ability to back up your current ROM if you sacrificed the recovery partition (unless there is a method to do so using nvflash that I'm unaware of).
Click to expand...
Click to collapse
Nvflash only operates on the 512 MB NAND flash. So, it cannot be used to backup the /data, the /sd-ext partition and the /mnt/sdcard/.android_secure directory which hold all your settings and apps. Loss of recovery is mitigated somewhat by having a second ROM as a fallback. You could do what CWM does now using a few shell scripts.

[Q] 2013 HTC Droid Eris = Paperweight?

Is there anyone out there who is willing to point me in the right direction for re purposing my retired Eris (RIP 02-12-13)? Hoping it can be a tool for learning (still in A- shape), instead of a paperweight! I have been doing some reading, but downloading is another story, mostly 404s out there now.
P.S. First post in any forum ever, just a humble android noob searching for knowledge and stable Roms from those who offer, sorry if I have posted this in the wrong place, obviously I have posted at the wrong time! A million thanks in advance to anyone with good news or advice!
DB73 said:
Is there anyone out there who is willing to point me in the right direction for re purposing my retired Eris (RIP 02-12-13)? Hoping it can be a tool for learning (still in A- shape), instead of a paperweight! I have been doing some reading, but downloading is another story, mostly 404s out there now.
Click to expand...
Click to collapse
What is it you are looking for? I have copies of a lot of ROMs.
doogald said:
What is it you are looking for? I have copies of a lot of ROMs.
Click to expand...
Click to collapse
Hello, and thank you, I am happy to here some good news. I am obviously new to this, but I love to try out different OSs and remaster them the way I see fit. I have just not taken the plunge with android. Since I have never installed any, it's hard to say witch ones I would like best. I would take any ROMs I could get. I figure I can experiment and learn with my Eris, then re purpose it for my son to play games, take pictures etc.
P.S. I downloaded the Jcase / Eclipse3 one click root. Is this the method you would recommend for getting su privileges? I would love to hear your preference on an easy and up to date rooting method. My Eris is currently bone stock with official 2.1, and up to date according to it.
DB73 said:
Hello, and thank you, I am happy to here some good news. I am obviously new to this, but I love to try out different OSs and remaster them the way I see fit. I have just not taken the plunge with android. Since I have never installed any, it's hard to say witch ones I would like best. I would take any ROMs I could get. I figure I can experiment and learn with my Eris, then re purpose it for my son to play games, take pictures etc.
P.S. I downloaded the Jcase / Eclipse3 one click root. Is this the method you would recommend for getting su privileges? I would love to hear your preference on an easy and up to date rooting method. My Eris is currently bone stock with official 2.1, and up to date according to it.
Click to expand...
Click to collapse
Yes, if you can find the JCase 1-click root, that will root the phone just fine.
There is another method very well documented here: http://androidforums.com/eris-all-things-root/127861-universal-eris-root-dummies.html (which also walks you through installing for your first custom ROM.)
I have some ROMs in my Dropbox if you can't find links.
xtrSENSE (stock 2.1 Eris ROM, rooted): https://dl.dropbox.com/u/220420/Eris/xtrSENSE/xtrSENSE5.0.1.zip
Workshed's GSB: https://www.dropbox.com/s/dvpuv4sbwmun43f/GSB.v4.5-final_ODEXED_CM7.2-Eris.zip
CondemnedSoul's CM7.2: https://www.dropbox.com/s/g1irvshpg7u7trr/CCM7_Eris_V24_RIP.zip
The last two are CyanogenMod Gingerbread ROMs. I think that GSB requires that you also flash Google apps in order to get the market. If so, you can get it from CyanogenMod here: http://cmw.22aaf3.com/gapps/gapps-gb-20110828-signed.zip
(So, if you need to flash gapps, you go into Recovery. Wipe data/factory reset. Flash the ROM. Flash google apps. THEN restart the phone.)
doogald said:
Yes, if you can find the JCase 1-click root, that will root the phone just fine.
Just realized why it wouldn't let me post, because of the links in my reply, :silly:
Thank You, I downloaded the ROMs. The link for gapps is dead though. Was that just needed for Workshed's GSB or also for CM7.2?
I have a few questions to throw out there:
1. I was thinking about doing another factory reset, my attempt to have a clean recovery. What will non-activation after boot with no service do?
2. Does vanilla = fast, lightweight, performance, more partition space for user? If so, do you have any recommendation / or a link?
3. Rumored Jellybean for the Eris, love to find the latest build, is it still available? Links point here (XDA) but no download.
4. Is there any way to get google play instead of market working on the Eris?
(((Thanks again for everything)))
XML Parsing Error: unexpected parser state
Location: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/chrome/toolkit/content/global/netError.xhtml
Line Number 308, Column 50:
Click to expand...
Click to collapse
DB73 said:
Thank You, I downloaded the ROMs. The link for gapps is dead though. Was that just needed for Workshed's GSB or also for CM7.2?
Click to expand...
Click to collapse
Try this one: http://goo-inside.me/gapps/gapps-gb-20110828-signed.zip
CondemnedSoul's includes the Google apps already and does not require a separate flash of the gapps zip file.
Ok, I just checked: GSB does NOT require google apps, either; they are already included. You can ignore that step.
I have a few questions to throw out there:
1. I was thinking about doing another factory reset, my attempt to have a clean recovery. What will non-activation after boot with no service do?
Click to expand...
Click to collapse
Oh, good question. I would avoid it if you can. The Eris will insist that you activate. However, if you follow the prompt to activate and then press the disconnect button as soon as you hear it ring, it will try activation again two more times. If you disconnect after hearing the ring those two times as well, the phone will give up on activation and allow to continue with setup.
2. Does vanilla = fast, lightweight, performance, more partition space for user? If so, do you have any recommendation / or a link?
Click to expand...
Click to collapse
Not necessarily. In my experience, xtrSENSE is fastest, but the GB ROMs are just fine. You may not notice the difference. However, xtrSENSE has a method called cache2cache that frees up more storage space or user applications and data. If you install a lot of apps, xtrSENSE may give you more space.
That said, there are disadvantages, including missing out on apps that do not run on android 2.1.
There is something called xtrcache2cache that you can flash on the GB ROMs to give you the same sort of space. I'll try to find a link.w
3. Rumored Jellybean for the Eris, love to find the latest build, is it still available? Links point here (XDA) but no download.
Click to expand...
Click to collapse
I've never tried it, and I can't believe it runs with any sort of decent performance anyway.
4. Is there any way to get google play instead of market working on the Eris?
Click to expand...
Click to collapse
Not on android 2.1, but the two gingerbread ROMs will update the market to the play store.
xtrcache2cache is here: http://forum.xda-developers.com/showthread.php?t=924562
The download link there seems to work.
Copy that file (xtrCMCache2cache.zip) to your SD card. This is only for the Gingerbread ROMs - it's not necessary for xtrSENSE.
Restart the phone to recovery. If you have already flashed one of those ROMs, simply flash that xtrCMCache2cache.zip file - do not wipe data or Dalvik cache first. Restart the phone, and you'll have probably about 20-30 MB more free storage space for apps and data.
If you have not already flashed GSB or CondemnedSoul's, do this:
- restart in Recovery
- wipe menu
- wipe data/factory reset
- main menu
- flash a zip file, and choose GSB or Condemned
- flash a zip file, and choose xtrCMCache2cache.zip
- restart the phone
doogald said:
xtrcache2cache is here: http://forum.xda-developers.com/showthread.php?t=924562
OK, I will read what I have gathered one or two more times before taking the plunge. I am thinking of using the Jcase method, it seems pretty much idiot proof. I have the file and ROMs stored on my PC, and now on a CD as well, just so I don't loose them. If I have this right, I will:
Pre-Steps:
Copy the Jcase one click root file to an empty SD card, install a file explorer app capable of launching it, take a deep breath, here we go Or maybe I have to copy to android filesystem first?
1. Execute Jcase's one click, and after reboot, I should have the Amon Ra recovery. This is simple, but also the most dangerous part? If this were to fail, it would be similar to a bad BIOS flash. This would brick the phone, if I am understanding this correctly.
2. Then Use the recovery to flash rootme.zip now located on SDCard. Going to use a 2 Gb card from my old LG 8350 (phone before Eris).
3. Do Nand backup of semi clean stock OS. By doing so I will loose the stock recovery for good, meaning no more resets to OG clean?
3.5? On second thought, doing one last reset first would remove all user data with my name and credentials. It may be wise to do this, as it will eventually be in the hands of a 5 year old. This would prevent accidental purchases, I think! On the other hand, if I ever break or loose my new phone and need a temp phone, I could keep this image (as is) to use temporarily with Verison until I get a replacement! I can only choose one of these options. I guess the latter is best, and use only a custom ROM for my son to play with. Hopefully I can temporarily disable or somehow limit su before giving it too him.
4. Do Nand backup of original official image, and put somewhere safe, like 2 places + on CD then remove from SD for more available space.
5. Flash one of the 3 downloaded ROMs and also xtrCMCache2cache if desired to desire-c
6. I assume that appstoSD is something I would need to download now, then add after previous steps, if I feel the need!
7. Then its off to test land! I hope I understand this correctly. The one step I have missed is definitely very important. I did not verify the MD5 on Jcase's one click. In fact I don't even remember where I downloaded it from. Truth being told, I have never manually done a MD5 verification! I guess I have one more step that I absolutely need to learn as it is much more important in Android, especially for recovery!
Edit: I have re downloaded the file from here (XDA), did not see a sum to compare it to? I hope the file still is OK!
Edit # 2 I downloaded a MD5 calculator and this is the output (F34FECFFB985553B68D66F6AC1EF27D3) for the erisone010.apk file
Another big thank you Doogald, If I have something wrong here, please, feel free to beat it into me now, before I do something stupid!
Click to expand...
Click to collapse
DB73 said:
Pre-Steps:
Copy the Jcase one click root file to an empty SD card, install a file explorer app capable of launching it, take a deep breath, here we go Or maybe I have to copy to android filesystem first?
Click to expand...
Click to collapse
No, Your regular SD card is fine. You do need to enable third-party app installs; you'll find that setting in settings->applications.
1. Execute Jcase's one click, and after reboot, I should have the Amon Ra recovery. This is simple, but also the most dangerous part? If this were to fail, it would be similar to a bad BIOS flash. This would brick the phone, if I am understanding this correctly.
Click to expand...
Click to collapse
Yes. You must restart the phone as if you wanted to make a phone call. Many people get too eager and try to get into Recovery before full restarting.
I can't believe that flashing Amon_RA is all terribly dangerous. There are ways to recover. In fact, I have not seen anybody report a brick after running the JCase 1-click. I'm sure that it will be fine.
2. Then Use the recovery to flash rootme.zip now located on SDCard. Going to use a 2 Gb card from my old LG 8350 (phone before Eris).
3. Do Nand backup of semi clean stock OS. By doing so I will loose the stock recovery for good, meaning no more resets to OG clean?
Click to expand...
Click to collapse
You *could* do the Nand Backup before running rootme.zip. Actually, you only really need to run rootme.zip if you want to do something with root with the stock Android you have now. Some people may, for example, install the application Titanium Backup Pro (which requires root) and batch backup all user apps (menu->batch and choose to run that option from the list) and then, after installing a new custom ROM, reinstall Titanium from the market/play store and then batch restore all missing apps and data. It's a very powerful way to get the phone running all of your apps and data without reinstalling from scratch.
That brings up one more thing: if you decide to install xtrSENSE, you do not need to do a factory reset if you want to keep all of your apps and data. Of course, if you want a fresh start you may, but xtrSENSE will keep all of your apps and data and give you a faster Eris with more room for apps and data.
Also, it *is* possible to get stock recovery back, though not without losing all of you data. There is a ROM called Flashback_21v2 that will bring back stock recovery and an unrooted Eris if you wish. The phone will act as if it was never rooted. You can find it here: http://forum.xda-developers.com/showthread.php?t=792026
That would be a good thing to keep on your phone, just in case. (Though I have to say that I am hosting the location of those files on my website and I have no plans to stop doing so, so they should be around for a while...) You'll probably be fine with the "no radio" version, but if you can spare the space on your computer, (that's a bit of a joke; the files are small), I'd download both.
3.5? On second thought, doing one last reset first would remove all user data with my name and credentials. It may be wise to do this, as it will eventually be in the hands of a 5 year old. This would prevent accidental purchases, I think!
Click to expand...
Click to collapse
In that case, you DEFINITELY want to wipe data, even with xtrSENSE!
On the other hand, if I ever break or loose my new phone and need a temp phone, I could keep this image (as is) to use temporarily with Verison until I get a replacement! I can only choose one of these options.
Click to expand...
Click to collapse
No, you can do both. Do a Nand Backup of the phone after you root it, which will be stored on the SD card. Wipe data/factory reset and you can installa ROM and then always go back into recover and Nand restore what you backed up originally to get your phone back as it was when you ran the backup. Familiar with Norton Ghost for Windows PCs? That's what Nand backup and restore does - it takes a full snapshot of your phone as it is, and when you restore, it's as if you had just turned off your phone for a long time - it's back to the way it was at the time you made the backup. You can have multiple backups stored - as many as will fit on the SD card.
6. I assume that appstoSD is something I would need to download now, then add after previous steps, if I feel the need!
Click to expand...
Click to collapse
Well... xtrSENSE support apps2sd as it is, and there are scripts to turn that functionality on. The GB ROMs support using the Android-native moving of apps to sd, so I would avoid apps2sd for them.
7. Then its off to test land! I hope I understand this correctly. The one step I have missed is definitely very important. I did not verify the MD5 on Jcase's one click. In fact I don't even remember where I downloaded it from. Truth being told, I have never manually done a MD5 verification! I guess I have one more step that I absolutely need to learn as it is much more important in Android, especially for recovery!
Edit: I have re downloaded the file from here (XDA), did not see a sum to compare it to? I hope the file still is OK!
Click to expand...
Click to collapse
The MD5 I have for 1click is f34fecffb985553b68d66f6ac1ef27d3
HOWEVER, can I suggest instead that you use the 1-click root here, prepared by Scary Alien: http://androidforums.com/eris-all-t...2-custom-recovery-trackball-not-required.html
If you look at the bottom of the first post, "Scenario 5", there is another version of 1click with a better version of Amon_RA (that allows you to use the hardware keys to navigate recovery, rather than just the trackball; sometimes the trackball doesn't work in the original Amon_RA). That version I guarantee is safe, and Scary Alien has the MD5 right there.
I am guessing multi-quote is what I should have tried on this instead of deleting?
OK, running 1 click directly from from SD card. Third-party apps ticked on before hand, check.
After running 1 click, do normal restart, then shutdown, then go into recovery via vol / end start up.
No bricks reported, that is very good news. Also good to hear that there may be a procedure for un-bricking in the unlikely event!
My Eris already has already has all apps removed, I tried to make it as clean and small as possible. Just looked at the xtrSENSE page and copied some tips, sounds nice and fast, liking that!
Awesome, I downloaded all 3 including Cupcake, in case I want to remember what that was like.
I did exactly that, downloaded both.
I will give this some extra thought before giving it to my son.
I have never used Norton Ghost, but I have used Macrium Reflect, Seagate Disk Wizard, Acronis etc. I get the image/snapshot thing. I plan to store backups in other locations, then copy back to SD if and when needed.
Just did some reading on the xtrSENSE page about aps2sd, guess I will do some more reading about native moving of apps to sd soon.
The MD5 I have matches yours. I downloaded MD5 Calculator and I guess it works.
After reading the page including "Scenario 5" I absolutely agree. I downloaded it, and will use the "scary alien" modded version with the added functionality. Thank you very much for pointing this out. Looks like no change in the simple execution besides the app/file to run, very nice!
Doogald, I can clearly see that you go out of your way to help others to say the least, I am sure its appreciated by more than just me, Thanks!
DB73 said:
I will give this some extra thought before giving it to my son.
Click to expand...
Click to collapse
Hey, one other thing: CondemnedSoul posted a script that you can run that disables the mobile radio, so you can make the device WiFi only. It's here: http://forum.xda-developers.com/showthread.php?t=1216571
I have to say that I have never tried it, but it seems from the replies in that thread that many have, successfully.
Jelly Bean build anyone?
This may be redundant, but does anyone have a copy of the eris jelly bean rom laying around? Just found my old rooted eris with cyanogenmod and I would like to try jelly bean or ICS.
foodude1 said:
This may be redundant, but does anyone have a copy of the eris jelly bean rom laying around? Just found my old rooted eris with cyanogenmod and I would like to try jelly bean or ICS.
Click to expand...
Click to collapse
Of course it isn't redundant, in fact this maintains the forum active, well a bit.
Here is the Jellybean Rom you requested, it is from MongooseHelix's build. It has a different Gapps package from what MongooseHelix actually established but I assume no issues may occur. :highfive:
https://copy.com/TgfFHxTqOHPJ

Categories

Resources