hi, i try yo make a new compilation but im stuck on 95% after brunch, in theory if i built myself using the sources for PL2.
It could work? any suggestions to build with 8gb of ram?
Tsuragi said:
hi, i try yo make a new compilation but im stuck on 95% after brunch, in theory if i built myself using the sources for PL2.
It could work? any suggestions to build with 8gb of ram?
Click to expand...
Click to collapse
Post a screenshot where are you stuck.
With 8 GB RAM ensure that you have big enough swap file on your building system. It can take a several hours to complete the build...
Machi007 said:
Post a screenshot where are you stuck.
With 8 GB RAM ensure that you have big enough swap file on your building system. It can take a several hours to complete the build...
Click to expand...
Click to collapse
i have 4.5gb of swap, i need add more? and... i wait 9 hours for 95%
I will build again this night for the screenshot
Tsuragi said:
i have 4.5gb of swap, i need add more? and... i wait 9 hours for 95%
I will build again this night for the screenshot
Click to expand...
Click to collapse
When I building StagOS, on 97-98% it consumes 16 GB of RAM plus 3 GB of swap. Some processes during building are really big RAM consuments. Try to extend your swap file and build overnight, It really depends on your hardware, how long it takes. 8 GB of RAM is not ideal amount for Android building. Just be patient...
i think i will only do a custom kernel for now, possibly in a few months I will be able to improve my system and learn a little more
Related
Hypothesis:
The memory for this device is contiguous with memory holes. This holes are for DMA for front/back camera, video decoding/encoding, etc. In 99.99% of time this is wasted memory.
Proposal:
Why not allocating all ram and dynamically allocating memory for DMA only when needed?
For example this could be like this:
1.The phone boots and the mm allocates all memory but lies the driver for camera that he could use a portion of ram for DMA
2.The system use normally all memory (maybe allocating last the reserved memory)
3.The user starts the camera
4.A hook in camera's driver instruct the mm that he needs the reserved memory
5.The MM frees a portion of ram(other than the one needed by the camera and equal with that) and moves everything from the reserved memory in that
6.The MM updates it's maps(virtual memory ↔ real memory)
7.The camera uses normally in DMA the reserved memory
8.The user closes the camera, the camera driver notifies the MM that he doesn't need memory anymore
9.The MM allocates normally the reserved memory
Pros: You'll have like 50% more ram in user space
Cons: Some lag when starting camera
I'm ready to start implementing this but I don't have lots of experience with the linux's mm and I don't really know if this is possible so I'm asking:
How crazy this idea is and it could be implemented? And if yes, how hard?
WOW! Your the first to suggest it. After everybody else here on forum, that is.
dupel said:
WOW! Your the first to suggest it. After everybody else here on forum, that is.
Click to expand...
Click to collapse
Yes, I know, the idea is not revolutionary or smth ) but I'm ready to try to implement it...
So please respond only if you can provide some useful information.
Not sure anyone really knows how easy it is to do for sure, but it has been mentioned a few times (but sounds like you have done it in further detail).
Personally, I've always believed that it's something which Samsung is working on, but maybe not. Could be awesome if you managed to make it work reliably.
Check out Hardcore's Speedmod kernel here in the development section.
His kernel gives you 341 RAM instead of the default 304. Might give you some ideas.
I know this isn't a bounty thread, but I would be willing to donate $20 if you could get this working. I wouldn't mind a slightly delay when launcher camera. I'd much rather have more free RAM.
andars05 said:
I know this isn't a bounty thread, but I would be willing to donate $20 if you could get this working. I wouldn't mind a slightly delay when launcher camera. I'd much rather have more free RAM.
Click to expand...
Click to collapse
I seriously think Samsung messed up a very good phone by allotting ONLY 512 MB ram. With 16/8 GB at their disposal, they could have easily allotted at least 1 gb
ragin said:
I seriously think Samsung messed up a very good phone by allotting ONLY 512 MB ram. With 16/8 GB at their disposal, they could have easily allotted at least 1 gb
Click to expand...
Click to collapse
+1 here!
I have the 16GB version so I wish Sammy gave this version at least 2GB RAM and 1 GB ROM
android.francis said:
+1 here!
I have the 16GB version so I wish Sammy gave this version at least 2GB RAM and 1 GB ROM
Click to expand...
Click to collapse
Can any developer DO THIS?
Seems simple. I think you need hack the pit file.
hi . . .
I dont want to be rude, but seeing these comments I couldn't stop myself -
Dudes, if you dont know what you are talking about STFU!!!
Seriously?? Allocate more to RAM from 16/8 GB??????? And edit the PIT file for this???? I am assuming that you all would've used computers, are you allocating more to RAM from the free space in your Hard Disk?? What you are suggesting is the same!!!
Please think for a moment before you post stuff.
And to the original query regarding how hard this would be - it would be pretty hard. You will have to touch upon everything that uses and reserves RAM. And this would also include modifying firmware of individual components on the phone. And if there are parts in this for which Samsung has not released source code, it would be very difficult. Not to say that - you could end up damaging the phone.
Good thoughts - but it would need a lot of work to get going.
Cheerios!!
Actually, using a swap partition on flash isn't that bad an idea, they are low latency. It would be pretty slow compared to physical ram though
Sent from my GT-I9000 using XDA App
coooolboyz said:
hi . . .
I dont want to be rude, but seeing these comments I couldn't stop myself -
Dudes, if you dont know what you are talking about STFU!!!
Seriously?? Allocate more to RAM from 16/8 GB??????? And edit the PIT file for this???? I am assuming that you all would've used computers, are you allocating more to RAM from the free space in your Hard Disk?? What you are suggesting is the same!!!
Please think for a moment before you post stuff.
And to the original query regarding how hard this would be - it would be pretty hard. You will have to touch upon everything that uses and reserves RAM. And this would also include modifying firmware of individual components on the phone. And if there are parts in this for which Samsung has not released source code, it would be very difficult. Not to say that - you could end up damaging the phone.
Good thoughts - but it would need a lot of work to get going.
Cheerios!!
Click to expand...
Click to collapse
My response: VIRTUAL RAM. And yes, I think before I post. My response was more of wishful thinking. So as an added response: ANALYZE and comprehend BEFORE you react. And I orginally was not suppose to reply but similar to you, I JUST COULDN'T STOP MYSELF
Now as for the topic of more RAM, I said before to check out Hardcore's SPEEDMOD KERNEL. It is fully functional and your RAM goes from 304MB to 341MB. Yes, it is hard but Hardcore already did it.
Is that normal? How much free RAM do you guys have?
doesn't look like it, but mine is the same. I believe it is the lollipop memory leak issue...so as usual we just have to wait it out
Sucks that just as we are finally seeing 3 Gig of RAM we end up in the same situation as when we had 2Gig ?
I have not upgraded to to 2015 Flagship Standard yet but ...
I was hoping to START at the beginning of Boot Up with about
1.7 -2 GIGs of free RAM for Tasking etc.
I think " upgrading" to Lollipop on many Devices could create more problems than it solves - right ?
And the supposed Wifi Calling and VoLTE are not going to work
because they are Carrier Specific Software which must come directly from your Service Provider.
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
XxKINGxX2580 said:
Is that normal? How much free RAM do you guys have?
Click to expand...
Click to collapse
Is that a built-in app showing you that?
DanRyb said:
Is that a built-in app showing you that?
Click to expand...
Click to collapse
Yes. it's called Smart Manager.
XxKINGxX2580 said:
Yes. it's called Smart Manager.
Click to expand...
Click to collapse
I just found it a few hours ago but thanks for replying LOL. This is my first Samsung that I'm using TouchWiz in years haha.
jaseman said:
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
Click to expand...
Click to collapse
This right here, folks.
jaseman said:
Free RAM is UNUSED/WASTED RAM! Understand? The more software/applications that are pushed into RAM the better because it is available to do whatever it needs to do without having to go and search for it and place into RAM! If and when you need more RAM for something new, say like opening another application...then Android will move out of RAM whatever is not being used and replace it with the new software. If your phone had 10GB of RAM it would still look nearly full. This is a GOOD thing. It's all still available for use when needed. Remember that RAM is always the fastest part of your phone. Of course the more RAM you have the more applications you can have open at any one time without any lag/stutter. But for now 3GB of RAM is quite good for a cell phone on Android.
Click to expand...
Click to collapse
Come on... I have Galaxy S4 now (going for S6 today). The S4 comes with 1.8GB usable memory but when it reaches arount 1.5 GB it starts lagging, and by lagging I mean a lot! The fact is that when the device has less RAM it gets laggy and it works better when it has more free memory.
Anyway the higher memory usage is probably of how Lollipop works - it preloads the entire app in the RAM instead of loading it from the flash. It is meant to speed up loading but it takes more memory and I can argue for the effect.
once there are some custom roms, this "issue" will be addressed.
until then, you just have to deal with it
I got my device week ago and free ram is never more than 500-600 mb ..i know its problem with lollipop 5.0...since asus is in no mood to release 5.0.1 or 5.0.2 to solve it out..does anywhere here know about something that cn be done to solve it..kinda new here.if there is any other thread that has solution to this than link it here ..
Here is the solution http://forum.xda-developers.com/xposed/modules/xposed-fix-lollipop-memory-leak-t3065296
I need to root first right?
Yes, needs root and Xposed installed.
Just reporting that on the 4 gig version that I have my memory is consistently over 1 gig free memory.
lollyjay said:
Just reporting that on the 4 gig version that I have my memory is consistently over 1 gig free memory.
Click to expand...
Click to collapse
On the 4 gig version (have one myself) ... yes, exactly 4gb
Also they aren't releasing 5.0.x because 5.1 is currently tested by the beta testers. Just give it some time. Btw, why do you even care when you still have 500-600mb free? :silly:
XneofuX said:
On the 4 gig version (have one myself) ... yes, exactly 4gb
Also they aren't releasing 5.0.x because 5.1 is currently tested by the beta testers. Just give it some time. Btw, why do you even care when you still have 500-600mb free? :silly:
Click to expand...
Click to collapse
dude its 500-600 mb free when no app is open ..u open a couple of apps it goes to 300 something and then u play asphalt 8 it goes straight to 200 mb available ..dude can I install super zen rom on my 2 gb ram version..?.......
GrandpaaOvekill said:
dude its 500-600 mb free when no app is open ..u open a couple of apps it goes to 300 something and then u play asphalt 8 it goes straight to 200 mb available ..dude can I install super zen rom on my 2 gb ram version..?.......
Click to expand...
Click to collapse
Yeah, sure, when it's a 551ML. But don't hope for too big of an impact ^^ It's "just" stock with trash removed
You could try installing the xposed memory leak fix, might help ... didn't test it though (4gigs are plenty to compensate the leak ).
XneofuX said:
On the 4 gig version (have one myself) ... yes, exactly 4gb
Also they aren't releasing 5.0.x because 5.1 is currently tested by the beta testers. Just give it some time. Btw, why do you even care when you still have 500-600mb free? :silly:
Click to expand...
Click to collapse
Beta testers said that they weren't testing 5.1 atm.
cmendonc2 said:
Beta testers said that they weren't testing 5.1 atm.
Click to expand...
Click to collapse
Oh, well. Then I'm sorry. Really thought so ... theeen let's keep waiting ^^
Previos time I used Redmi Note 4 (Mido). That phone are 3gb varient. That phone in i flashed epicMiui custom rom. That rom are used my ram storage only few 1gb/1.3gb Ram. That rom are my best choose for that issue. All time ram storage 1.4gb are always free. That phone camera are just osame:good:
But,
Now I am used Redmi note 5. There I tested many custom rom. All the custom ROM are most ram storage drained. Like there are free ram storage are only 700mb to 900mb.
So,
I need A miui based rom.
That are i am used daily draivers. That are mostly free my ram 1.4 to 1.5gb. Sugeested me please...
Nb: sorry my bad english.
You don't need that much free RAM. Android is pretty good at managing memory by itself, and 4GB are plenty for a good experience.
Really, flash any ROM that suits your needs
Nazmul.i404 said:
Previos time I used Redmi Note 4 (Mido). That phone are 3gb varient. That phone in i flashed epicMiui custom rom. That rom are used my ram storage only few 1gb/1.3gb Ram. That rom are my best choose for that issue. All time ram storage 1.4gb are always free. That phone camera are just osame:good:
But,
Now I am used Redmi note 5. There I tested many custom rom. All the custom ROM are most ram storage drained. Like there are free ram storage are only 700mb to 900mb.
So,
I need A miui based rom.
That are i am used daily draivers. That are mostly free my ram 1.4 to 1.5gb. Sugeested me please...
Nb: sorry my bad english.
Click to expand...
Click to collapse
Why would you need free unused ram?
iuliusdeblobbis said:
You don't need that much free RAM. Android is pretty good at managing memory by itself, and 4GB are plenty for a good experience.
Really, flash any ROM that suits your needs
Click to expand...
Click to collapse
But there is a catch. MIUI is very aggressive in killing background apps. At first I through that 3gb of ram is not enough and that's the reason why multitasking is so bad. The phone wasn't keeping even 3 apps in ram. Now when I'm using aosp based ROMs I no longer have such issues.
0dium said:
Why would you need free unused ram?
Click to expand...
Click to collapse
Bcz,
Low ram storage make my phone lezy and so slow.
Nazmul.i404 said:
Bcz,
Low ram storage make my phone lezy and so slow.
Click to expand...
Click to collapse
Thats not how android works. This is not microsoft windows. Android frees up ram whenever its needed. Miui based roms have more free ram because it has very aggressive background control, but that doesnt mean its good. You cant multitask because it just kills every background app.
Incogn said:
Thats not how android works. This is not microsoft windows. Android frees up ram whenever its needed. Miui based roms have more free ram because it has very aggressive background control, but that doesnt mean its good. You cant multitask because it just kills every background app.
Click to expand...
Click to collapse
+1 on this.
MIUI has such an aggressive memory management because killing apps in the background gives an impression of better battery life. This results in less RAM usage, which is great marketing towards people who don't know how Android works :/
iuliusdeblobbis said:
+1 on this.
MIUI has such an aggressive memory management because killing apps in the background gives an impression of better battery life. This results in less RAM usage, which is great marketing towards people who don't know how Android works :/
Click to expand...
Click to collapse
But it does have excellent battery life despite it being a bloated and heavy pig.
peter-k said:
But it does have excellent battery life despite it being a bloated and heavy pig.
Click to expand...
Click to collapse
I have same battery performance with Pixel Experience as i did with stock rom or masik. Only difference being, with PE i can actually multitask without constantly getting my apps closed in the background. That, and not having to worry about some notifications arriving late. Apart from these 2 things i actually quite like MIUI unlike most users here.
This is is rom. That are i Fond,
Always free 1.4/1.6 ram...it perfect for daily driver used.
https://drive.google.com/drive/u/0/mobile/folders/1pv3WMBJyJmadpTkkSRCvPTjR0RG0Ak-6
Im looking for Kernel with best performance for miui11 android 9 and extendedui android 10
Stock kernel is always best, but i can recommended try rad and strombreaker
fakeyatogod said:
Stock kernel is always best, but i can recommended try rad and strombreaker
Click to expand...
Click to collapse
Thanks i will try them
Use kangarooX OC with spectrum injector best for gaming battery and much more twicks
suport gogle camera ?
Arbaj2233 said:
Use kangarooX OC with spectrum injector best for gaming battery and much more twicks
Click to expand...
Click to collapse
I've been using this kernel for a very long time, but from update to miui11 when i'm using this kernel, i'm having trouble with ram management. After few days of usage free ram drops from 2gb to 1gb (i have 4gb in my phone) even when i clear everything in background and when it drops below 1gb phone starts lagging af
Silverowe Plejsy said:
I've been using this kernel for a very long time, but from update to miui11 when i'm using this kernel, i'm having trouble with ram management. After few days of usage free ram drops from 2gb to 1gb (i have 4gb in my phone) even when i clear everything in background and when it drops below 1gb phone starts lagging af
Click to expand...
Click to collapse
They do mentioned about the ram already 25% less ram will be available than stock kernel, I'm using this kernel from long time. No such issues faced yet.