[Q] How to decrease ram usage of system apps - Android Q&A, Help & Troubleshooting

Hello, i'm using a cyanogenmod 9 on my optimus sol and i want to decrease ram usage of some system apps even modding them, only the settings app occupies 50 MB of ram, on gingerbread it occupies 10 MB of ram, it's abnormal.
Another question is, how to theme a stock app? I have two apk, one that i want to use as "BASE" and the other where i want to port the "gui", in poo words, i want to port the gui of an apk on another apk, for example i have :
Settings.apk = Base
Settings.apk = Different GUI that i want to port
Last question but less important than the others, is it possible to port an apk builded only for ICS to a GingerBread device?
Thanks.

Related

[Q] New to modding apk's

Hi there, I have to android phones and I found an app on the store that doesn't appear for my second phone (xperia ray and Desire S).
So I extracted the apk from my /data/app/ fodler but of course I still can't install it on my other phone.
I guess this is something to do with the AndroidManifest.xml, so here are the questions :
- What tool I can use to extract, compile apk's ?
- What tool can I use to mod my apk so it launches on my 2nd phone ?
Thanks
you can use apk tool to decompile the apk. then you can edit the whole apk using eclipse. to be able to install an apk from system/app you have to put the apk into the same spot and restart the phone.
Dataslycer said:
you can use apk tool to decompile the apk. then you can edit the whole apk using eclipse. to be able to install an apk from system/app you have to put the apk into the same spot and restart the phone.
Click to expand...
Click to collapse
Thanks, so the device compatibility list is generated when compiling from Eclipse ?
You are unlikely to be able to get the apk working on an incompatible phone. The reason for the incompatibility is likely to be that the phone lacks certain necessary features (e.g. CPU type or version of android) so can't run. Unless you intend to reprogram the app to run on reduced features you are better off asking the app dev to add support for the 2nd phone.
Both phones have exact same features : 1Ghz 7x30 and adreno 205 GPU.
Both on GB and planned to get ICS...
Both on the latest MIUI GB release
Is there an option to make it unavailable/available for some specific devices when compiling ? in the XML ?

[Q] Changing Androphone Brand?

Hi Everybody!
Now I'm working for a new brand of smartphones (for the Moroccan market only at the moment), but the manufacturer want to change brand (in the phone properties) if We order more than 20000 units..., but it's impossible or us, so we want to do it ourselves.
The Phone specs:
Screen: 4,5" qHD
CPU: MT6577 Dual Core @ 1 GHz
Cameras 8 Mpixels/ 0.3 Mpixels
Android ICS 4.0.4
RAM 512 MB
ROM 4 GB
It's possible? and how we can do it?
Thanks
ILYASOVICH
Nice phone... i would pu at least 724 of RAM tho...
You have to edit the build.prob
You need to be rooted and a file manager to find and edit the file or a app for that (search for build.prob)
I bet you could do the modifications you want and transform a backup in a ROM so that you can flash on all device instead of doing it individually...
360porcento said:
Nice phone... i would pu at least 724 of RAM tho...
You have to edit the build.prob
You need to be rooted and a file manager to find and edit the file or a app for that (search for build.prob)
I bet you could do the modifications you want and transform a backup in a ROM so that you can flash on all device instead of doing it individually...
Click to expand...
Click to collapse
Thanks a lot!!! I Will try when I will a have my sample

Samsung galaxy s5 Rom for Karbonn titanium s5+/Coolpad 7295c

