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

Root GingerShedBread/GSB

no need to wipe or reflash anything. just boot into recovery and flash cache2cache. look at settings/storage and see what you have available before and after flashing :)
 
I've been running it with compcache disabled and VM heap size maximized, as that's the default in GSB. Do you recommend changing it to something else that might be more optimum?

I think 24 MB is the default on GSB. 32 is max. I run 16 MB without any issues, but I'm not in and out of a bunch of different apps at any given time. 24 MB should be good for most.
 
I think 24 MB is the default on GSB. 32 is max. I run 16 MB without any issues, but I'm not in and out of a bunch of different apps at any given time. 24 MB should be good for most.

The default for GSB was 32 MB on mine so I haven't touched it. Do you recommend 24 MB?

Is the rule of thumb, the lower the better, unless you need more for a particular reason?

If you were to need more, how would you know it?
 
Just wanted to caution you that running the max size heap is ok if you need it, but the downside of a large heap is that the VM will need to garbage collect more objects which can take longer. The end result is that you may see longer pauses during usage. I would try to run a smaller heap and see if you have any issues... Unless of course your phone is running good as is.

Being a java developer I have dealt with figuring out an optimal heap size for the application I develop for at work.

I'm not understanding "heap" and "vm". Could you explane what it is and what it does.:o
 
I want flash cache2cache, however, I just already flashed 1.7 and gapps the other day. Would I have to reflash 1.7 and gapps again then cache2cache? Or would I just go in and flash cache2cache anyways (if so, should I wipe davlik on the SD Card)?

no need to wipe or reflash anything. just boot into recovery and flash cache2cache. look at settings/storage and see what you have available before and after flashing :)

Scotty is correct - you can flash at any time. To add to that, with an update to the ROM that you want to flash without wiping data after flashing c2c, just remember that you need to reflash c2c after flashing the new update.

So, steps to update would be:

- flash the new GSB
- reflash the google apps
- reflash c2c
 
The default for GSB was 32 MB on mine so I haven't touched it. Do you recommend 24 MB?

Is the rule of thumb, the lower the better, unless you need more for a particular reason?

If you were to need more, how would you know it?

I do believe lower is better unless you need more. If your heap is too large, the VM will most likely wait until the heap is nearly empty before running a garbage collection, which when it does will take longer. If your heap is too small, you will either see out of memory errors or frequent smaller garbage collections. I'm not sure how an out of memory (heap) condition is handled by the phone (possibly a force close). The best of course is to find that middle point.

All of this i say is from my experience developing enterprise java software. The phone is of course a different platform with a customized VM, so things may not really operate the same as what i am used to working with.

In the end, i don't think you'd notice much of a difference between any of the settings. The range of values to choose from aren't really going to starve or over-indulge the VM.
 
I'm not understanding "heap" and "vm". Could you explane what it is and what it does.:o

I'll give it a shot.

VM - virtual machine. Java is modeled after a completely virtual computer within your computer - a virtual computer which is the same on every platform running Java - which has the advantage for a Java application that it doesn't matter at all what the underlying hardware of a given computer is - Java applications run in a virtual machine that is the same on all hardware platforms. It can be a Mac, a Windows computer, a Linux computer, a small feature phone - it doesn't matter - the virtual machine looks the same to the application that is running. For reasons that I'll avoid getting into, the Java virtual machine in Android is called Dalvik, a name I know you have seen before.

Java is an object oriented language - I'll let you Google that - and when a Java application creates a new object, the memory for it is allocated from an area called the heap. Java apps occasionally deallocate these objects, when they are done using them, and the garbage collection that you saw referenced is a periodic maintenance routine that goes through the heap and releases the heap space for these objects that are no longer being used by their applications.

If I am wrong about any of this, you Java developers out there, please pipe up....
 
So what are the ideal settings for VM Heapsize and Compcache for an Eris running GSB?

I think 24 MB is a good VM size, and I disable comp cache because i'd rather that the system not compress and decompress the cache data anytime it is accessed (which should be often). I'm betting that the time it takes to compress/decompress exceeds the benefit of the extra cache space it makes.
 
I think 24 MB is a good VM size, and I disable comp cache because i'd rather that the system not compress and decompress the cache data anytime it is accessed (which should be often). I'm betting that the time it takes to compress/decompress exceeds the benefit of the extra cache space it makes.

I don't know if it's real or imagined but, after dropping the VM heap size down to 24 MB, it seems to be a bit snappier.
 
What exactly did GSB do at the touch the Android screen?

When you tried to flash the gapps, did you do it right after you flashed xtrsense, meaning before you powered the phone off or rebooted?

Sorry to hear that. If I were in that boat, I would probably reformat my SD card and start over from scratch. You might want a second opinion on that, though.

In any case, welcome to the forum![/QUOTE

Thanks, I was hoping to avoid that. I'm open to any other suggestions
 
What exactly did GSB do at the touch the Android screen?

When you tried to flash the gapps, did you do it right after you flashed xtrsense, meaning before you powered the phone off or rebooted?


Touching the Android did nothing and then the phone looped back to the skating android opening screen which brought me back to the touch the android which did nothing and then the phone looped etc.
I did flash gapps right after installing xtrSense. I thought I had done everything in the proper order.
 
Touching the Android did nothing and then the phone looped back to the skating android opening screen which brought me back to the touch the android which did nothing and then the phone looped etc.
I did flash gapps right after installing xtrSense. I thought I had done everything in the proper order.


Can you give us a step by step how you flashed the rom and what rom your flashing.
 
i thot there was a setting somewhere that let you pick how fast the animations ran,but now i cant find it! :mad: just the one that you mentioned-some,none,all.
(

i knew i had seen these settings somewhere... finally found them again. they are in the "spare parts" app in the app drawer.

however,mine were allready set to normal,and slowing them down dint have any affect on my old timey tv off :(
 
Touching the Android did nothing and then the phone looped back to the skating android opening screen which brought me back to the touch the android which did nothing and then the phone looped etc.
I did flash gapps right after installing xtrSense. I thought I had done everything in the proper order.

I assume that was a typo. Otherwise, there's a big part of your problem. :D

This is correct - the Google apps are included in xtrSENSE, and do not need to be flashed separately, and the gapps that come with GSB are specifically for Gingerbread ROMs and will probably not work with Android 2.1 in xtrSENSE.

Nightsider, I will ask again: did you wipe data/factory reset before you flashed these ROMs?
 
Flashed GSB Saturday and am totally liking it!! I came over from Nonsensikal which was really snappy and GSB seems alot snappier.
 
i knew i had seen these settings somewhere... finally found them again. they are in the "spare parts" app in the app drawer.

however,mine were allready set to normal,and slowing them down dint have any affect on my old timey tv off :(


My old timey TV don't work. It quit after flashing 1.7. How is yours working.
Also I used to open PDF files in my emails but now it won't. Any ideas.
 
My old timey TV don't work. It quit after flashing 1.7. How is yours working.
Also I used to open PDF files in my emails but now it won't. Any ideas.

I'm not sure about the PDF issue but I have the same problem with the old timey TV turny offy thingy.
 
Also I used to open PDF files in my emails but now it won't. Any ideas.

In the gmail app, this is working fine for me. If it's not working well in the Android email app, I'd suggest trying K9 Mail (though I haven't tried opening PDFs in K9 myself). It's a million times better and solves many problems with the stock mail client.
 
Back
Top Bottom