SRAM/DataOnEXT or NativeSD hybrid

Discussion about anything related to Android or this forum here.
Moderator: Forum Moderator

Re: SRAM/DataOnEXT or NativeSD hybrid

Postby soren » Wed Jul 24, 2013 4:03 pm

Odysseus wrote:I'm new to these forums, but have more than a decade of experience running Gentoo Linux. I'm concerned that these phones are too resource limited to use this technique. With only 1/2 a gig of ram and no swap, running most of the system in memory wouldn't leave much for anything else and could quickly lead to a situation where apps are starved and crash especially when multiple apps are opened simultaneously.

Yes. That is the limitation of this technique for this phone. However, it's not impossible if the system size is small. Barebone CM7 only needs 68 MB for the system partition. If Jellybean CM 10.1 could be stripped to be under 100 MB, I think it would be very usable.
soren
Senior Member
 
Posts: 303
Joined: Mon Jul 08, 2013 12:41 pm
Has thanked: 160 times
Been thanked: 86 times

Advertisement
 

Re: SRAM/DataOnEXT or NativeSD hybrid

Postby Odysseus » Wed Jul 24, 2013 7:58 pm

soren wrote:Yes. That is the limitation of this technique for this phone. However, it's not impossible if the system size is small. Barebone CM7 only needs 68 MB for the system partition. If Jellybean CM 10.1 could be stripped to be under 100 MB, I think it would be very usable.


My experience with operating systems (which goes back to DOS 3.0 and could be run off floppy discs) has been that every new incarnation is considerably larger than the previous version, as new features are added and fixes made to existing ones. CM7 if I'm not mistaken, is based on Gingerbread vs CM10.1 and Jellybean. This means you're comparing operating systems that are more than 3 generations removed from each other and were originally designed to run on hardware from their own respective eras. I don't know how plausible it would be to strip the OS to such a small footprint while leaving the functionality we all desire and have come to expect in our phones.

It's a balancing act that developers have to make already to incorporate such features to our phones and to bring a pleasant user experience while maintaining a small footprint. Think about it, standard desktop OS's routinely consume many gigabytes of ram and storage to bring about the same type of user experience. Frankly, it's a testimony to creative developers like Tytung and the engineers at HTC (for developing such a forward looking device) that our HD2s can even run Jellybean effectively, as it's my understanding that 4.2.x was designed from the ground up to be run on multi-core processors with better GPUs and considerably more RAM than we have in our phones.
Current device: HTC Amaze 4G
Bootloader: HTC - Dev unlocked, S-on
Recovery: 4ext - smart flash enabled
ROM: CM-10 - Compiled and customized by me - thanks spostsstar89 - CM - Team Nightmare
Xposed framework - rovo89
GravityBox - C3C076

Previous device: HTC HD2 (TMOUS - LEO1024)
Final ROM: NexusHD2-JellyBean-CM10.1.3 v2.7 - Tytung
Had more lives than a cat, best handset I ever owned
Lesson: If it ain't broke, don't fix it!
RIP
User avatar
Odysseus
Recognized Contributor
 
Posts: 117
Joined: Sun Jul 07, 2013 10:44 pm
Location: Miami, FL
Country: United States (us)
Has thanked: 89 times
Been thanked: 132 times

Re: SRAM/DataOnEXT or NativeSD hybrid

Postby soren » Thu Jul 25, 2013 6:35 pm

FYI, tytung's GB ROM requires 135 MB but Barebone CM7 requires only 68 MB. That is 67 MB or 50% difference in size. Actually, I'm interested in the hybrid method; the size is a separate issue. It has already been proven that SRAM method is very usable at least for a GB ROM.
soren
Senior Member
 
Posts: 303
Joined: Mon Jul 08, 2013 12:41 pm
Has thanked: 160 times
Been thanked: 86 times

Re: SRAM/DataOnEXT or NativeSD hybrid

Postby symbuzzer » Thu Jul 25, 2013 7:14 pm

soren wrote:FYI, tytung's GB ROM requires 135 MB but Barebone CM7 requires only 68 MB. That is 67 MB or 50% difference in size. Actually, I'm interested in the hybrid method; the size is a separate issue. It has already been proven that SRAM method is very usable at least for a GB ROM.


I agree with you. I never used this method but I read roms comments which were based this method on XDA.
I am using NexusHD2 GB V3.3a rom with 105MB system partition. I removed unneeded apps from system/app, removed boot animation from system/media and removed unused ring and norifications sounds from system media. If I move Google Play Store, Google Play Services and GMail apps to data partition, I believe I can resize system size to 90 MB too.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron