• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root New ROM, for my HTC desire (ICS)

Spec-Kie

Well-Known Member
I have been doing a little bit of reading about and i have found that this SAndvold ICS rom is pretty stable, I think that i am going to try it out, Only thing is i cant come to grips with how to flash it and also have the LINK2SD working also, Would some one be great full and please walk me though and give me bit of advice?
 
Flashing the ROM:
Download the zip file & place it on your sd card but not in a folder.
Boot into recovery & wipe data (factory reset).
Select install from zip file & choose zip file to select ROM zip you just put on the sd.
Let it install then reboot. It might take as long as 10 minutes.

To activate apps2sd+:
Download the Terminal Emulator app from Google Play unless it is included in the ROM.
Open the app & type su (then press return).
Then type a2sd install (then press return).
If you want to move dalvik cache to sd type a2sd cachesd (then press return).

You're done.
 
So when i have done that doi need to install Link2sd ?. Or will it juts link my apps automatically? Now i have done tha?
 
I'm pretty sure the ROM includes an a2sd+ script, so you won't need Link2SD. If there's a file with a name like /system/etc/init.d/10apps2sd then it's there already.

There may be some activation commands needed (some a2sd scripts, such as DarkTremor, need some terminal commands to set them up). The first couple of posts of the XDA thread should explain if so.
 
Alright guys. Thing is I have done every thing you guys said fan the commands moved the dalvik cause and apps data to the ext2 and when I reboot the phone sticks on the boot screen Any ideas?

SP
 
You haven't changed hboot have you? You would know if you have.

What type of ext partition do you have?

I presume you have pulled the battery out & tried again.
 
No i havent change the Hboot, Its the one with the pink Revolutionary on the top so i assume the the Hboot has not changed, Do i need to put a new Hboot on like?. when i use Link2SD i set it at EXT2 so i assume when i used Gparted it was set at ext2, yeah i have pulled battery out and tryed it again, and its still gets stuck on the boot screen.
 
Ext 3 is usually recommended these days but I doubt it would make a great deal of difference.

Hadron it's the real expert on these matters. I'm sure he will be able to help. In the mean time you should be able to nandroid restore your old ROM.
 
yeah i have restored it back now and all my apps are working again but if and when my phone gets turned off or the batt dies and i am unable to charge it up when i re boot it up the apps wont work, and if i try and do something like Clear caches or any thing the phone gets stuck on the boot screen again,
 
For ext partitions ext4 is most commonly recommended these days. However, if you are using CWM 2.5.0.7 you should try ext3 (I'm pretty sure that recovery doesn't support ext4 and will convert it to ext3).

It's possible that the problem with Sandvold was the ext2. How big is the partition?

I don't know what's causing the problem when the phone shuts down. The phone storage is non-volatile, so that's very strange. Link2SD behaves badly if you clear the dalvik cache: if you have dalvik moved to ext with Link2sd and clear dalvik in recovery, it will have to be moved again after reboot. That's fine unless you run out of internal space first! So if you have stock internal storage and a lot of apps this might explain one of your problems.
 
i cant understand what my problem is either, i am using the recovery that Revolutionary installs for you, do you think this could be the problem?. the partition on my card is 1.5gig i think, Im terrible at remebering stuff like, Erm link to SD will only work on my phone with the oxygen rom on when i set it to EXT2 otherwise it crashes and it has to force close the L2sd app, Erm if i do a Factory reset on my phone like i have said before every thing works its only when my phone reboots that the apps dont work, Then when i wipe the Dalvik Cache it wont boot at all (sticks on boot loop) whicht then i have to do a factory reset again to get the rom to boot. Im stuck haha !
 
Why are you using Link2SD with Oxygen? Oxy includes an a2sd script, and if you want to move the dalvik there's a patch for that. OK, Link2SD does let you move individual apps to different places, but that's the only thing I can think of.

Mind you, it's odd that it only works with ext2 - I have played with it, and used it with ext4 myself.

1.5G would be quite big enough for the partition, so it's not likely to be that.

Bootloop after wiping dalvik, but not after factory reset, may well be Link2SD. If you have the stock 147MB internal space and a lot of apps, you may not have space for everything internally. When you wipe the dalvik cache it will be rebuilt, but if you moved it using Link2SD it will need moving again after a wipe. So if the dalvik is rebuilt in internal space when you boot, and there isn't enough room for all of your apps + data + dalvik cache, that could well cause a bootloop (depending on when it runs out of space). Won't happen after a factory reset as the user apps and their data are also gone.

But it doesn't explain why simply rebooting the phone (or powering off) would cause problems. That's the real puzzle.
 
Aww right so if i were to use the terminal emulator i would be able to uninstall Link2sd and then run the TE SU and then a2sd?. would be better if i done it that way like?. Yeah its funny how it does that like. well i will try and do it in the TE for now and see how that goes. When i run this will the apps move over to the partition automatically? it might be that L2sd is making th apps mess up ..
 
/system/etc/init.d/10apps2sd i have that on my phone have chcked using X-plore, But when i run TE type SU then return, Then type A2sd install and return nothing happens get a message saying "" Not found. :S
 
Those terminal Emulator commands are for Dark Tremor scripts. Oxygen doesn't use those but had its own. Oxygen apps to sd should activate automatically.
 
yeah it has all that i have done a factory reset last night but i install the LINK2sd will i be ok to just unistall it or will i have to do i reset again or does the rom need reflashing?.
 
For what it's worth I would recommend you flash Mildwild Oxygen following a factory reset from recovery. Apps2sd & dalvik2sd are activated automatically on first boot. And you get ICS theming.

I would leave ICS to a phone that was designed to run it.
 
That would be a simple solution :)

If you've set up Link2SD then it will overwrite the existing 10apps2sd script. Flashing the ROM without a wipe will undo that. Just installing Link2SD won't do this, but running it will.
 
aww rightio then. Well my phone seems to be working problerly for a change lol. I am going to have to wait and see lol. Its fine for now got the Apps2sd script working i think lol. let hope haha. with about 10 apps upto now my Internal memory is still at like 70mb sooo.. lets hope its sorted. Hadron when you say on you Sidepanel your Desire is throughly modded? .. What other modds have you got?, How are you with custom boot animations as in your own from scratch?
 
Never bothered about boot animations TBH. I prefer not to spend too much time looking at them ;)

Nearest to that I've come is doing my own theming of dGB by replacing some of the images in framework-res.apk and systemUI.apk myself rather than using the UOT Kitchen (a bit of finer control). The sidepanel was really just because I got bored with changing it when I changed ROMs - as I'd by the time I wrote that I replaced ROM, radio, recovery, hboot, I never used a ROM off the shelf without modifying it a bit, and was usually using a custom hboot I made myself (using _thalamus' tool) I figured that was thorough enough modding to justify the words.
 
Aww right yeah i get ya lol. Do you work in this line or do you just do it all for fun?. Hadron could ya give us a bit of advice on as a beginner to get into android programming/development :) cheers.
 
I'm not an android developer. I know unix/linux, and like to tune devices to my own prefs, but can't claim more than that. I've heavily modified my phone, largely relying on what I've learned here, which is why I hang around this forum - others have helped me, and I'm just passing on what I've learned.

If you want to know my background, add the phrases "knows linux command line" and "not afraid to poke things and see what happens" and you've covered most of my claims to fame :)
 
Back
Top Bottom