yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] mpmilestogo:
This is too cool!

Wow! thanks. I don't have the G2 yet but am eagerly anticipating its arrival. This will tide me over and let me play with the phone, get rid of the bloatware stuff. Your shot is in the mail!
[G2 and Desire Z Android Development] bled82:
Would you be willing to post some screen shots of the themed rom or direct me to where there are already some ?
[G2 and Desire Z Android Development] enomther:
Thanks ... and yea I'll post some screenshots in 30 minutes or so ...

And ... no idea on radio's, OTA's, etc ... yet.

~enom~
[G2 and Desire Z Android Development] Corylulu:
very awesome, I will try this just for fun, but I don't think I'll use it full time, I will wait for full root I think.
[G2 and Desire Z Android Development] texasaggie1:
questions...

Awesome work! Thanks man!

Question 1: do you see things reverting/disappearing over time with this rom... like root does but other files and things too? For example do Market installs survive a reboot? Do Market installs done while in root-mode survive a reboot or leaving of root-mode?
[G2 and Desire Z Android Development] enomther:
Thanks :) ... and yeah ... we can only hope this is temporary for us all! :D

And yes ... everything sticks through reboots :)

Best results with (2 ext3 partitions though) ... as described in the OP ... if you use a single ext3 partition ... the on emmc OS and the ext3 OS will have to change portions of the /data userspace stuff on each boot, which could lead to several issues ... thus I *highly* recommend the 2 ext3 partition setup.

But in general everything should stick through reboot ...

-

-

-

-

-

-

ALL ... updated the OP with screenshots of the manup456 prethemed version.

~enom~
[G2 and Desire Z Android Development] scrizz:
.very nice.
[G2 and Desire Z Android Development] SuperDave81:
Absolutely sexy, cant wait to rock this on my G2. Thanks!!!
[G2 and Desire Z Android Development] bled82:
Ok so i finished all the steps and after setup i got install complete then i ran start rom and nothing happened the device does not respond to touchscreen or home button , please help. I am running the manup's theme it installed without issue i have 3 partions when i run startrom it never launches . The first install failed due to error with rsync file , i then started all over and re-ran all the adb commands and then setuprom and startrom and stuck at termianl app with nothing happening ?
[G2 and Desire Z Android Development] dthadamaja:
Thanks Enomther!

One thing I've noticed while running Manup's theme is the analog clock widget would disappear leaving only the hands in place still. I'm not running the third partition.
[G2 and Desire Z Android Development] Mikey:
Worked like a charm on 2 partitions, gonna try and get Benji to partition it 3 way tomorrow =)
[G2 and Desire Z Android Development] MattKilla:
When running setuprom, it seem to hang at "Syncing user /data ... "
[G2 and Desire Z Android Development] kdmytro:
Same here, error at rsync...
[G2 and Desire Z Android Development] enomther:
Make sure if that your 2nd and 3rd partitions on your sdcards are "primary ext3" partitions. Otherwise you will experience strange results such as these. :/

I may update and put in some more error checking prior to installation.

~enom~
[G2 and Desire Z Android Development] bone$:
Thanks Enomther.. excellent!
[G2 and Desire Z Android Development] Bzerk1:
looks awesome, im going to need to get my g1 back to partition my card.

Will installing this rom still allow us to recieve an OTA update?
[G2 and Desire Z Android Development] jdwme:
awesome work man! Glad you joined to G2 party :)
[G2 and Desire Z Android Development] enomther:
:) NP glad it serves a temporary need ... hopefully temporary. :)

As far as the OTA updates ... you will receive them with this ... it's not clear whether or not we'll still have temproot after the OTA however, ... but I'd tend to think we will. :/ ... no tellin.

Whatup man! :D ... it's good to be here :) ... hoping things just get better from here on in. :)

~enom~
[G2 and Desire Z Android Development] Ellises:
After seeing this thread I was so excited, someone was actually able to to make a rom using the sdext method, very interesting work indeed.

But unfortunately even through I was excited to test it out, I can't get it passed the "setuprom" step, I have everything set up correctly. Three partitions, all primary, the fat32, the ext3 (400gb), and the remainder second ext3.

