yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] Zero00SM:
I use a virtual box and ubuntu 10.04 lts.The method seems to work but in step 3 on partition card my hero restarts and boots in recovery and i don't have time to mount the usb/htc device into virtual box so i get in step 5 an no device found error.The time is very short.I have to press USB-MS toggle on my hero and after that i have to mount it in virtual box.I've tried it over 20 times but i don't have time and in terminal get me the error.Is there a way to pause the process or a solution to my problem?

Sorry for my bad english

EDIT:SOLVED.Set the sleep from dualizer in step3 from 15 to 30.Wainting for setup to finish.Cross my fingers

EDIT2: Ok now this is getting awkward.Waiting on step 4 (push to sd) for 25 minutes now.I have checked the log.Last line says mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory.Should I wait for it any longer?Or what should I do now?
[Hero, G2 Touch Android Development] nprussell:
As I have said on the VillainROM forum; this is really outstanding work.

Well done, Kendon.
[Hero, G2 Touch Android Development] kendong2:
that shouldn't happen, and the pushing shouldn't take longer than a few minutes. you should cancel it by pressing ctrl-c, if you fancy debugging then check why it wouldn't mount. otherwise you can partition your sdcard, do a full wipe and should be able to flash a regular rom.

i guess i underestimated the complexity of the virtual machine solution, gotta look deeper into this... *sigh*
[Hero, G2 Touch Android Development] jUsT2eXy:
Hi, regarding the Apps2SD issue... Would it ever be possible for the two ROMs that are dual booting to have the same apps sourced from one place... if that makes any sense...

Like in windows... you can "install for all users" so if you log off and someone else logs in with there account the very same apps are there...

Ok bad analogy since we are talking about dual booting different versions like (Vista & Windows 7) ... but the same data on hdd is accessible...

is this possible with the dual booting scenario?

If I had Slide Villain and Villain 5.5 .. both being 2.1 ROMs which would make app compatibility a non-issue...

If I booted up Villain 5.5 and made changes to an app / save data .. could this not be accessible with the slide rom.. I would hate having to install the very same apps on another partition..worst of all if you have save data (such as a game) and wanted to play it on one of the ROMs your game progress would be different?

you could just use Titanium to transfer over the data but agaqin it is a long procedure.

It would be fantastic if we could mirror image exactly what we have on our main Roms to our "secondary roms" ...
[Hero, G2 Touch Android Development] frederikk:
Amazing !

Ciao

Fred
[Hero, G2 Touch Android Development] masterxiter:
Yeah this is really amazing. I have read this on villainRom forum, and i was stupified :).

But, if i want to flash another Rom as primary and need to wipe cache, i need to do this process again! Am i right?
[Hero, G2 Touch Android Development] kendong2:
for the shared apps:

a shared apps2sd directoy/partition is possible, although you'd have the problem that apps are installed to one market only, and idk what would happen when you update an app in one rom, would the update get market-linked in the other? you can solve this with titanium backup, but it isn't really comfortable at all. i'll think about this.

for shared data: in theory possible as well, but i don't think it would work out well. you cannot distinguish between system data and apps data that easily, and i don't think it would work to share system data (sense settings etc) between two different roms...

@masterxiter: easiest way to do this is to use the installer script again. you can wipe the cache manually, installing another rom would be really complicated (about as complicated as the installer script ;) )...
[Hero, G2 Touch Android Development] Dormantlemon:
Sweet. But is there any way i can run this in cygwin? every version of linux ive tried so far doesnt support my crap compaq wifi card or most things, or even wired for that matter, and running ubuntu in a virtual machine gives a reboot every time after step 1 (maybe cos i suck at terminal)
[Hero, G2 Touch Android Development] kendong2:
i'll try some time, but i have never used cygwin... so don't expect anything too soon.
[Hero, G2 Touch Android Development] B1nny:
if you install ubuntu in an virtual machine like VMware(paid) or virtualbox(free) you can just use linux, it will automatically grab all your internet settings and stuff from the windows installation(main computer) so your windows will be like some kind of router for your virtual machine with everyhing working.

Very nice tutorial, i'm not going to try it.. because my phone has to be resend to HTC for fixing some dead pixels, there just messers with screens :P