Samsung Galaxy s5 Rom for karboon titanium s5+/Coolpad 7295c..
Added tweaks for better Ram MANAGEMENT.
LONGER battery life.
Both sim 3g Support.
Brighter Flashlight.
Stock Camera for better pictures.
Android Version: 4.2.2
otg support.
clever gestures.
Transperent status bar.
And many more tweaks.. Not an single bug till now.If you find any report it to me{i can bet you wont find any bug}:fingers-crossed::fingers-crossed::fingers-crossed:
Downloading Link is in the comments section..
{i am not the developer of this rom i just ported it} if you are developer ask me to give you credits as i dont know who developed this rom i got it from my friend to port it..
Sorry i dont post much on XDA so i am not allowed to post an external link here..YOu Can see the Link to download rom in attachment of my comment..HOPE YOU LIKE MY WORK...MORE TO COME NOw+
Sorry for uploading link in attachment..
I am an junior member and i dont post much so i am not allowed to post external links in my threads
Faiz.Sayyed said:
I am an junior member and i dont post much so i am not allowed to post external links in my threads
Click to expand...
Click to collapse
Thanks for that. I'm downloading it now. Will test it in a few hours ...
Link : www.goo.gl/Woc7SS
Let me have a guess...
Android v 4.2.2
Based on Xperia v2 ROM ( from the A919 Tool app icon and the normal nav bar icons in screenshot no. 2, and also the background in screenshot no. 1 where a message is seen saying that " Actually I was bored with Xperia v2 ROM so I made this ROM. " )
Changed Framework apk and systemui apk
Added Samsung Apps like the launcher and calendar, etc.
Updated GmsCore.apk (or Google Play Services to be simple)
Did not edit and/or change the data folder
Followed any MTK porting guide
Did a quick port today ( from the date and time in the screenshots )
Better RAM management -- Tweaked minfree values would be my guess
Did not change the Flashlight app (TinnoLED.apk)
Brighter Flashlight -- Not as easy as he hoped. He would need some redirection of app processing power to the flashlight app to increase its importance, and thereby increase the flashlight brightness. I'm guessing he hasn't done that, so you'd better remove that line.
Did not change the default time zone in build.prop settings (It is set to phillipines time. )
Neat. Good attempt.
Bugs :
Transparent Status Bar
From the screenshots, it is apparent that the Status Bar isn't transparent. You mean that the background of the Notifications panel is transparent. Status Bar transparency refers to the status bar having the colour of the app's upper part. Like in the first screenshot, the status bar (the part with the battery charging info, network signal info, clock, etc.) should have the colour of the app. (like its background should have whatsapp's green colour while running whatsapp)
But, that is more of a misconception than a bug.
Here is a bug which he cannot fix.
3g support on both SIMs.
For that, you need hardware support. It is wrongly mentioned in the Xperia ROM v2 too. I have tried and tested that in almost all other ROMs like MIUI v5, Xperia ROM v2, Stock ROM, etc. and it all comes down to the same thing. YOU NEED HARDWARE SUPPORT FOR 3G IN BOTH SIMS.
A piece of advice : Do not bet that there won't be an bugs at all. Each and every ROM might have a bug that the developer might have overlooked.
Here are some things your friend might have done or should do if he hasn't done yet.
Changing the build.prop setting of ro.product.**** to that of Karbonn's from MyPhone Agua Cyclone ( Xperia ROM v2 was built on that phone's ROM )
Add Material Design Apps from Apkmirror like Gmail 5.0, Maps, etc.
Try porting Kitkat ROMs to Jelly Bean based devices by modifying the installation procedure to include the priv-app folder
Try porting CyanogenMod to this device
Help me in porting Carbon ROM and/or CyanogenMod 12 to this device.
Mention how he got the updater script to work properly and install the ROM perfectly in TWRP and Philz Recovery
Sign the ROM using ZipSigner app and then upload it.
Add more features to it
Here are a few suggestions :
Update the version of SuperSU and then install it.
Make the Xposed Framework built-in. ( Not to be installed manually after installing the ROM )
Pre-install GravityBox or XBlast tools.
Odex the apps folder for better RAM usage
Increase the wifi supplicant scan interval
Throw in some paid apps for free.
Increase the net buffer size
Add the X-Reality engine
ZipAlign all apks.
Add some more fonts ( other than Choco cookie )
Add more sounds for ringtones, audio, etc.
Mention all these to him, and if possible, ask him whether he could help me to develop other ROMs for this device.
BRO thanks for your opinions and thought
rjt.rockx said:
Thanks for that. I'm downloading it now. Will test it in a few hours ...
Link : www.goo.gl/Woc7SS
Let me have a guess...
Android v 4.2.2
Based on Xperia v2 ROM ( from the A919 Tool app icon and the normal nav bar icons in screenshot no. 2, and also the background in screenshot no. 1 where a message is seen saying that " Actually I was bored with Xperia v2 ROM so I made this ROM. " )
Changed Framework apk and systemui apk
Added Samsung Apps like the launcher and calendar, etc.
Updated GmsCore.apk (or Google Play Services to be simple)
Did not edit and/or change the data folder
Followed any MTK porting guide
Did a quick port today ( from the date and time in the screenshots )
Better RAM management -- Tweaked minfree values would be my guess
Did not change the Flashlight app (TinnoLED.apk)
Brighter Flashlight -- Not as easy as he hoped. He would need some redirection of app processing power to the flashlight app to increase its importance, and thereby increase the flashlight brightness. I'm guessing he hasn't done that, so you'd better remove that line.
Did not change the default time zone in build.prop settings (It is set to phillipines time. )
Neat. Good attempt.
Bugs :
Transparent Status Bar
From the screenshots, it is apparent that the Status Bar isn't transparent. You mean that the background of the Notifications panel is transparent. Status Bar transparency refers to the status bar having the colour of the app's upper part. Like in the first screenshot, the status bar (the part with the battery charging info, network signal info, clock, etc.) should have the colour of the app. (like its background should have whatsapp's green colour while running whatsapp)
But, that is more of a misconception than a bug.
Here is a bug which he cannot fix.
3g support on both SIMs.
For that, you need hardware support. It is wrongly mentioned in the Xperia ROM v2 too. I have tried and tested that in almost all other ROMs like MIUI v5, Xperia ROM v2, Stock ROM, etc. and it all comes down to the same thing. YOU NEED HARDWARE SUPPORT FOR 3G IN BOTH SIMS.
A piece of advice : Do not bet that there won't be an bugs at all. Each and every ROM might have a bug that the developer might have overlooked.
Here are some things your friend might have done or should do if he hasn't done yet.
Changing the build.prop setting of ro.product.**** to that of Karbonn's from MyPhone Agua Cyclone ( Xperia ROM v2 was built on that phone's ROM )
Add Material Design Apps from Apkmirror like Gmail 5.0, Maps, etc.
Try porting Kitkat ROMs to Jelly Bean based devices by modifying the installation procedure to include the priv-app folder
Try porting CyanogenMod to this device
Help me in porting Carbon ROM and/or CyanogenMod 12 to this device.
Mention how he got the updater script to work properly and install the ROM perfectly in TWRP and Philz Recovery
Sign the ROM using ZipSigner app and then upload it.
Add more features to it
Here are a few suggestions :
Update the version of SuperSU and then install it.
Make the Xposed Framework built-in. ( Not to be installed manually after installing the ROM )
Pre-install GravityBox or XBlast tools.
Odex the apps folder for better RAM usage
Increase the wifi supplicant scan interval
Throw in some paid apps for free.
Increase the net buffer size
Add the X-Reality engine
ZipAlign all apks.
Add some more fonts ( other than Choco cookie )
Add more sounds for ringtones, audio, etc.
Mention all these to him, and if possible, ask him whether he could help me to develop other ROMs for this device.
Click to expand...
Click to collapse
Bro My friend Downloaded The Rom and gave it to me i ported it not him he just downloaded the rom as i have an slow connection and i ported the rom not my friend..Though thanks for your opinion
BRO
rjt.rockx said:
Thanks for that. I'm downloading it now. Will test it in a few hours ...
Link : www.goo.gl/Woc7SS
Let me have a guess...
Android v 4.2.2
Based on Xperia v2 ROM ( from the A919 Tool app icon and the normal nav bar icons in screenshot no. 2, and also the background in screenshot no. 1 where a message is seen saying that " Actually I was bored with Xperia v2 ROM so I made this ROM. " )
Changed Framework apk and systemui apk
Added Samsung Apps like the launcher and calendar, etc.
Updated GmsCore.apk (or Google Play Services to be simple)
Did not edit and/or change the data folder
Followed any MTK porting guide
Did a quick port today ( from the date and time in the screenshots )
Better RAM management -- Tweaked minfree values would be my guess
Did not change the Flashlight app (TinnoLED.apk)
Brighter Flashlight -- Not as easy as he hoped. He would need some redirection of app processing power to the flashlight app to increase its importance, and thereby increase the flashlight brightness. I'm guessing he hasn't done that, so you'd better remove that line.
Did not change the default time zone in build.prop settings (It is set to phillipines time. )
Neat. Good attempt.
Bugs :
Transparent Status Bar
From the screenshots, it is apparent that the Status Bar isn't transparent. You mean that the background of the Notifications panel is transparent. Status Bar transparency refers to the status bar having the colour of the app's upper part. Like in the first screenshot, the status bar (the part with the battery charging info, network signal info, clock, etc.) should have the colour of the app. (like its background should have whatsapp's green colour while running whatsapp)
But, that is more of a misconception than a bug.
Here is a bug which he cannot fix.
3g support on both SIMs.
For that, you need hardware support. It is wrongly mentioned in the Xperia ROM v2 too. I have tried and tested that in almost all other ROMs like MIUI v5, Xperia ROM v2, Stock ROM, etc. and it all comes down to the same thing. YOU NEED HARDWARE SUPPORT FOR 3G IN BOTH SIMS.
A piece of advice : Do not bet that there won't be an bugs at all. Each and every ROM might have a bug that the developer might have overlooked.
Here are some things your friend might have done or should do if he hasn't done yet.
Changing the build.prop setting of ro.product.**** to that of Karbonn's from MyPhone Agua Cyclone ( Xperia ROM v2 was built on that phone's ROM )
Add Material Design Apps from Apkmirror like Gmail 5.0, Maps, etc.
Try porting Kitkat ROMs to Jelly Bean based devices by modifying the installation procedure to include the priv-app folder
Try porting CyanogenMod to this device
Help me in porting Carbon ROM and/or CyanogenMod 12 to this device.
Mention how he got the updater script to work properly and install the ROM perfectly in TWRP and Philz Recovery
Sign the ROM using ZipSigner app and then upload it.
Add more features to it
Here are a few suggestions :
Update the version of SuperSU and then install it.
Make the Xposed Framework built-in. ( Not to be installed manually after installing the ROM )
Pre-install GravityBox or XBlast tools.
Odex the apps folder for better RAM usage
Increase the wifi supplicant scan interval
Throw in some paid apps for free.
Increase the net buffer size
Add the X-Reality engine
ZipAlign all apks.
Add some more fonts ( other than Choco cookie )
Add more sounds for ringtones, audio, etc.
Mention all these to him, and if possible, ask him whether he could help me to develop other ROMs for this device.
Click to expand...
Click to collapse
Bro what help you need may be i can help you..
Bro Need your help here now...
rjt.rockx said:
Thanks for that. I'm downloading it now. Will test it in a few hours ...
Link : www.goo.gl/Woc7SS
Let me have a guess...
Android v 4.2.2
Based on Xperia v2 ROM ( from the A919 Tool app icon and the normal nav bar icons in screenshot no. 2, and also the background in screenshot no. 1 where a message is seen saying that " Actually I was bored with Xperia v2 ROM so I made this ROM. " )
Changed Framework apk and systemui apk
Added Samsung Apps like the launcher and calendar, etc.
Updated GmsCore.apk (or Google Play Services to be simple)
Did not edit and/or change the data folder
Followed any MTK porting guide
Did a quick port today ( from the date and time in the screenshots )
Better RAM management -- Tweaked minfree values would be my guess
Did not change the Flashlight app (TinnoLED.apk)
Brighter Flashlight -- Not as easy as he hoped. He would need some redirection of app processing power to the flashlight app to increase its importance, and thereby increase the flashlight brightness. I'm guessing he hasn't done that, so you'd better remove that line.
Did not change the default time zone in build.prop settings (It is set to phillipines time. )
Neat. Good attempt.
Bugs :
Transparent Status Bar
From the screenshots, it is apparent that the Status Bar isn't transparent. You mean that the background of the Notifications panel is transparent. Status Bar transparency refers to the status bar having the colour of the app's upper part. Like in the first screenshot, the status bar (the part with the battery charging info, network signal info, clock, etc.) should have the colour of the app. (like its background should have whatsapp's green colour while running whatsapp)
But, that is more of a misconception than a bug.
Here is a bug which he cannot fix.
3g support on both SIMs.
For that, you need hardware support. It is wrongly mentioned in the Xperia ROM v2 too. I have tried and tested that in almost all other ROMs like MIUI v5, Xperia ROM v2, Stock ROM, etc. and it all comes down to the same thing. YOU NEED HARDWARE SUPPORT FOR 3G IN BOTH SIMS.
A piece of advice : Do not bet that there won't be an bugs at all. Each and every ROM might have a bug that the developer might have overlooked.
Here are some things your friend might have done or should do if he hasn't done yet.
Changing the build.prop setting of ro.product.**** to that of Karbonn's from MyPhone Agua Cyclone ( Xperia ROM v2 was built on that phone's ROM )
Add Material Design Apps from Apkmirror like Gmail 5.0, Maps, etc.
Try porting Kitkat ROMs to Jelly Bean based devices by modifying the installation procedure to include the priv-app folder
Try porting CyanogenMod to this device
Help me in porting Carbon ROM and/or CyanogenMod 12 to this device.
Mention how he got the updater script to work properly and install the ROM perfectly in TWRP and Philz Recovery
Sign the ROM using ZipSigner app and then upload it.
Add more features to it
Here are a few suggestions :
Update the version of SuperSU and then install it.
Make the Xposed Framework built-in. ( Not to be installed manually after installing the ROM )
Pre-install GravityBox or XBlast tools.
Odex the apps folder for better RAM usage
Increase the wifi supplicant scan interval
Throw in some paid apps for free.
Increase the net buffer size
Add the X-Reality engine
ZipAlign all apks.
Add some more fonts ( other than Choco cookie )
Add more sounds for ringtones, audio, etc.
Mention all these to him, and if possible, ask him whether he could help me to develop other ROMs for this device.
Click to expand...
Click to collapse
See i ported this Material L for unite 2 (a106) for our s5+ it was ported successfully and also booted up i used it for More than 3 days not found any other bug except Camera and flashlight..I changed some of its Lib files With Stock and also changed its gallery to stock and tried many other methods but still the cam bug didnt fixed..Else everything working really good.whenever i opens the cam it says unfortunately camera has stopped else everything works at its best...
Yeah, I just thought I should type out my thoughts about the ROM and then wait and see your reply. Sorry for that, though.
---------- Post added at 11:25 PM ---------- Previous post was at 11:06 PM ----------
You used some MTK porting guide, didn't you ?
Another thing, what do you mean by Material L ? Do you mean to say that you have ported an Android L ROM to this phone ?
I think you have just ported some ROM with just the Material Design UI, as seen in the screenshots (They do not have the Android L Navigation Bar Buttons. )
You could try replacing the permissions in that, as most likely, that would be the root cause of many such errors. A permission file related to the camera settings could be improperly coded, and/or might have a bad file, either corrupt or something like that.
I just needed this tiny favour from you of creating a proper, working update-binary and updater-script inside a META-INF folder which can be used for all my ROMs. If that is over, you'll be seeing those ROMs on XDA quite soon.
Another thing. In the CyanogenMod 12 Lollipop ROM which I am porting, the apps folder has individual folders for each app. So, the flashlight app is in system/app/flashlight/flashlight.apk . Could that be the cause of the ROM not installing properly ? I'm going mad over that as that was the first time I have seen any ROM with apps grouped like that.
Thanks in advance for your contribution.
tnx for posting.. try to port this rom..we r same spec of ur device..
Faiz.Sayyed said:
Samsung Galaxy s5 Rom for karboon titanium s5+/Coolpad 7295c..
Added tweaks for better Ram MANAGEMENT.
LONGER battery life.
Both sim 3g Support.
Brighter Flashlight.
Stock Camera for better pictures.
Android Version: 4.2.2
otg support.
clever gestures.
Transperent status bar.
And many more tweaks.. Not an single bug till now.If you find any report it to me{i can bet you wont find any bug}:fingers-crossed::fingers-crossed::fingers-crossed:
Downloading Link is in the comments section..
{i am not the developer of this rom i just ported it} if you are developer ask me to give you credits as i dont know who developed this rom i got it from my friend to port it..
Sorry i dont post much on XDA so i am not allowed to post an external link here..YOu Can see the Link to download rom in attachment of my comment..HOPE YOU LIKE MY WORK...MORE TO COME NOw+
Click to expand...
Click to collapse
Faiz.Sayyed said:
Samsung Galaxy s5 Rom for karboon titanium s5+/Coolpad 7295c..
Added tweaks for better Ram MANAGEMENT.
LONGER battery life.
Both sim 3g Support.
Brighter Flashlight.
Stock Camera for better pictures.
Android Version: 4.2.2
otg support.
clever gestures.
Transperent status bar.
And many more tweaks.. Not an single bug till now.If you find any report it to me{i can bet you wont find any bug}:fingers-crossed::fingers-crossed::fingers-crossed:
Downloading Link is in the comments section..
{i am not the developer of this rom i just ported it} if you are developer ask me to give you credits as i dont know who developed this rom i got it from my friend to port it..
Sorry i dont post much on XDA so i am not allowed to post an external link here..YOu Can see the Link to download rom in attachment of my comment..HOPE YOU LIKE MY WORK...MORE TO COME NOw+
Click to expand...
Click to collapse
The ROM is great!!!.Have not found the bug till now.No at least in the last 24 hrs.Really a very good effort.I in fact don't really like touchwiz,but this COOL!!!.I guess Samsung has improved touch wiz,because the old one sucked!!
Thanks anyways.Hope to expect more ROMs from you in the future!!!
Sent from my MyPhone Agua Cyclone using XDA Premium 4 mobile app