Each time I've tried I kept getting rsync errors, which rsync fails on "error in file IO", "No space left on device", which is the secondary ext3 partition getting filled up, at first I thought the 1.20gb was not enough, so I repartitioned the card making the secondary ext3 to 2.1gb, well after that the "syncing user /data..." seems like it hangs (working) for about thirty minutes, I was like okay, is this partition being filled with junk data?

It crashes with "rsync: writefd_unbuffered failed to write 4092 bytes to socket [sender]: Broken pipe (32)

rsync: write failed on "/data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/local/tmp/mmc_data/data/com.google.android.apps.maps/files/DATA_I_weather_icon_grid.png": No space left on device (28)

rsync error: error in file IO (code 11) at external/rsync/receiver.c(302) [receiver=3.0.7]

rsync: connection unexpectedly closed (430769 bytes received so far) [sender]

rsync error: error in rsync protocol data stream (code 12) at external/rsync/io.c(601) [sender=3.0.7]

done

So to me looking at this log, for some reason it's repeating the /data/local/tmp/mmc_data/ directory several times within itself, so I have no idea why it's creating copy after copy, but this is causing a never ending loop on my end. :(
[G2 and Desire Z Android Development] greglad007:
2) Download the desired (themed or non-themed) ZIP file from the bottom of this post and unpack it in a directory on your computer where adb is accessible

could someone tell me where to place this zip file? does it go in the sdk tools folder unzipped, zipped or just in the sdk folder zipped or unzipped. Please help, im new at this even tough I have rooted my G1 and Slide prior.

I partitioned my sd card and have the latest sdk file downloaded and on my c drive, renamed android

Thanks Greg
[G2 and Desire Z Android Development] teamsilence:
i partitioned ms sd in my n1 followed simple instructions and bam! works great i know this will be temp and we will haz root. enom your amazing thanks!
[G2 and Desire Z Android Development] fastludeh22:
it gets unzipped. if you run adb from your tools folder, unzip it in there. if you have addded path to windows so u can run adb from anywhere, then you can place it where ever you want(if you dont know what i mean, ignore this sentence). once unzipped you will have a bunch of files that are to be pushed, one being ROM_update.tgz. leave the rom file zipped.
[G2 and Desire Z Android Development] fastludeh22:
im having the same problem as Ellises, also using the manup version, but im tring a few things right now, so that is not what my question is about. i have a few setup questions:

1. if i didnt want to sync my user data, can i just remove these lines from your setuprom script?:

"echo -n "Syncing user /data ... ";

/data/local/tmp/rsync -a --delete --exclude=/lost+found /data/ /data/local/tmp/mmc_data;

echo "done""

would that then be like i "wiped" my device and when i start rom go though setup?

2. if i wanted to use my own rom, in standard .zip format, what would i have to change this line to?:

"/data/local/tmp/busybox tar -xzf /sdcard/ROM_update.tgz;"

thanks for your help and great work!
[G2 and Desire Z Android Development] khaosxiii:
Great copy & paste script! (fool proof!)

I installed w/o any issue after formatting my SD in AmonRA Recovery on my G1 (no swap, just 512MB EXT, then upg to EXT3) too lazy to reboot my machine to a live CD and typing commands and such...

Good Sh1t!
[G2 and Desire Z Android Development] enomther:
Wow ... completely missed this ... uploaded this stuff with the "uncorrected" version of the script.

That causes a recursive loop when sync'ing ... my bad :o

Will reupload in just a minute.

~enom~
[G2 and Desire Z Android Development] enomther:
K ... it's been re-uploaded/fixed ... (MD5's updated too) again sorry about that ... no wonder everyone was complaining ... oversight on my part.

The reason the /data "sync" is the preferred method ... is b/c there is missing init stuff that would create and set the directory structure/permissions on /data at boot (these are contained in the init-ramfs scripts) ... which do not get executed during the ROM boot.

So the only other alternative would be to mock create the directory/permission structure.

So you can't just remove the sync line ... it will "bootloop".

I'll see about making a script for re-create the necessary /data/ structures.

~enom~
[G2 and Desire Z Android Development] fastludeh22:
gotcha, makes sense. im learning, just hard to do part time, lol.

also forgot to ask. i also noticed in ur script that u have a check for a 4th ext3 partation, which u have labled as optional. would that increase or decrease the speed of the rom with cache being on the sd?

