[Q] Enable Swap for HTC Desire - Desire Q&A, Help & Troubleshooting

I have a rooted HTC Desire with the Amethyst (http://forum.xda-developers.com/showthread.php?t=878901) ROM installed. The phone has busybox etc, but when I try to set up swap either using Swapper2 or "swapon" directly from the Terminal I get an error saying that the functio is not implemented. This happens when I use a swap file, or a swap partition.
How can I get this to work? Is it a problem with the ROM? If so, could anyone point me in the direction of a ROM that does support this.
Thanks in advance.

You need a kernel that supports it

OK, so I guess I should switch to the Cyanogen one then?

Does anyone know of any AOSP Gingerbread compatible kernels with Swap support?
Sent from my HTC Desire using XDA App

+1
I need one too

bump I need a desire Rom that supports swap file too

Even though this thread is more or less dead, I decided to attach the build I did today for anyone who stumbles upon it.
The kernel is by droidzone, for Sense 3.5, the same as the one used in RSK SE, git revision fb1198d, same config, I only enabled swap.
There might be some problems with the wifi module, I had to try different toolchains to get it to compile and load, in the end it did load OK but the wifi settings activity was still giving me errors; restoring a nandroid backup with the default kernel and applying the kernel zip immediately seems to have solved it.
In other words, take a nandroid backup before flashing this (should be obvious anyway...)
Also, for those looking for a swap-enabled AOSP kernel, have a look at CronMod.

Related

[Q] Does anyone know of any sense based roms that will fit on the Bravo sense HBOOT

As the title asks. I assume this partition table was designed for sense but so far the roms ive come across are all too big. Im not too fussed about having sense itself as I use launcher pro so any lite ones would do.
Download your sense based rom, open it with winrar, winzip (or any other program you like), don't unzip it. Then remove all the stuff from system/app that you don't want. Once done removing you have to make sure the uncompressed version will fit within the sense Hboot. Also take in to account you can't remove anything without consequences, this should give you a idea of what can be removed, rossi.apk (sense launcher) is not on the list but you can remove that also.
diggedy said:
As the title asks. I assume this partition table was designed for sense but so far the roms ive come across are all too big. Im not too fussed about having sense itself as I use launcher pro so any lite ones would do.
Click to expand...
Click to collapse
check this rom http://forum.xda-developers.com/showthread.php?t=789830
its a desire hd rom ported to desire called rc mix hd . its a very stable rom and has all the customizable features of sense 2.0. it requires u create partitions on your sdcard for apps2sd+ or data2sd [i perfer]. its actually very easy todo and would gladly walk u thru the process. email me at [email protected] if u need a helping hand getting your sd card partitioned [try for ext4 its the safest to preven t data corrutption]. use gparted, burn the iso into a boot disc, change sequence of boot order then start pc with disc in disctray. sounds confusing i know but ill help u get er done. email me
Hi links, thanks for the offer. Im actually ok with using a2sd but it seems some roms dont include the fix and I ended up losing some files the other day to corruption so I was hoping for a way to do away with a2sd altogether. CM7 is great but due to bluetooth issues I cant use it so im having to use a stock ROM, even the HD roms are giving me issues.
I figured if I could make a stock one fit on the Bravo-sense boot partition setup (alpharev.nl (s-off)) then that would work as it gives you around 220 mb of app space, which is what ive been using with CM7. Im guessing there must be some that work otherwise the partition image wouldnt have been created but I cant seem to make one fit :/

Battery and Lag Isuues Starburst

I made a thread on this before and didnt get much help so this im doing it right.
Size of sdcard used: 8gb Kingston class 4
Size of each partition created and type of partitions made : Primary fat 32 (4.7gb) and Primary EXT4 (2gb)
Software used for partitioning (Gparted, Amon Ra recovery etc): Gparted
Recovery Software installed, with version and subversion number (Eg: Clockworkmod 3.0.0 R3): Clockwork Mod Recovery 2.5.0.7
Whether you are S-OFF or S-ON (If you dont know what this is, or you dont have the picture of a Joker holding a card, on the bootup screen, you are S-ON): S-OFF
Detailed account of steps you did for the procedure, with output/errors at each step as received from the Recovery/Partitioning software: This part im not too clear about
Did you do a full wipe from Recovery before installation?: Yes
If you didnt, what ROM were you running previously?:
Version of the ROM you installed, and the names of the Data2SD installer/reinstaller flashable zips you used (if any.): Starburst (1.3.3.5) – Standard Edition Data2Sd installer (Stable) VersionCode :1.3tiny
If you’re using a custom kernel, full name of the kernel with author name, the kernel voltage if known, whether you have an overclocked/undervolted configuration: None
Did you get any of the following messages in recovery? …………………………………….
sd-ext could not be formatted, file already exists?
Failure mounting ‘sd-ext’
Or a message similiar to the above?: No
My battery is draining in 9 hours of moderate use opposed to full days or more before rooting and using this custom rom. It also lags now, it will be all zippy then it will freeze for a few seconds or just lag insanely. Maybe the battery issues are stemming from the cpu working too hard trying to deal with the lag. Thats just me brainstorming but ya, if anyone could help me out here I would greatly appreciate it.
(As of now I am using a default homescreen free of all custom apps to see if the problem is stemming from one of them) EDIT: it made no difference so I am assuming it is not a running app.
(Also, it lagged as soon as starburst was installed so maybe the apps have nothing to do with it. Another issue is that when I press the power button to turn the screen on the screen dosent always turn on. This is another issue associated with the lag that is bothering me)
A note. The battery melts away when I start to use apps, the internet or anything that takes the phone out of standby mode. If I'm correct the kernel in the starburst rom overclocks the CPU to one thousand and something. Maybe this could be my problem. And if you think this may be the case could you recommend a better kernel to me? Thanks
Sent from my HTC Desire using XDA App
I think I may have figured out the issue. You see, when I first installed the rom I restored my default settings effectively replacing my new fancy rom with the old one.
When I wiped the internal memory (2 gb or so off of ext 4 primary I think) the external still had a few files on it from the last install of the rom. I left those there thinking they would be no issue. Could those remnants from my first starburst install be the cause of my issues?
Sent from my HTC Desire using XDA App
Joshua3109 said:
I think I may have figured out the issue. You see, when I first installed the rom I restored my default settings effectively replacing my new fancy rom with the old one.
When I wiped the internal memory (2 gb or so off of ext 4 primary I think) the external still had a few files on it from the last install of the rom. I left those there thinking they would be no issue. Could those remnants from my first starburst install be the cause of my issues?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Wipe and repartition with Gparted, this time only leave 1 Gb for ext4. Dont install Setcpu and dont manually set vdd levels for kernel. See if it lags before any apps are installed. If it doesnt try restoring apps with Titanium and see again. Since you do have 10 posts, why dont you continue this qn in StarBurst thread? Please dont PM me. I rarely if ever check these!
Btw..you can also flash the Leedroid 2.2f from Kernels section of my site. It's known for its better battery life.
Should we erase all previous files when updating roms? Do they cause trouble?
hurin8 said:
Should we erase all previous files when updating roms? Do they cause trouble?
Click to expand...
Click to collapse
If your previous installation worked fine, no need to wipe. If you are coming from another Rom, you definitely need to wipe

Please help :( HTC Desire Camera - All white screen

Hi guys,
I have an HTC Desire with the HTC 2.3 Gingerbread upgrade.
As I wanted to overclock I installed kernel-gg1-signed from here
http://forum.xda-developers.com/showthread.php?t=819971&highlight=vork
everything looks to work fine, but when I use camera or camcoder even though the app seems to work, the whole screen is white. I can take pictures and see them afterwards, but I can't actually see what I am taking a picture of.
I would be grateful if someone could help me fix this.
Thanks in advance
lowrider82 said:
Hi guys,
I have an HTC Desire with the HTC 2.3 Gingerbread upgrade.
As I wanted to overclock I installed kernel-gg1-signed from here
http://forum.xda-developers.com/showthread.php?t=819971&highlight=vork
everything looks to work fine, but when I use camera or camcoder even though the app seems to work, the whole screen is white. I can take pictures and see them afterwards, but I can't actually see what I am taking a picture of.
I would be grateful if someone could help me fix this.
Thanks in advance
Click to expand...
Click to collapse
Same here. I installed the overclocking kernel and my camera/videocam became white. I restored my old backup and everything is fine.
That kernel is for Froyo but your ROM is gingerbread.
You need a kernel for gingerbread such as bananacakes's kernel, snq's kernel, alex-v's kernel or droidzone's kernel to name a few.
I suggest the one that I'm using now
Droidzone's kernel here
And you can go to http://supernova.droidzone.in/?p=1134 and register as a member for various kernels that you can try.
Thank you so much! This fixed it!!
Any chance you know of a way to actually increase the available space of "internal storage" and avoid the constant "low memory" once someone installs several apps?
Of course I move all those that I can to SD card but there is always part remaining in the internal storage....I was wondering if there is any way to "fool" the phone to think that part of the memory card is actually internal memory?
I tried partitioning with Rom Manager but I don't see it working...It just seems like I completely lost those 512mb from the memory card....unless I am missing out something
You need more than partitioning sdcard such as init.d support, a2sd for apps to installed on ext partition and so on.
Here is a good read and a good start for custom ROM.
http://forum.xda-developers.com/showthread.php?t=1200261

[Q] Boot Manager issues

I tried run Boot Manager on the Desire Z for a multiboot environment so I could easily test ROMs before flashing them.
No matter which ROM I try to run from SD, the phone stays at the HTC bootlogo.
Last time I've let it run for 5 hours until I removed the battery and reflash Andromadus to bring it back to life.
Any ideas what I'm missing? The app should officially support the G2/DesireZ.
Anyone managed to make it work or having the same issues?
I never bothered with something like that to 'easily test a rom', I simply make a full backup in recovery, wipe, flash new rom, try it out, and if I don't like it, wipe and restore backup.
I imagine the utility might run you into problems if you have an sd-ext partition used by two different roms (or a rom not designed to work with something like that).
DaFunkShun said:
I tried run Boot Manager on the Desire Z for a multiboot environment so I could easily test ROMs before flashing them.
No matter which ROM I try to run from SD, the phone stays at the HTC bootlogo.
Last time I've let it run for 5 hours until I removed the battery and reflash Andromadus to bring it back to life.
Any ideas what I'm missing? The app should officially support the G2/DesireZ.
Anyone managed to make it work or having the same issues?
Click to expand...
Click to collapse
Try setting the large boot option and recreating the slot.
You will have to follow their instructions from the top, not just use the application to setup a secondary slot. Setup both your main rom and the slot1 from scratch while following the instructions. Also make sure your sdcard has enough space.
Sent from my HTC Vision using xda app-developers app

[Q] Finding and installing a kernel

I've just successfully installed the Runnymede ROM on my Desire. It took several attempts and the problem appears to have been with choosing to install with the Droidzone kernel, so I chose the default "bananacakes - BFS/HAVS/No2WayCall" kernel, which worked. However, I'd like to improve the performance and it sounds like the "Droidzone - performance/2WayCall" kernel is best for this.
Problem is, I'm having trouble finding that kernel to download and install. Could someone point me to where I can find it? I looked on the droidzone.in site, but couldn't see anything that looked like what I'm looking for.
Presumably once I do have it, it's just a case of booting into recovery and flashing from a .zip file?
http://supernova.droidzone.in/2012/07/30/kernel-nightlies/
Sent from my HTC Desire
erocnit hundreds
Thanks - presumably I do just flash it in recovery, like I would with a new ROM?
Well, I flashed the .zip in recovery and appeared to be successful, but on rebooting, it stayed stuck on the white HTC boot screen.
This might be a broad and open-ended question, but is there a reason why this would happen and how it can be remedied?
The kernel u flashed, did it say sense 3.5 supported in droidzone site?
Sent from my HTC Desire
jmcclue said:
The kernel u flashed, did it say sense 3.5 supported in droidzone site?
Sent from my HTC Desire
Click to expand...
Click to collapse
Yep - it was the one listed under "Performance Kernel – -Jan 24 11.26 am IST".

Categories

Resources