advice needed please..

so.. first i apologise if this the wrong forum .. i want to ask about a rom for this old beast,with a newer touchwiz on it, but as much free ram as possible.. i tried a lot of roms, i like the TW UI very much so aosp is out.. most of these roms have ****ty ram usage,no good for daily usage..so if anybody want to share his rom, setup,or advice for gettin the most cleaned rom? sorry for language..
ram not used - ram wasted imo
you have 512mb - 1gb ? on 2 gb i have 1.3gb free (with aps in background), never see heavy load
try custom kernel and that apk com.grarak.kerneladiutor
exe98123q said:
ram not used - ram wasted imo
you have 512mb - 1gb ? on 2 gb i have 1.3gb free (with aps in background), never see heavy load
try custom kernel and that apk com.grarak.kerneladiutor
Click to expand...
Click to collapse
thanks but ur answer does not help.. i already have custom kernel, boeffla, and now i am on hyper rom, but ram usage is bad.. and s3 has 1 gb ram....well, on paper, it shows 830 mb :/
@exe98123q: silly post, indeed, since RAM is the S3-bottleneck when using ROMs after KK.
@slimmedshady: I recommend NCS-ROM (JB) or SmartDroid (JB, KK). Both are based on Sammy-firmware: lite, low battery consumption, stable. But unsecure, of course. So, think about how important Sammy-UI is

Q - is possible hack apk to rename application itself?

HI I'm on Android nougat 7.0 and want chrome 50 version (because of tabs in multitasking). but nougat have integrated 51 version so I can't install lower one.
So is there any possible way to hack apk of 50 version to rename it (and then it will not want to replace system chrome but it will install as new one) ?
Thanks.
mmm273 said:
HI I'm on Android nougat 7.0 and want chrome 50 version (because of tabs in multitasking). but nougat have integrated 51 version so I can't install lower one.
So is there any possible way to hack apk of 50 version to rename it (and then it will not want to replace system chrome but it will install as new one) ?
Thanks.
Click to expand...
Click to collapse
yes i believe that it's possible , u need to lower the required sdk version
I found a way here - http://forum.xda-developers.com/showthread.php?t=1772839&page=3
But I'm noob about it, can someone rename this apk
http://www.apkmirror.com/apk/google...e/chrome-50-0-2661-89-2-android-apk-download/
To something like - chrome50, or whatever ? So I can install it next to current inbuilt system chrome?

Categories

Resources