general question for everyone. are you using the stock class2 sdcard, or have u upgraded to a class6? see a difference? (reminds me of the old g1 a2sd days, lol)

thanks again man!
[G2 and Desire Z Android Development] enomther:
The speed tradeoff should be negligible ... really there's no reason to have the 4th ext3 partition ... but I left it in the script regardless ... sharing the "real" /cache between onboard OS and the sdcard OS should really cause no problems. ... I'd stick with only using (2) ext3 partitions on the sdcard.

~enom~
[G2 and Desire Z Android Development] mcp2009:
This

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] Ellises:
After uploading the new setup script I now get a different error about mmc data being able not to mount, I'll get the exact error when I get home tonight.
[G2 and Desire Z Android Development] konrad1337:
since the new script was uploaded, does this all also wipe out what was on the partition when you run Setuprom or does it require to have a freshly formatted ext3 partition. Just asking since I don't have access to a box to wipe the partitions after running the bad script but wanting to test it out.
[G2 and Desire Z Android Development] Ellises:
And also despite my mmc_data mount error, the rom seemed to had started up fine, unless somehow it skipped the /data partition on rsync.
[G2 and Desire Z Android Development] bled82:
I tried with the updated files and i go the attached error .
[G2 and Desire Z Android Development] enomther:
You need to reformat the 2nd ext3 partition (meant for data) ... the previous #fail script .. recursively maxed out the space on the partition. Once you reformat it ... and rerun the script ... you should be all set. :)

~enom~
[G2 and Desire Z Android Development] enomther:
Yea at very least you would want to reformat the 2nd ext3 partition (as posted above). :)

~enom~
[G2 and Desire Z Android Development] konrad1337:
Yea, I tried mounting the 2nd ext partition and just "rm -r *" to it and then tried again and was getting the same error as above. Will try a fresh format when I get home and see how that goes. Thanks :)
[G2 and Desire Z Android Development] 2girls1cup:
This rom and temp root trick works like a charm!! Thanks now I can get to theming my G2
[G2 and Desire Z Android Development] bled82:
Awesome up and running thanks for the hard work !!! Question would there be a way to jump back and forth from the 2 roms like in windows when running virtualbox ? And how would i load another rom this way ? I would love to try the MIUI and the desire z roms . check out the screen shots below everyone .
[G2 and Desire Z Android Development] bled82:
Will this shorten the life of the sdcard due to the read/write limits ?
[G2 and Desire Z Android Development] 2girls1cup:
this is probably noob-like on my part but how do you mount the system as rw, because root explorer can't do it and also I cannot get adb to shell.
[G2 and Desire Z Android Development] rUsTyRuSs:
What am I doing wrong?

Everything seems to work properly until the command startrom. As soon as i type startrom it restarts the phone and my phone just hangs at the tmobile g2 screen. Any help on this matter will be much appreciated.

Thanks in advance,

Russ

Edit: I have to remove the battery after 5 minutes at the Tmo g2 screen to "restart"
[G2 and Desire Z Android Development] bled82:
It will do that for 3-5 min then should boot.
[G2 and Desire Z Android Development] konrad1337:
Need assistance

Not sure what I am doing wrong at this point, but I cant seem to get this working. I have 2 ext3 partitions as the OP says and I have gone back and downloaded it again to get the updated script. Still looks like it is giving me the same redundant error and then comes back after crashing saying No free space on drive. This is right after a fresh format of both ext3 partitions as was recommended to me earlier.

Any recommendations? If you need more info also, please let me know, would really love to try this out.
[G2 and Desire Z Android Development] enomther:
Alright guys ... Ima put a little focus on this in the next hour here ... I'll get everything wrapped in error checking ... so we'll find the issues ... the current scripting makes a lot of assumptions about the setup.

I'll build it out to check everything before doing anything.

~enom~
[G2 and Desire Z Android Development] enomther:
Alright updated with more error checking posted ...

Also note the addition of the "parted" binary to the package and adb installation steps! This should help a ton for failed installs/startups! :)

~enom~
[G2 and Desire Z Android Development] Flippy125:
Thank you! Time to wipe my sdcard XD
[G2 and Desire Z Android Development] greglad007:
need help