BTW. you can also try another linux version ;) sounds crazy, maybe try backtrack?? the only thing you need is linux, backtrack is..
[Hero, G2 Touch Android Development] Dormantlemon:
I have backtrack 4 (I could never get wifi on that either, but tbh i couldnt work out how to try (that distro is soo confusing imo). I got backtrack 3 to work a while back, so if i can find the disk im gnna try that.

Also virtualbox didnt put my internet settings at all (maybe co im on win7 ultimate?)

Thanks for the suggestions, cos i know cygwin aint the most elegant solution :)
[Hero, G2 Touch Android Development] Ahmed001:
changing rom 1 and rom 2

i test lotz of roms.... everyday they are being updated...

say if i dualize with ahero0.8 and Kimera 1.7....

wud i be able to update aHero to 0.9 and leave kimera as it is???

simply can i update JUST ONE rom???
[Hero, G2 Touch Android Development] Ahmed001:
manual setup??

i tried it got error in step 3 and then 'Device not found errors...'

can u make a tutorial for doing it manually.....
[Hero, G2 Touch Android Development] summer_dell:
hihi.. i am trying to do a dual boot, so im wondering what u mean by.. need java , perl and zip setup... can advice me?
[Hero, G2 Touch Android Development] lolnl:
He means that you need to have Java, perl and zip installed and configured on your Linux system. If you dont have that installed and configured correctly than the install script wont be able to run.
[Hero, G2 Touch Android Development] summer_dell:
oh noes.. .i do not have those in my ubuntu, does that mean i cant do a dual boot? btw, i saw post 2 and post 3 ... are they the same instruction ? or different? (one for windows user and one for linux?)
[Hero, G2 Touch Android Development] kendong2:
you can look into the script, all the commands are in there. i'd like to say more, but you said "got error" so that's all i can say...

sudo apt-get install sun-java6-jre

is all you need to do on ubuntu, tested for 10.04 but should be the same for older versions. as it says in the post, post2 is for windows user and contains isntructions how to set up virtualbox, post3 is for linux users that already have linux (and know how to use it). some of the instructions are similar because it is the same from the point where you have ubuntu in the virtual machine...
[Hero, G2 Touch Android Development] Dormantlemon:
Right, ive got working ubuntu wireless now. i hacked a bios for my laptop (so i could use another wireless card). Im gnna test now. Looking forward to this, but id like to see someday a boot menu if poss, where you can choose once or the other, like the recovery menu layout. :)
[Hero, G2 Touch Android Development] werziluk:
Hey Kendon, amazing work. Just a couple of questions before I start the process:

Is this possible on Mac OSX?

How complex is the wiping process and could you explain the complications a bit more? When you say I would need to flash a non modified ROM do you mean a ROM that has not had the boot.img modifed by your script or do you a mean a non rooted stock ROM?

Thanks in advance.
[Hero, G2 Touch Android Development] kendong2:
idk about the differences of mac os and linux exactly. check for the binarys in bin/ folder of the archive, and replace them with mac versions (mkboot* and adb). other than that it should work, given the fact that you have bash, zip, perl and java on your mac.

you cannot use the wipe feature from the recovery. you can however mount the /dev/block/mmcblk0pX (X=5=rom1, X=6=rom2) partition and delete everything on it. i am trying to fool the recovery into using the partitions i want it to use, but i need to compile it for that, which i failed epicly up to now.

complete adb commands to wipe rom1 (replace 5 through 6 to wipe rom2)(boot to recovery first):