im in the Terminal , i have temp root, but when i type in the command setuprom i am getting numerous no such file or directory

eg chmod: /data/local/tmp/mmc_sys/bin/netcfg: No such file or directory> im getting this message for all the messages

what did I miss?
[G2 and Desire Z Android Development] enomther:
Make sure you redownload the zip files from the OP, re-unpack and perform the "new" adb command / procedure in the OP to install.

Is a little more user friendly now. :)

~enom~
[G2 and Desire Z Android Development] rUsTyRuSs:
You are awesome sir!
[G2 and Desire Z Android Development] Flippy125:
And I was so used to using amon_ra for partittioning I forgot I could use gparted and keep my stuff =D
[G2 and Desire Z Android Development] bonkasnucca:
potential?

i was wondering as long as u have a class 6 sdcard nd obviously ur card partitioned right could this not open up a world of possibilities..i mean the device would be pretty much unbrickable right since u wud always have your stock rom nd ur just running another one off of the sdcard...and cud this also allow us to break through the limitations of space we have available on the rom memory and add as much as we want to the roms in regards to features nd little tidbits...lol ya know within reason..sorry if im left field just dreaming :rolleyes: feel free to bring me back down to earth
[G2 and Desire Z Android Development] Greenarcher707:
Worked on the first attempt! Thanks a lot
[G2 and Desire Z Android Development] rUsTyRuSs:
Do the changes made while booted to the modded rom carry through to the un-rooted rom? ie: app installs and such?

Thank you in advance,

Russ

Edit: read through the first few posts and found my answer. Disregard
[G2 and Desire Z Android Development] khaosxiii:
Been running this all day with launcher pro plus and I must say I really like it. The ability to stretch any widget is exceptionally usefull. Added BGs are great - ninja ftw

Never rebooting again!
[G2 and Desire Z Android Development] Jigga0o7:
Have you been able to get past this issue? I read the instructions over and over again but as of yet I can't get past this issue. The syncing with data part is no prob though. Can't get the rom to start and I'd guess its because of those no such directory errors. Also I've got all of the partitions.
[G2 and Desire Z Android Development] rUsTyRuSs:
Disregard. Mod please delete.
[G2 and Desire Z Android Development] wilnotdie:
Gonna take some work, but im sure enom can figure something out, if he wants to get his hands dirty.

http://xdaforums.com/showthread.php?t=803302

Is this what you ment?
[G2 and Desire Z Android Development] konrad1337:
I was also running into this issue. Basically got around it by installing the ROM manually and then letting the script do the rest.

Basically, went to /data/local/tmp and created a directory called mmc_sys and then mounted the 400MB ext3 partition to it and unzipped the ROM_update.tgz to it and then continued with the rest of the script.

If you are getting this error, send me a PM and I'll shoot you the cmds needed if you need any help; but figured I would still share how I had to get around it.
[G2 and Desire Z Android Development] bled82:
Yeah kinda what i was thinking , that way we could have stock rom and get the OTA'S and new software and then hit a button switch to the rooted rom on the sdcard and have it on there almost right away , and maybe also have another rom on the sdcard for testing and trying roms before you decide to run them full time . Plus if they every get the drivers advanced enough we could change our sdcard to a new devices and have everything we want on the sdcard and be set to go .
[G2 and Desire Z Android Development] fastludeh22:
if i wanted to back up my running rom, like a nandroid per say, to the storage part of my sd so i can do some testing, then put it back the way it was. how could i do that?
[G2 and Desire Z Android Development] enomther:
Umm ... this could easily be done with a set of scripts ... I can post a couple if you want ... but backing up the /data partition would likely mean (assuming it's near full) .. ~600-800MB for the backup on your sdcard.

This is an extremely low compression ratio estimate ... but better to assume this than assume a smaller amount needed.

lmk .. if you really want it ... I can do it ... sounds useful ... I may need it myself. :)

~enom~
[G2 and Desire Z Android Development] enomther:
Sure ... perhaps "unbrickable" ... but come back down to earth ... there are some serious limitations with this setup.

The lack of custom kernels and/or initramfs scripting poses challenges. The later might be able to get around ... but I only have theories ... haven't tested anything yet.

~enom~
[G2 and Desire Z Android Development] fastludeh22:
ya that would be awesome. not trying to be a pain with all my requests, lol... im working on getting desire-z rom running this way. it would have been great about 30 mins ago before i wiped, and tried that rom, but as im back on yours it would def be handy tomo when i test some more. and since i have almost 6 gigs left on the stock sdcard, we should be good :) ...

as far as kernels go, what about what was posted in the 1st root thread about a "2 kernel monty". from what ive gathered its basically doing what your doing here with the system, but for the kernel. it was used in the old tivo hacks, so im sure there is some info out there. its beyond my current abilitys, but it would bring us that much closer to a "real" rom. oh and kingklick has already compiled a custom kernel, hint hint ;)

info: http://monte.sourceforge.net/
[G2 and Desire Z Android Development] enomther:
Um yea ... I'm aware the source has leaked for the kernel etc ... and am fully capable of making a kernel ... as far as the 2-kernel-monty ... not sure about the post you're referring too ... but from what I remember it entails building a kernel module for the currently running kernel that in turn launches the new kernel.

I can tell you I really don't have much interest in the persuit of that route atm.. ... we'll see.

As far as a script ... I'll put a backup/restore set in this when I get around to updating.

~enom~
[G2 and Desire Z Android Development] fastludeh22:
ya thats pretty much what i was just reading. its an open source poject. it says the module loads the new kernel into memory and boots off of that.

thanks again for all this work.

i also wanted to say for anyone reading this, having doubts about running a rom off of a sdcard. forget everything you think you know from the g1 a2sd days, this rom flys! id venture to say it is the same, if not faster then the stock rom on the phone, you pretty much forget its on sdcard and that the phone is not truly rooted.

basically if you are reading this, RUN THIS ROM, you will LOVE it!

awesome job enomther, top notch!
[G2 and Desire Z Android Development] Flippy125:
I am attempting the installation of the rom and am getting chmod: [insert crapload of directories here] : No such file or directory. I followed the instructions exactly and have not attempted the 3 click root on (this) G2. Is there a way to fix this?

EDIT: Thanks to konrad1337! He helped me with a bypass for the first half of the script. It is now up and running perfectly!
[G2 and Desire Z Android Development] enomther:
Are you performing the adb commands manually or via the install.sh script? ... in the install.sh script I just realized the line to push ROM_update.tgz was commented out ... lol ... I will reupload that just incase.

Paul's 1-click-root does work with this ROM ... however ... you still need root to run the adb commands (minus the ones related to the Term.apk/com.android.term). And make sure ROM_update.tgz is on your sdcard first.

~enom~
[G2 and Desire Z Android Development] Flippy125:
I was doing it manually as I don't have access to my Linux box. But konrad1337 has a fix that works great. It's now running. Thanks for this! Now we need a way to basically kill the other kernel and swap with a custom one
[G2 and Desire Z Android Development] enomther:
Awesome ... glad you got it going ... I'm going to try and simplify this a little more soon and base it around paul's Visionary ... but probably won't be till next week. And yea ... we really need to be able to load a custom kernel and control the full init process at the least ... 2-monty may not be a bad idea ... but I can't play around with it atm. :)

If we get the kernel and init process ... then really the only downside is backups/restores and recovery (and preferably bootloader access) ... these are all equally critical imho ... the bootloader helps with so many nand partition problems that can arise for various reasons. :/

We'll see ... wish we had it all ... out-of-the-box (after rooting) ... this was a long-standing happy medium imho ... and they're trying to change the game. :/

~enom~
[G2 and Desire Z Android Development] bled82:
Kinda strange just had a text message from one person show up in another person text thread , also some times when you launch an app it launches a previously used app instead of the one selected . Has not happened often and cleared after reboot and restarting rom . Happened after I was running rom for a couple of days not sure if that's why .
[G2 and Desire Z Android Development] justinstar77:
Thanks for your work on this. I love the theme. I don't know why but for some reason I couldn't get it running until I used the instructions from the persistant temp root thread in this forum first to get the system copied and then using the instructions from the OP in this thread without repartitioning.

Maybe that will help if anyone else having trouble.
[G2 and Desire Z Android Development] PlatinumMOTO:
Is anybody else having slow downs with the nexus theme or just me