adb shell mkdir /dev/mnt
adb shell mount /dev/block/mmcblk0p5 /dev/mnt
adb shell rm -rf /dev/mnt/*

i mean a rom with an unmodified boot.img, as you download it from [insert favorite rom dev/site/forum here]. no need for stock.
[Hero, G2 Touch Android Development] cukych:
nice work!

but the dualizer tool doesn't work with my 16GB sd card. It only works with my 2GB sd card.
[Hero, G2 Touch Android Development] kendong2:
major update, see first post.
[Hero, G2 Touch Android Development] danwar:
Nice work, I go try it.

And, some of lot of my question.

new version of dualizer can flash only one of dual roms and only from zip file as clear install. I can not use nandroid backup images?

and what about a2sd. how can I prepare sd for this?

Because, I need

- ext2 partition for ROM1 (created by dualizer)

- ext2 partition for ROM2 (created by dualizer)

and

- ext2 partition for A2SD for ROM1

- ext2 partition for A2SD for ROM2

and

- swap part. ?

- rest for mp3,....

And, last question, how ROM1 and ROM2 select right a2sd partition? Because, with "single boot" a2sd work automatic with ext part. without any aditional setting.
[Hero, G2 Touch Android Development] kendong2:
i haven't tested nandroid at all, as i wrote. i'll try to make it work to flash from nandroid backups, but i haven't even tried the smallest bit of that.

there is no apps2sd. you have 250mb for your /data partition, which should be sufficient. apps2sd scripts are removed from the rom, so they cannot be used.

as a matter of fact your apps will be installed on your sd, as will dalvik-cache and apps settings. that is the way how dualbooting works, but it is incompatible to apps2sd.
[Hero, G2 Touch Android Development] alexh_:
I installed 2 Roms (VillainRom 10.2) and the Generic (2.73.405.5) and now i rebooted, but till now i wait at least 5 minutes, is this normal? What should be the next? The thing i can see the whole time is "Hero", the Screen just after ju switch on your phone.

When this is wrong, what can i do, and what´s the thing i´va done wrong oO?

Thx a lot!
[Hero, G2 Touch Android Development] pulser_g2:
You got a logcat? Which ROM are you booting too btw?
[Hero, G2 Touch Android Development] alexh_:
How can i get the logcat and how can i choose which rom i want to boot?

The last step i did with Ubuntu was to flash ROM2 with ./dualizer flash rom2

Then i rebooted my system with the recovery rom-option and now i get till 10minutes at least "Hero", which i know from all bootings at the beginning, but it seems like he stuck...
[Hero, G2 Touch Android Development] alexh_:
Ok here´s my logcat from another failed boot

h**p://pastebin.com/jG1bQskg

After 2 Minutes i determinted the booting.
[Hero, G2 Touch Android Development] Bryanarby:
Ok, so i have read all the pages here and some pages on the villianRom Forum's-topic..

And I have a few questions:

-Could this work without the SPL flash?(I'm kind of chickening out because i hate brick chances :p)

-Once I've flashed that SPL, can I still use the normal RA-1.6.2 on it?

-Is there any radio upgrade needed?
[Hero, G2 Touch Android Development] pulser_g2:
1) I would need to ask kendon about that, but I can't remember exactly why the SPL is flashed. I think that's if you want to be able to fastboot boot a recovery image, although my phone shipped unlocked ;)

2) Sure, you can use normal AmonRa, as well as kendon's one.

3) No particular radio required afaik, but you should usually run the latest one (the PU one) for the simple reason that newest is 99% of the time better when it comes to radios, signal and power consumption.

Best to ask kendon about the spl thing though. But it should be safe, so long as you don't noob it up by pulling the battery or doing something stupid (but you wouldn't so you'll be fine)
[Hero, G2 Touch Android Development] Bryanarby:
Thanks for the intell :)

I think I'll leave him a PM later this day.:)

Sure hope it works with Cronos, it's really handy for a beta tester/bug hunter/support guy, like me hehe.
[Hero, G2 Touch Android Development] pulser_g2:
OK.

BTW, joking aside, it might not. It depends on where dalvik cache is stored on the ROM. If it tries to put something onto /cache, then you might have trouble... Play safe, and remember that nandroids don't work, so use something else for backups
[Hero, G2 Touch Android Development] Bryanarby:
No worries, /data.. /system and dalvik are all on ext2 partition already.
[Desire General] matttytn2:
I feel I should w8 will it allow apps 2sd?

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] cezarL:
Depends how long you're willing to wait :)

Froyo should include A2SD, but who knows when HTC comes up with the 2.2 upgrade for Desire.
[Desire General] matttytn2:
this is true...however should b fairly quick its the flag ship Android mobile can't see another 4release in conjunction with 2.2 release

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] OnlinePredator:
I'm waiting ;-). Everything that I need the phone to do, it does... SO no real need to update as of yet. Will probably wait for official updates as I prefer official releases (possibly less bugs etc)
[Desire General] Noonski:
Moved to General Desire Forum.

Don't see where this hooks into Development or Rom cooking.
[Desire General] matttytn2:
sorry thought it was ok here

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] Ramedge:
Isn't the whole point of 2.2(FroYo) that the Android segmentation is abolished and that we would be downloading Sense UI from the market.

If this is true we should all expect 2.2 the moment it is released as it will be a generic, basic Google ROM, then we would just have to wait for HTC to update Sense for 2.2 and we would be able to download that and off we go!

I am not sure if I am correct but this is the way I understood Android to be going.
[Desire General] cez10:
i am actually, kinda scared of rooting :) im not 100% sure but seen somwhere a news bout release being sometime in the summer may-june think it was
[Desire General] th3:
I'm of those waiting... unless I can find a quick, simple and automated way of backing up and restoring everything about my current phone fast, it 'ain't happening until I see 2.2.

Many other reasons... including too many unknowns, unsubstantiated unclears, bricking not being an option for me in these months and so forth.

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] rovex:
Dont bank on HTC being quick to update the Desire. They dont have a tradition of updating their top models any faster than their lower models, and we all know how slow they are with those!
[Desire General] jankos:
That is the big deal. Android 2.2 will come maybe next month, but when HTC 'come' with their update, who knows... :o
[Desire General] foxmeister:
The big difference here is the existence of the Nexus One, which will get an update pretty much straight away.

Since the Desire is very close hardware wise to the Nexus One, I'd hope that it wouldn't take too long to "Sensify" 2.2 and get an update out to Desire users. Failing that, if you're rooted, they'll be cooked 2.2 Nexus ROMs out for the Desire in fairly short order.

Regards,

Dave
[Desire General] daverave999:
I was waiting, but ended up rooting tonight. I reckon SetCPU alone was worth rooting for.
[Desire General] MasDroid:
Actually, SetCPU will have no effect when running on rooted Desires.

When I pull the sliders across, it seems to have no effect, and the green max and min frequencies remain unchanged. HTC has a driver that they implement which keeps overriding SetCPU. We need to hope they (HTC) release the Kernel source. Once this happens, there will surely be a release of a modified Kernel with SetCPU support and overclocking/undervolting (assuming the CPUs in the Desire are binned the same way as the CPUs in the Nexus, this should yield a 10% overclock and better battery life).

Problem is HTC is really slow in releasing the source, it's borderline, illegal, and very irritating.
[Desire General] daverave999:
I probably don't know what I'm talking about, but my sliders seem to work fine. The widget display claims my speeds are scaling too, and my battery life seems remarkably improved, though that could be due to running the MCR. I don't know.

[EDIT] I see what you mean about the sliders now. Battery life still seems better though?
[Desire General] poldie:
I wouldn't have thought so. I wouldn't like to be Orange, dealing with thousands of customers who updated their phone (or had their phone automatically apply an update) and who've suddenly lost functionality/apps etc.
[Desire General] Ramedge:
See I thought this was the whole point of FroYo. We all get the basic Google Rom (maybe with a few service provider tweaks) then we download UI of our choice from the market.

Apart from service providers having to mess around with the Rom there's no reason why we should be waiting for months to get it. Most people in this thread seem to give the impression that we won't see 2.2 for ages while HTC upgrade Sense(I assume there's a few ex-hero users in here). This isn't true though, we'll be running 2.2 and waiting for a download of sense via the market. yeah?
[Desire General] ceas909:
the only problem with this is... nexus one is updated by GOOGLE and the desire is not.... the nexus one will be the first to get 2.2 and from there im betting other devices wont see it till acouple months later...i bet the droid will see it before the desire...sense ui jus slows down the update process..
[Desire General] lewy10:
I can't wait until Froyo gets here!!!
[Desire General] Ramedge:
Can I ask why you think this? I reckon we'll get 2.2 the same time as the Nexus . If everything I've read about 2.2 is correct then Sense will just be released to the market when it's updated for us to download.

am I really wrong or the only person in this thread who understands what's going on with 2.2?
[Desire General] ceas909:
because htc won't have access to 2.2 till Google release it... then they have to go and make sense ui compatible with it... so the desire will have to wait... plus the nexus one is Googles baby so of course it will get it before any one else

.. like 2.1 ... see the driod got eclair first but if u think of it it wasnt really a complete build.. hence why 2.0.1 was later brought out... then we got 2.1 on the nexus which is as far as i believe more complete then 2.0 was.... and i think Google did this on purpose cuz they were building their baby the nexus the whole time..
[Desire General] EroThraX:
You are completely missing the point, Google had said that they were going to stop that fracturing of the Android market with the next update.
[Desire General] ceas909:
well i dont think they will do that till the next major update.. and i dont think 2.2 is a major update... for example if you look back to 1.5 and 1.6< there was no major update till 2.0... then 2.1 another slight update.. in other words .x update dont seem to be major update..i believe major updates are X.X like 1.6 to 2.0.. but i mean thats my opinion google dose some wierd stuff... and another thing if google is going to do what you say.. that dosent mean htc will be ready for it... htc makes sense ui, so like i said before they will have to make sense compatable to 2.2 or any update... htc wont have 2.2 till google releases it so till they get it they can start updating sense.. where as google can send it stright to the nexus one since it uses plain vanilla android..now if your saying that the desire will get the update as plain vanilla android. then the consumer has the chance to install sense ui via market.. then the desire might see it sooner.. but you still got to understand that till google releases 2.2 or watever update htc wont be able to send it out till after.. consumers have to wait till htc sends out the update, not google.. but with the nexus, google send it directly.. the nexus one updates are handled by google not htc...where the desire updates are handled by htc.. do u understand what im trying to say?? but n e ways we wont know what 2.2 will bring till Google I/O.. i cant wait to see what it will bring...
[Desire General] EroThraX:
HTC are given the Android updates to allow them to develop for their phones before the general release of the ROM to the public, it's just whether they decide to use that time to update existing phones or work on new phones, sadly it is usually new phones they work on first.
[Desire General] dpk:
I understand your comments on .x not normally being a major update, but I think its vital they do it asap, and 2.2 should bring it. I too cannot wait for I/O, here's also for A2SD :D

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] pascanu:
Where did you get the idea that Sense will be released to the Market? Can you give us a quote/link for that?

Sense is much much more than a layer that sits on top of Android, there are a lot of tweaks to the OS that are actually part of Sense. This is why everybody says only HTC can provide us with Froyo+Sense on the Desire. Maybe (just maybe) after we get upgraded to 2.2 things will change but that is just a speculation based on rumors.

I'm also on the fence waiting for 2.2. I have to admit I tried to root but couldn't make a goldcard (5 cards, none worked) so I guessed it wasn't ment to happen. I am assumimg that if Froyo indeed brings apps2sd HTC has to speed up the upgrade because a lot of users are complaining about low memory issues.
[Desire General] Nekromantik:
I do think HTC will take thier time with 2.2 update but there should be a cooked 2.2 ROM fairly quickly so for us rooted users, we can have 2.2 without sense a while after its releases on N1.
[Desire General] poldie:
I'd like to think we'll (Desire owners on Orange) get 2.2 soon, but I just don't see how HTC/Orange would be prepared to sell naked 2.2 phones with no sense, all that facebook crap, no sense etc after having advertised and hyped it.
[Touch Pro2, Tilt 2 Windows Mobile General] jamesb457:
My TP2 (winmo 6.5) is running painfully slow atm - it can take 10-20 seconds do do something like load my inbox or an email..

On a quest to speed it up I was looking at the memory in use:

Total: 187.41mb

In Use: 151.36mb

Free: 36.05

which is when the device is idle with no open apps.

36MB of free memory seems appallingly low to me.

Im sure on winmo 6.1 there was a slider you could adjust how much memory is allocated to storage and how much to programs. did I imagine this or how do i find it now?

I have 259.2MB of 'Storage' memory, of which only 30MB is used, hanging onto the rest is a big waste.

Or - is there a better way to speed things up? (like install android? :D)
[Touch Pro2, Tilt 2 Windows Mobile General] burtonsnow8:
You can look through a couple other posts stating very similar characteristics. Two popular programs are the SSK Dynamic resource proxy and NoPushInternet. Both can help reduce RAM usage significantly. Another program you should look into is CleanRAM, which will clear any stacks that might not have been closed when the program was ended. If you need help finding the CABs let me know and i'll post them up.

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