[Q&A][UNOFFICIAL] CyanogenMod/LineageOS - T-Mobile Samsung Galaxy S II SGH-T989

Q&A for CyanogenMod/LineageOS for Celox Devices (Hercules & Skyrocket)​
As requested I created a Q&A thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by me.
Before posting, please use the forum search and read through the discussion thread above for your device. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Frequently Asked Questions​
Q: My device reboots when I receive or make a phone call. Why?
If your using OpenGapps read this: https://github.com/opengapps/openga...boots-when-i-receive-or-make-a-phone-call-why
Click to expand...
Click to collapse
Q: Formatting my SD Card as Internal Storage doesn't work. How to fix it?
Goto Settings > Storage. Click on your external sdcard
Tap the Menu button in the top right and select Settings.
Then choose Format as internal. (This erases all the data on the sdcard so backup if necessary)
Once you click Erase & Format, the device will format your card.
The process may get stuck at 20% and timeout after about 2mins. If it does reboot into recovery after it times out.
In TWRP, select Wipe then Advanced Wipe. Select "MicroSD Card - Data" and click "Repair or Change File System".
Choose, "Change File System" and select FAT. Then swipe to change.
Reboot, then goto Settings > Storage. Your sdcard should appear as corrupted.
Continue and format as internal storage. It should then get past 20%. If it does, continue with the steps shown to you.
Click to expand...
Click to collapse

[FONT=Arial,Roboto,Helvetica Neue,Helvetica,Verdana,sans-serif]Frequently Asked Questions[/FONT]​
Since this is a unified thread, I will use Celox to refer to both the Hercules and the Skyrocket. This was their planned codename for the LTE S2, and both use the celox-common branch in source code.
Q: How do I root my Celox? I flashed SuperSU, and my phone won't boot!
A: You don't need SuperSU. Root access is baked into the ROM.
Wipe everything and install the ROM without SuperSU. Now, in Developer options, set Root access to Apps and ADB. If you really, really, want SuperSU, install it from the Play Store and have it install it directly without recovery. (not confirmed working, but should work.)
Q: Do I install this like any other ROM? Why can't I install Gapps?
A: No. This is a virtually partitioned ROM, common in today's Celox ROMs. The different partition layout is necessary to take full advantage of your phone.
Q: Clean flash or dirty flash?
A: I always dirty flash. I never wipe unless I am switching ROMs. You may want to wipe, your choice.
Q: Virtual repartition? Whaaaaaat? Do I need a PIT file? Will this damage my device?
A: The classic issues with the S2 are:
Not having enough room to install apps
Being forced to use tiny Gapps packages
having waaaaaay too much internal sd card free space, even when you have a real SD card that you haven't filled up either.
Virtual repartitioning changes the way the system sees the partitions ("sections" of the 16GB of storage), making it similar to the 16GB Samsung Galaxy S3. This fixes all of those problems!
Here is what happens:
To make more room for apps and data, we made that SD card partition multitask as apps, data, and the internal SD card storage, emulated at /data/media/0, like modern devices. This will wipe those files on the internal SD card partition, though! You now get 11.2GB freely usable by the system.
Since Lollipop, ROMs have been increasing in size greatly. They even use a different installation method. Our measly 598MB /system partition, which couldn't even hold all of 4.1.2 TouchWiz, has been moved to what /data was before. That means 2GB for the ROM, Gapps (yes, you can even flash STOCK!), BusyBox, root stuff, extensions, you name it!
And that 598MB /system partition becomes /cache, because you can always have more cache!
No PIT is needed, and, if you flashed a PIT (like the one that gives you 6GB for data), flash it back to stock! You will end up with 7GB shared for the internal SD card and app data and 6GB for /system, which is ridiculous.
And the best part is: Nothing is damaged. It is 100% safe! It is just a renaming scheme, and you can always flash to stock in Odin.
Q: Which Gapps should I use?
A: Well, as always, it is your decision, so so as you wish. I personally use Nano, which I also recommend. However, you need to install keyboard_patch.zip (attached to this post) after a Full or smaller Gapps or you will get spammed by "Unfortunately, Android Keyboard (AOSP) has stopped.", making it impossible to set up your device.
Stock fixes this issue, but it also adds crapware that I bet you don't need, like Google Sheets, Google Maps, Google+, and especially Chrome.
Q: HALP!! I'm getting "Unfortunately, Android Keyboard (AOSP) has stopped.", I can't set up my phone, and I am about ready to throw this thing at the wall!!!!!1!
A: Calm down. Breathe. I know it is annoying and gives you headaches.
Just reboot into recovery (using the key combo), and flash keyboard_patch.zip, attached to this post.
Q: Whenever I browse the web in Chrome, my phone goes berserk! It slows down, shows me black screens then the lockscreen, etc.
A: Don't use Chrome. The stock browser is about as good and doesn't wreak havoc to our device. However, this is replaced when you flash a larger Gapps package. I recommend using Nano and installing what you want instead. Just wipe system, flash ROM, Nano, keyboard_patch.zip, and reboot. Alternatively, you can use Opera, which has everything Chrome has except Google account bookmark sync and bloat.
Q: I have one of the following issues:
Calls don't work. They reboot or say "Cellular network not available."
When I turn on my device, I don't have a data connection.
A: You flashed the wrong build. Flash anything after 20160126 and those issues are fixed!
Q: My battery life is bad.
A: Here are some general tips I use:
Turn data, WiFi, GPS and Bluetooth off when you are not using them.
Understand that lower signal = shorter battery life.
Settings > WiFi > Menu > Advanced > Keep WiFi on during sleep > Only when plugged in.
Settings > WiFi > Menu > Advanced > Always allow scanning > Off.
Black wallpaper = good.
Underclock/undervolt.
Lower brightness to the minimum you can see.
Enable the Power saver profile (currently not working on 2/16).
Install the blacked out // regression+ theme, which makes most things black. Pure black = good.
If you really want to stretch your battery life, you can do these extreme tweaks, however, they can affect the functionality of your phone.
Green-only mode. It looks pretty awesome and saves battery life. In terms of battery life, AMOLED screens get better battery life depending on the color displayed on the screen. Green > Red > Blue. Black uses almost no energy.
Set to blacked out // regression+
Black wallpaper
Brightness to 0%
Settings > Developer options > Simulate color space > Monochromacy. This makes it so you can (mostly) see non-green colors.
Settings > Display > LiveDisplay > Color calibration and set all but green to 0%.
Download [root] Naptime (with root enabled) and enable the Aggressive Doze mode. Your phone will be practically off (only the cell radio with data off is running) and you will not receive most notifications, sans phone calls, text messages, alarms, and seriously important notifications as soon as the screen turns off. This is also naturally enabled when you leave your phone unplugged and not moving for 30 minutes.
Hold down the power button and select "Power off". This is a feature that causes your phone to use absolutely no power, however, your phone will take about a minute or two to exit this mode and you will not receive any calls, notifications, texts, or anything and WiFi, mobile networks, Bluetooth, GPS and the CPU will be disabled during this mode.
Q: After 30 minutes of my phone's screen being off, WiFi turns off. I just can't seem to shake this bug!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is called "Doze", it is a built-in feature added in Android to attempt to save battery. Jerry Hildenbrand did a good job explaining this at Android Central.
You can configure this using [root] Naptime, but it is a rather advanced tool.
Q: My keys stopped working! What did I do wrong?
A: Disable Sweep2wake in the "Advanced Settings" app. That tweak is cool, but not yet stable enough for daily use.
Q: How do I make things smaller?
A: Settings > Display & lights > LCD density.
Thankfully, they fixed the alignment bug, so you no longer need to edit your build.prop.
The larger the number, the larger things will be, and the smaller the device will identify as.
240 is the default. The 4.5 in (11.43 cm) device is recognized as a measly 3.89 in (9.87 cm). Friends don't let friends stay on 240 DPI.
Technically, the Celox has a DPI of 207, but apps work best with multiples of 20.
I personally recommend 200dpi, which makes the device identify as 4.66 in (11.85 cm). It is quite nice.
However, with a non-standard DPI (standards are 120, 160, 240, 320, 480, and 640), it can cause scaling issues like blurriness.
Q: Should I use EXT4 or F2FS?
A: I use F2FS. F2FS is safer for your data, writes faster, and is actually designed for flash memory (it is called Flash-Friendly File System), unlike EXT4, which is made for a hard drive. However, some people encountered issues with F2FS and the Play Store.
EXT4 is tried and true, and is still relevant.
Q: Why does my camera keep crashing?
A: In the Advanced Settings app, check "Force low-power flash".
Q: I get random reboots. I see the Samsung logo, then a black screen! Grr!
A: At the time of this writing, 1/26 (sometimes 1/27) is the most stable. Try flashing that.
Q: How do I remove the pesky # on the status bar?
A: Install this Xposed module, or it is also a part of this all-in-one tweakbox by the same developer.
Q: Are there any cool features in this ROM/Kernel?
A: Yes, there are more features in this than the usual CyanogenMod Celox kernel. Some features are still being worked on and are a bit unstable, but testing and fixing is welcome on our GitHub repo!
We have, so far:
Wake/Sleep:
sweep2wake
doubletap2wake
doubletap2sleep
pocket detection (enable in Kernel Adiutor)
Click to expand...
Click to collapse
Miscellaneous:
Backlight notification (the keys light up like the LED indicator we never had)
F2FS support
Screen undervolting to -500mV
Low-power flash
zRAM (compressed RAM)
Magically added more RAM: Now we have 834MB.
Click to expand...
Click to collapse
CPU general
Overclock to 1.83GHz
Under/Overvolting
A democracy of governors (see below)
GPU can be overclocked to 320MHz
Click to expand...
Click to collapse
CPU Governors:
Bold are considered (mostly) stable.
hyper
badass
conservative
gaming
interactive
interactiveX
lazy
lionheart
minmax
ondemand (the default)
performance
powersave (though this just locks at the minimum frequency)
sakuractive
samsung
scary
smartassV2
uberdemand
userspace
wheatley
Click to expand...
Click to collapse
I/O Schedulers:
bfq
cfq
deadline
noop
row
Click to expand...
Click to collapse
If you want more, request it!
Or... even better, contribute to the kernel on Github.
Q: Why can't I configure my CPU governors?
There was a bug in the 2/16 build that added governors, but they had issues with case-sensitivity. Flash 2/22 or newer and you get governors and configuration.
Q: When will we get an update?
A: Be patient! Or build it yourself. Don't forget that some people have lives, and some people don't have lives but still aren't going to constantly update.
I will update this with more questions and answers.
Please don't quote this whole thing. Just mention @Easy_as_Pi_3.14 and I should respond quickly. Or don't, I am subscribed to this thread and love to answer questions.

Easy_as_Pi_3.14 said:
Q: My battery life is bad.
Sorry, this isn't the best ROM for battery life. That hasn't really been hammered out yet.
However, here are some general tips I use:
Turn data, WiFi, GPS and Bluetooth off when you are not using them.
Black wallpaper = good.
Underclock/undervolt.
Lower brightness to the minimum you can see.
Enable the Power saver profile (currently not working on 2/16).
Install the blacked out // regression+ theme, which makes most things black. Pure black = good.
If you really want to stretch your battery life, you can do these extreme tweaks, however, they can affect the functionality of your phone.
Green-only mode. It looks pretty awesome and saves battery life. In terms of battery life, AMOLED screens get better battery life depending on the color displayed on the screen. Green > Red > Blue. Black uses almost no energy.
Set to blacked out // regression+
Black wallpaper
Brightness to 0%
Settings > Developer options > Simulate color space > Monochromacy. This makes it so you can (mostly) see non-green colors.
Settings > Display > LiveDisplay > Color calibration and set all but green to 0%.
Download [root] Naptime (with root enabled) and enable the Aggressive Doze mode. Your phone will be practically off (only the cell radio with data off is running) and you will not receive most notifications, sans phone calls, text messages, alarms, and seriously important notifications as soon as the screen turns off. This is also naturally enabled when you leave your phone unplugged and not moving for 30 minutes.
Hold down the power button and select "Power off". This is a feature that causes your phone to use absolutely no power, however, your phone will take about a minute or two to exit this mode and you will not receive any calls, notifications, texts, or anything and WiFi, mobile networks, Bluetooth, GPS and the CPU will be disabled during this mode.
Click to expand...
Click to collapse
I have to differ with this point. As I have said many times in the main thread, my battery life has been awesome. I have a healthy battery. You have stated that your battery is nearly dead and that you jump through these hoops to get it to last.
I post this so that people who see this don't think that this rom is bad for battery life. It's not, if you have a healthy battery. Here are my current settings:
Screen always on Auto Brightness
Wifi Always on (even when connected to Data)
Sync is always on
NFC off
BT off
I use data about 25% of the time
When on Data I have location set to battery saving
I use the Balanced battery setting
I make all my calls through Hangouts
I have dozens of apps installed
I am using Rom V. 1/26 (dirty flashed)
My average battery life right now is about 24-36 hours with 1.5-2.5 hours of Screen on Time. And my battery charges from about 10% to full in about two hours. My best battery life so far has been about 49 hours with 1.25 hours of SOT before needing to recharge. My average Doze usage is about 1.5%/hour- this is without tinkering with Doze settings with an app.
This battery life is on par with newer devices.
edit. Here is a screenshot of my battery usage right now. Nearly two days and this is with about 1 hour of SOT

cameraddict said:
I have to differ with this point. As I have said many times in the main thread, my battery life has been awesome. I have a healthy battery. You have stated that your battery is nearly dead and that you jump through these hoops to get it to last.
I post this so that people who see this don't think that this rom is bad for battery life. It's not, if you have a healthy battery. Here are my current settings:
Screen always on Auto Brightness
Wifi Always on (even when connected to Data)
Sync is always on
NFC off
BT off
I use data about 25% of the time
When on Data I have location set to battery saving
I use the Balanced battery setting
I make all my calls through Hangouts
I have dozens of apps installed
I am using Rom V. 1/26 (dirty flashed)
My average battery life right now is about 24-36 hours with 1.5-2.5 hours of Screen on Time. And my battery charges from about 10% to full in about two hours. My best battery life so far has been about 49 hours with 1.25 hours of SOT before needing to recharge. My average Doze usage is about 1.5%/hour- this is without tinkering with Doze settings with an app.
This battery life is on par with newer devices.
edit. Here is a screenshot of my battery usage right now. Nearly two days and this is with about 1 hour of SOT
Click to expand...
Click to collapse
Well,
You had amazing signal 24/7. Damn you, T-Mobile!!!!! (I miss the days of the you-step-indoors-and-you-lose-signal and AT&T users laugh)
1 hour of SOT. Try this: Marathon it. Do a YouTube playlist. Go on a Google Search frenzy.
You were in Doze 95% of the time.
David (not even gonna try to spell his username, too late at night) was also comparing his battery life to 4.4 AOKP. I have always heard that AOKP is amazing on battery life.
Update, here is my battery life. The Doze part was me using my S3 when this was on my bed, and then finally watching The Force Awakens. (PS: Great movie!)
And that is in airplane mode the whole time.
The rest was mostly me web browsing or watching a YouTube playlist.
Sent from my SGH-I727 using Tapatalk

Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.

tommyguns818 said:
Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.
Click to expand...
Click to collapse
Nope. There may be Yes, there is an Xposed module for that. See two posts down.
Sent from my SGH-I727 using Tapatalk

Easy_as_Pi_3.14 said:
Well,
You had amazing signal 24/7. Damn you, T-Mobile!!!!! (I miss the days of the you-step-indoors-and-you-lose-signal and AT&T users laugh)
1 hour of SOT. Try this: Marathon it. Do a YouTube playlist. Go on a Google Search frenzy.
You were in Doze 95% of the time.
Click to expand...
Click to collapse
Yeah, I get pretty good signal here. I live in a major city. :good:
But about 8 hours of that was in an area of low signal. Also, my Doze usage was for nearly two days! And I didn't baby the phone. I just used it for messaging/calls/email and a few searches, and my calendar and updating a few apps in that time. When I plugged it in this morning I had hit 48 hours with 1.25 SOT with 4% left. I could have gone another few hours if need be.
My average SOT time is closer to 2.5 hours with about 24 hours standby (Doze). I've gotten as high as about 4 hours SOT with about 18 hours standby. I've already run a high drain test, SOT almost at 100% of the time, it averaged about 20%/hour. So at that rate the device would last for about 5 hours. But that is not average usage. My high usage of 3-4 hours with 18 hours standby is a better metric. And by all standards, this is excellent battery life for a device with an 1800mah battery without battery saving features engaged!
Oh, and my Doze usage last night was at 0.9%/hour

tommyguns818 said:
Great job on this rom. Running great on 1/26. Didn't see it but is there a way to disable superuser icon in the status bar? I saw it for alarm, wifi, etc.... But not for SU. Just curious. Thanks.
Click to expand...
Click to collapse
Yep, there is an Xposed mod for that! Disable su indicator (CM12) or in his all-in-one here.
I updated the Q&A. Thanks for asking that question!

@Easy_as_Pi_3.14 can I call you 22/7's?
You might want to include my video demonstrations of the wake algorithms in the FAQ
https://www.youtube.com/playlist?list=PLZ_n933bbFxFX7UUVjookMDEl1DYShSfg
(Sweep2Sleep and leniency are irrelevant to this kernel)
Also make a note that pocket detection makes wake controls not work when it's sufficiently dark
(My algorithm uses the light sensor data to check if it's in a pocket, YMMV on "sufficiently")
Also, btw, you might wanna make a list of recommended stable governors
IMO Uberdemand seems to be one of them
Further more I recommend putting that f2fs is only for data and cache (or maybe put a guide with how to convert to it)
Also, you are missing a few things in the kernel features that might be good to mention, and maybe explain what they are
Vibration Intensity, TCP Congestion Controls, KCAL, MDP Cooler Colors Control
I'll keep thinking of stuff to add to the FAQ
No doubt it will get bigger and bigger as time goes on :/

javelinanddart said:
@Easy_as_Pi_3.14 can I call you 22/7's?
You might want to include my video demonstrations of the wake algorithms in the FAQ
https://www.youtube.com/playlist?list=PLZ_n933bbFxFX7UUVjookMDEl1DYShSfg
(Sweep2Sleep and leniency are irrelevant to this kernel)
Also make a note that pocket detection makes wake controls not work when it's sufficiently dark
(My algorithm uses the light sensor data to check if it's in a pocket, YMMV on "sufficiently")
Also, btw, you might wanna make a list of recommended stable governors
IMO Uberdemand seems to be one of them
Further more I recommend putting that f2fs is only for data and cache (or maybe put a guide with how to convert to it)
Also, you are missing a few things in the kernel features that might be good to mention, and maybe explain what they are
Vibration Intensity, TCP Congestion Controls, KCAL, MDP Cooler Colors Control
I'll keep thinking of stuff to add to the FAQ
No doubt it will get bigger and bigger as time goes on :/
Click to expand...
Click to collapse
For short, call me @π.
Or, 355/113 will still get my attention.

Governor Explanations
I found this interesting thread about different governors, how they work and how to tweak them. Thought some might find it interesting:

@bryan2894, I noticed that the Show CPU usage in Developer options is blocked by SELinux.
I know it is silly, but here is the message:
Code:
type=1400 audit(1456274524.501:678): avc: denied { search } for pid=743 comm="ndroid.systemui" name="3846" dev=proc ino=31386 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=0

Deleted

Deleted

@bryan2894 @javelinanddart
I got a logcat/dmesg of the infamous touchkey derp.
I got it around 6:00.
Sorry about the "MP-Decision" spam.

Couldn't find it, but is there power menu options to add screenshot?

tommyguns818 said:
Couldn't find it, but is there power menu options to add screenshot?
Click to expand...
Click to collapse
It is there already for me.
However, I found it easier to either use the key combo (volume first helps) or downloading an advanced file manager (my favorite), open Now On Tap (long-press Home in virtual keys, Menu or Search if I recall correctly on touchkeys), hit the share button, then use Save as.
Sent from my SGH-I727 using Tapatalk

Easy_as_Pi_3.14 said:
@bryan2894 @javelinanddart
I got a logcat/dmesg of the infamous touchkey derp.
I got it around 6:00.
Sorry about the "MP-Decision" spam.
Click to expand...
Click to collapse
Yeah idk about the logcat (not my forte), but I looked for some touchkey errors in kmsg:
Code:
[19778.598175] [TKEY] tkey_vdd_enable: enter
[19778.598358] tkey_led_vdd_enable 0
[19778.732757] [TKEY] sec_touchkey_early_resume
[19778.732788] [TKEY] tkey_vdd_enable: enter
[19778.732849] tkey_led_vdd_enable 1
[19779.286621] [TKEY] enter touchkey_auto_calibration
[19952.978363] key pressed
[19953.873016] key released
[19958.626525] key pressed
[19959.776763] key released
[19969.971923] key pressed
[19970.642944] key released
[19977.845245] key pressed
[19978.931579] key released
EDIT: @Easy_as_Pi_3.14 What is the touchkey derp btw? I'm clueless about that, never heard of it.

javelinanddart said:
Yeah idk about the logcat (not my forte), but I looked for some touchkey errors in kmsg:
Code:
[19778.598175] [TKEY] tkey_vdd_enable: enter
[19778.598358] tkey_led_vdd_enable 0
[19778.732757] [TKEY] sec_touchkey_early_resume
[19778.732788] [TKEY] tkey_vdd_enable: enter
[19778.732849] tkey_led_vdd_enable 1
[19779.286621] [TKEY] enter touchkey_auto_calibration
[19952.978363] key pressed
[19953.873016] key released
[19958.626525] key pressed
[19959.776763] key released
[19969.971923] key pressed
[19970.642944] key released
[19977.845245] key pressed
[19978.931579] key released
EDIT: @Easy_as_Pi_3.14 What is the touchkey derp btw? I'm clueless about that, never heard of it.
Click to expand...
Click to collapse
Sweep2wake sometimes makes the touchkeys stop working.
Sent from my SGH-I747 using Tapatalk

Easy_as_Pi_3.14 said:
Sweep2wake sometimes makes the touchkeys stop working.
Sent from my SGH-I747 using Tapatalk
Click to expand...
Click to collapse
Hmmm... I've had that before as well, but I do not recall having it on hercules (although I'm on CM11)
I had it on T769 (Candy 5.1)
So maybe it's a LP+ Issue?
Does anyone remember having it from before LP?

Related

How to maximize battery life without affecting functionality

How to maximize battery life without affecting functionality? I think the answer for this question is different for most of you. It depends on how you plan to use your device, even when it’s not turned on. Keynote is that you have to get the right tools and be creative. To give you a head start, I will dump my configuration in this thread. I am able to get up to 48 hours on one charge using this configuration. If used more intensive, your results may differ from mine though.
My configuration
HTC Desire
DeFroST 2.4d
DeFroST 2.4d"]DeFroST 2.4 SVS 1267Mhz kernel
SetCPU
Setting Profiles
DeFroST 2.4d
I will stick to this ROM for this guide but I’m sure the following applies to your custom ROM as well. DeFroST is my personal favorite and I would like to use this opportunity to thank RichardTrip for all the time he puts into this ROM.
DeFroST 2.4 SVS 1267Mhz kernel
DeFroST 2.4 HAVS max 998MHz 800mV (max 998MHz) might be better at saving more energy. But my decision to pick the SVS 1267Mhz has couple of causes.
I don’t have a CPU that can run at 800mV
I’m not patient, I love to go to max speed when it’s available
I found that with my current settings, battery life is good even with the SVS kernel
As I said, it’s totally up to personal preference. If you feel you need it, flash it! There’s a 925mV kernel out there as well if you have the same issue I do with 800mV (running unstable).
SetCPU
Freely available to any XDA user. A lightweight tool that offers all the functionality we need. Other then setting the default speed, it allows us to use profiles based on things like battery charge and temperature.
Main
Profiles
In my configuration, the phone runs at full speed when the battery capacity >= 75% or if it’s charging. Then when the phone discharges, it gradually scales down the max CPU speed. More important though, I found that I don’t need to have the device running at max speed, seeping energy, when I’m not actively using it. When my display turns of, my max CPU speed will be set to 245Mhz. This is perhaps the most important setting in this configuration.
Setting Profiles
No, not Juice Defender. I don’t know why so many seem to prefer Juice Defender. It cannot be customised the way I like it and the UI gives me a headache. But then again, that’s my opinion, maybe I’m wrong
Setting profiles is once again a lightweight tool that lets you define rules by means of logic. It works like this (example):
Create a profile that enables WiFi
Create a rule Activate WiFi when the condition battery is plugged to any charger is met
I figured that I do not want to receive mail, connect to bluetooth or WiFi when I’m asleep. Also, I don’t need a constant e-mail sync at daytime. 50% sync activity is enough for me. For now, that’ll do.
Profiles
Rules
I have a lot of ideas that can still be implemented. The devs at probeez.com are working hard to implement new functionality into their app. One idea I had was to revert to 2G when the display is turned off. However, the condition display off and the action revert to 2G are not available yet.
If you agree, please let the devs know what functionality needs to be added to make their software even better. Vote on this site.
The 2G functionality has already been planned. My other suggestion, the display state, doesn’t have enough votes yet. You can find it here.
The good thing about this tool is that it will be highly customisable when more and more options are added. This fits the idea of choosing your own energy efficient settings I’m trying to promote with this topic.
Conclusion
I could elaborate my choices, but my point is to give you tips about how to address energy saving. Read this manual and be creative. Copy some of the ideas, change others. Maybe come up with new ideas so brilliant that I should add them to this post .
I’ll try to keep updating this topic with the input from you and the newly available functions in the apps.
Other Recommendations
Manual control of brightness
How could I forget? My own brightness setting is always at the lowest. Unless I'm in a very bright environment (like in the sun) and I cannot see anything on my screen. Auto brightness tends to be to bright in general. The Power Control widget can assist you in quickly switching brightness.
-prove
Use a plain black wallpaper
Although this goes further them some of you want to go, using a plain black wallpaper can save battery usage.
AMOLED: Black wallpaper = Battery saving (experiment result)
-b3ndik
great guide, will try this after I get some sleep!
I would recomend using manual control of display brightness!
prove said:
I would recomend using manual control of display brightness!
Click to expand...
Click to collapse
Added. Thank you.
Although there is not a huge improvement, I'd recommend you to have a plain black wallpaper. It actually saves a few percentages, if you do a quick search around the forum you will find the thread.
b3ndik said:
Although there is not a huge improvement, I'd recommend you to have a plain black wallpaper. It actually saves a few percentages, if you do a quick search around the forum you will find the thread.
Click to expand...
Click to collapse
Added to recommendations, thank you.
Personally I think this goes a bit to far for me. I like active backgrounds, like the one that reflects weather and daytime. However, it's a good idea. If someone can find the link to the detailed topic, I'll add it.
here is the link to the topic. The thread includes tests and results.
http://forum.xda-developers.com/showthread.php?t=660853
is it safe to assume that the profiles that let you enable or disable wifi are in the full paid version ?
*edit*
scratch that, just found 'setting profiles' on the market.
i did lose 2% battery life with just 5 minutes surfing ealier on ..
I have never used any additional program to control power apart from the default Android power widget. I would normally do this to preserve energy no matter which ROM or even which phone I have. It's all common sense:
- turn "2G only mode" and switch on 3G hen I actually need it (e.g. browsing heavy webpages). If you turn off the images in websites even GPRS usually does the job well.
- NEVER use 3G for regular voicecalls. It's a completely senseless way of draining battery fast.
- completely switch off any automatic syncronizations (Gmail, Facebook, Weather, etc.) and syncronize individual accounts only when I actually need it. Simply untick the "automatic synchronization" in the accounts and sync settings.
- of course wi-fi, gps are permanently off and I turn them on manually only when I need them.
- keep the display as dark as possible and no brighter than needed.
- use a solid black wallpaper which saves energy on AMOLED screens (won't make difference on regular TFT LCD). A bright wallpaper may significantly increase energy consumptions.
- forget any "Live" wallpapers.
I have read that killing tasks does not make much difference on Android 2.1 onwards. I still keep killing tasks just as a habit.
This way it adds up a bit of extra manual job but I think it's better than any of those "power control" programs that do the same thing just not as accurately as one can do manually.
well i left my phone on charge overnight and unplugged it at 8am this morning on 100% battery.
6 hours later and it's on 96% - although to be fair that's with near zero usage.
thanks for this topic, very helpfull
on this screenshot, what contains the first line with priority of 100?
http://forum.xda-developers.com/attachment.php?attachmentid=365973&stc=1&d=1279958467
thanks !
I have just implemented everything you recommended, so lets see how tomorrow goes (I can't be bothered to go drive out of my local cell towers ranges right now to see if my WiFi turns off ).
With regards to Disabling Sync, if I set it for 4 minutes out of 5 minutes (4/5) then Sync is only enabled for 1 minute out of every 5 minutes, right?
Having previously used JuiceDefender, I thought I'd give Setting Profiles a bash. First stumbling block is lack of toggling for mobile data - is that right, or have I missed something?

All-In-One T-Mobile Stock Unrooted ICS Guide

Get the most out of the T989 T-Mobile Stock ICS/Unrooted without rooting
I thought this should be a separate thread as this should serve as a good way to fix a good number of issues as well as improve your overall device function quality, as well as having all of this in one post.
(Note: I know not many of us use stock unrooted, my personal T989 stays stock unrooted, my dev T989 is currently in the Dark . This thread is intended soley for those of you that do not wish to void your warranty).
Problems After Upgrade from GB > ICS
If you have issues after upgrading from stock/unrooted GB to stock/unrooted ICS, A factory reset is confirmed to fix these issues (tested by me because I had them):
- Near zero stutter/stagger now
- Huge improvement on battery life (using the same battery saving techniques, settings, and apps).
- Mobile Life contacts no longer hangs after reboot
- Task killer now appropriately determines which apps shouldn't be in the kill all list (Apex, Nova, Juice Defender, Avast!, Lookout, Badass Battery Monitor, etc).
- Voicemail working properly now (icon wouldn't show before no matter what I did).
- Apps no longer hanging and freezing entire device for 20-30 seconds.
- Wifi Calling now working
- Facebook For Android app no longer sets itself to sync all my contacts regardless how I had the option set.
- Wifi stabilized. No disconnects in an hour and a half.
- UI artifacting no longer showing when switching between apps.
- Swype no longer stutters and freezes.
My advice with stock unrooted ICS, if you upgrade from GB and have issues, go ahead and factory reset. Worth it.
Screenshot
You can take a screenshot of your T989's screen by pressing Home softkey+power button at the same time and holding for about a second.
Keep From Being Monitored
If you scan the T989 on stock unrooted ICS, yes, it does in fact have CarrierIQ installed. However, you don't need to worry about this because you can disable it. If you don't know what CarrierIQ is, it's a company all of the major carriers went through to anonymously collect diagnostic data from our devices. They call it "data needed for device diagnostics and troubleshooting". The problem, which is pretty much why they got/are getting sued, is that it collects well... pretty much anything it can get it's hands on. I compare it to killing a quota of 3200 whales per year for "tissue samples". It's completely unnecessary. Don't trust it or the reasoning behind it.
To disable this, go to Settings > Back up and Reset. Click Collect diagnostics. Uncheck the box. Save and close. You will now no longer send, or even agree to send, T-Mobile any "diagnostic" data.
Apps OK To Disable
In ICS you can disable nearly any unnecessary application or service permanently. This will hide it from the app drawer, keep the app/service stopped, and disable it from being checked for update via Google Play. Disabling bloatware apps and unneeded apps will save you RAM, Data, a tiny bit of battery, and a lot of headache.
To disable an app simply go to Settings, go to Applications, and go to the All tab. Click the app. Click Disable. (Some items listed below may have an Uninstall Updates option instead of Disable. Simply uninstall the updates, go back into the item, and click Disable.
Here is a list of apps/services that are OK to disable (tested by me).
Note: This is just a list deemed safe. You do not need to disable every single item listed. Disabling these makes them functionless. Please do so only if you do not/do not intend to ever use them.
- 411 & More
- AccuWeather Weather Daemon
- AccuWeather.com
- AP mobile news (Use Pulse News instead)
- Asphalt 6
- Blio eBooks T-Mobile
- Buddies now
- Days
- Digital clock
- Dual clock
- Face Unlock
- IM
- Talk
- Media Hub
- Memo
- Messaging (You shouldn't be using the default anyways, disabling this will not disable SMS, you can use Go SMS or Handcent just fine without it)
- Mini diary
- Mini paper
- More for Me
- News & Weather (Use Pulse News instead)
- Samsung keypad (Use your favorite keyboard instead (i.e. Swype, Go Keyboard, Swiftkey X, etc)
- Slacker
- Social Hub x3 (There are 3 of them, it's safe to disable all of them.)
- Swype (Use your favorite keyboard instead (i.e. Samsung Keypad, Go Keyboard, Swiftkey X, etc).
- TalkBack (Note: disables TalkBack feature needed for accessibility options)
- TelNav GPS Navigator (Use Google Maps/Navigator instead)
- T-Mobile Mall
- T-Mobile TV
- Tags
- Task
- Yahoo! Finance
Battery Savings
Note: Everyone's device use is different and these items are based on my own personal testing on the T989 based on my use (which I can assure you is pretty heavy as I have kids and basically use my T989 to do all the things I don't have time to sit at a computer and do).
Also please note: With these settings and apps, you are not going to notice an instant increase in battery life, however if you use Badass Battery Monitor [Play Link] you will be able to see the improvements on the bottom right (Average Battery Life time).
1.) General good battery saving advice
Note: These are just general advice, if you use these features constantly, you don't have to disable them, and besides the screen brightness and GPS, the amount of battery life you will save by disabling most of these is very small, but this list is intended for maximum power savings, not superuse.
- Disable GPS unless you are using it
- Keep screen just bright enough for you to see clearly (Settings > Display > Screen Brightness) unless you are editing something
- Stick to either Mobile Data, or Wifi. Never leave both on at the same time. When you're using Wifi, only enable Mobile Data when you are sending an MMS (SMS's still work on Wifi only)
- Disable Wifi Calling unless you need to use it
- Disable Bluetooth unless you are using it
- Disable Motion Controls (Settings > Motion) unless you need them. (Note: The Gryoscope and Accelerometer will always remain on).
- Disable Animations - Disable both animation options (Settings > Developer options) - This will improve the speed at which you can do things, as well as improve battery life.
- Disable unneeded syncing - Settings > Accounts & Sync - Disable all items that you do not need to have sync'd 24/7, if you can change the sync interval set once every hour, two hours, or once per day depending on the item and how important it is for you)
- Disable or decrease App notification settings. Unless necessary, disable automatic update notifications on your applications individually. Keeping automatic updates enabled keeps a service for that app running in the background 24/7.
- Limit background process count. Set the maximum number of background processes to 4 or lower (Settings > Developer options > Limit background processes. This will allow only 4 or less apps to be running at once. Note that this will pretty much destroy your multitasking capabilities, but if you're a lower needs user, this can increase both battery and performance.
2.) Battery Saving Apps
The following are apps I use (all installed together) to make the most out of my battery on the T989. They have improved my battery life so much I can't begin to describe to you what I would do without them. All of these apps are free of charge, some features disabled:
- Apex Launcher [Play Link]. I am probably going to catch a lot of flack for this one. First and foremost, the default TouchWiz homescreen is a battery hungry and nearly useless piece of crap (the first part of that is fact, the latter observation is of course my opinion). There are two really good ICS-only homescreen replacements. The first is Nova Launcher, the second is Apex Launcher. Both do about the same thing, each has their own feature sets, but more or less they are pretty much equals. Why do I list Apex Launcher instead of Nova? Well this is the Battery Saving section of this post, and well, Apex uses less battery over time. Use Badass Batter Monitor if you do not believe me. And no, I don't have a grudge against Nova. I actually like both equally but again, battery saving section.
- Power Controls [Play Link] is a widget that lets you quickly change items that can eat up your battery and it is much better and more configurable than the default T989 power widget. I highly suggest using it.
- 2x Battery Saver [Play Link] will turn off 3G/4G connectivity when your phone is idle (screen off or locked while you're not using it). This does not keep you from getting calls and texts, only data is disabled, not the entire radio. This will save you boatloads of battery as well as data since we're all on caps with T-Mobile) by killing data when you are not using your device.
- GO Power Master [Play Link] is an application that optimizes your device by using a variety of different things. The first is a widget that allows you to manually kill tasks and clear services and apps you are not using. I recommend doing this pretty much every time you go to lock your device as it will save you additional battery. The second is an option you have to manually enable that, like the app above, disables connectivity when the device is idle (locked/screen off) except this app only disables Wifi. The third and best feature is that based on a profile, Go Power Master can automatically disable features at certain battery percents as your phone battery gets lower and lower. All of these profiles are customizable.
- Alternatively, you can use Juice Defender [Play Link] which disables both Mobile Data and Wifi when your device is idle, however from my experience with it on the unrooted T989 it is very unstable as to when it decides to disable things. Sometimes it does nothing, other times it does. It just doesn't seem to work well with the unrooted T989 at least for me. This is one of those apps that really does need root permissions to function properly.
Increase Performance
These are things I do to increase performance of my T989. As above, note that everyone's use is different so these may or may not help you.
- Class 6+ MicroSD card. I can not express to you how much of a difference this makes in speed of saving pictures, opening the gallery, apps that read/write data from the SD card. I currently use a Class 10 16gb MicroSD card and before it, I used a 8gb Class 4. I was able to notice the difference almost instantly.
- Keep your device and SD card clean! Norton Utilities [Play Link] can remove unused .apk files from your SDcard, And SDMaid [Play Link] can clear duplicate and temporary files from your SD card. (Note: SDMaid advanced features require purchase of the full app)
- Disable Animations - Disable both animation options (Settings > Developer options) - This will improve the speed at which you can do things, as well as improve battery life. Note that your devices Gyroscope and Accellerometer will always remain active.
- Some users tell me forcing GPU Rendering (Settings > Developer options) can improve performance, however I have read that this will break some things like the Gallery displaying pictures incorrectly. The opinion is still out on this, so enable this only if you want to try it for yourself. Note: Apps that can take advantage of GPU Rendering already use GPU Rendering, this option checked or not. This option simply forces it on every app.
- Kill tasks before gaming or high performance app use. Use Go Power Master (listed above) or the built in Task Killer to clear apps and free RAM before you launch a high-performance app (i.e. Shadowrun or N.O.V.A. 3) to increase gaming/2D/3D performance.
- Set the maximum number of background processes to 4 or lower. (Settings > Developer options > Limit background processes). This will allow only 4 or less apps to be running at once. Note that this will pretty much destroy your multitasking capabilities, but if you're a lower needs user, this can increase both battery and performance.
Best Replacement Apps for T989 (in my opinion)
Note: List includes paid apps
- Music - Poweramp [Play Link] - The reasons you should use this instead of the default music player is a list longer than I have the will to type out, but include fixing your album art, equalizer, a great ICS theme (separate download), and lyric support. Try it for 30 days for free. You won't regret it.
- Home Screen/Launcher - Apex Launcher [Play Link] - A great ICS style launcher that has a great featureset and saves battery compared to stock TouchWiz.
- SMS/MMS/FB Chat/Chat - Go SMS Pro [Play Link] - Do I need to explain this one? It's free. It's awesome. Use it.
More items/help/tutorials will be added as I get time to add them.
Coming soon: Apps/Bloat OK to disable and how to do it
Click to expand...
Click to collapse
Looking forward to this.
factory resets keeps ICS right? it doesn't revert back to GB?
I think I may do this. I'm not experiencing anything major - just some slight lag here and there.
You keep ICS yes. Minor lag will happen though but if you think it's worth giving it a try...
Sent from my SGH-T989 using xda premium
Nice, A thread for stock unrooted users. I also decided to do a Factory Reset and haven't had major issues aside from a few apps lagging when I turned on the Force GPU Rendering.
Minor Issues/Annoyances:
Ringtone and notification volumes can't be linked. (Anyone got any suggestions?)
Loud chirp when starting and stopping video recording.
Wallpaper scrolling missing.
Light Swype Keyboard lag here and there.
06/15 - Updated OP.
HUGE list of things you can do to make the most out of your stock/unrooted T989.
Again this thread is for those that don't want to break their warranty, not for those that are looking to actually make the absolute most out of their T989 in which case you will actually need to root/rom.
Question - is using superwipe the same or better than doing a factory reset?
budjb said:
Question - is using superwipe the same or better than doing a factory reset?
Click to expand...
Click to collapse
Better. Superwipe wipes the entire partition and cache.
Justananomaly said:
Better. Superwipe wipes the entire partition and cache.
Click to expand...
Click to collapse
Hey man, i did a factory reset and all clear cache and stuff but not a format SD and still ICS so laggy for my test i see my CPU is underclock to 1.2ghz. what gives? Im use to 1.5 steady or 1.7mhz
I must chime in and say that I decided to do a factory reset and now the rom is way more responsive. Definitely smoother and havent had any lockups like i was having before... Yet
Sent from my SGH-T989 using XDA
how do I get usb hosting to work on stock unrooted ics? i have a dslr camera and want to get chainfire's dlsr app
How you take a screenshot has changed, it is now volume down and the power button.
Sent from my SGH-T989 using xda premium
mth785 said:
How you take a screenshot has changed, it is now volume down and the power button.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Yes, much easier this way, it also works with home/power, but much more of a pain to get it to work that way.
how does one go about doing a factory reset and/or wipe the phone completely? My phone has been buggy since day one, I think its time to wipe it clean and install from fresh.
From Kies? Mines a completely stock, unrooted phone with ICS
mth785 said:
How you take a screenshot has changed, it is now volume down and the power button.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
You can do it either way. I prefer home+power but thats just because I have a really strong case and the volume rocker is hard to press.
jonnythrice said:
how does one go about doing a factory reset and/or wipe the phone completely? My phone has been buggy since day one, I think its time to wipe it clean and install from fresh.
From Kies? Mines a completely stock, unrooted phone with ICS
Click to expand...
Click to collapse
In stock ICS, Settings > Back up and reset > Factory data reset
You may be required to delete your Samsung account first via Settings > Accounts & Sync > Samsung Account, press it and click Remove Account at the bottom.
Is it possible to install the google apps from ICS?
firechicken24 said:
how do I get usb hosting to work on stock unrooted ics? i have a dslr camera and want to get chainfire's dlsr app
Click to expand...
Click to collapse
Any know about this topic?
I have up and rooted it. Then tried all the kernels that supported ORG and yet still can't get button to work. I need help
Sent from my SGH-T989 using xda premium
firechicken24 said:
Any know about this topic?
I have up and rooted it. Then tried all the kernels that supported ORG and yet still can't get button to work. I need help
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
No idea.
Most of this info was already available, but it's nice to see it all in one place for noobs. Good job!

[REF] justjackyl's Iconia A100 CM10 Setup & Use Tips/Tricks

Surprising to me, I have been PMd by a few people asking about how I resolved issues that I was having with my tablet. I could not give you a specific answer on why and how well my tablet runs so this is just how I do it. Results for you may vary, and what works for me may have been a problem for others. I am in no way a dev, nor do I take credit for their work.
I am posting this as possible tips for CM10 (9/2/12build) w/ godmachine kernel v2.0 & the latest gapps available from goo.im. If you are not to that point or do not understand what I am talking about, STOP, and go read pio_masaki's [Guide] All things Iconia A100 (guide to modding)
MY RECOMMENDED APPS
Apex Launcher (NOVA Launcher is a good alternative) since Trebuchet 2.0 freezes/crashes ALOT
SetCPU w/profiles enabled for my overclock needs
ESFileExplorer for root and normal file manipulation as well as streaming video from my home server.
Titanium BackupPRO i think is the best file backup/restore software. Market Doctor as well as bloat ware/unwanted system app melter ability to integrate apps into ROM, than create a backup in CWM and next time you flash, all your apps will be included.
ESTaskManager for boot up app disabling/enabling, as well as Task killer if I need to terminate a running app. Has many other useful functions such as power optimization.
STARTING FROM SCRATCH/BUILDING MY CM10 SETUP
INSIDE TEAMWIN RECOVERY PROJECT
I use TWRP. In this order I wipe cache, dalvik cache, factory reset, and internal storage. Then I flash CM10, kernel, and gapps. Power off via menu option. Power on and i do not touch for 10min. than reboot wait 5 min, fill in Google profile, reboot than I start installing the rest of my apps. This is more your customization stage. Although I recommend installing your custom launcher, such as Apex Launcher, and updating Superuser before doing anything else.
USING TITANIUM BACKUP FOR FREEZING/REMOVING APPS
At this time I usually will start changing all my settings and freezing/uninstalling apps. Doing this will free up RAM and stop unused apps from even loading into the system. You can "thaw" them out anytime.
I use Titanium Backup and I freeze these system apps (I don't uninstall in case freezing an app causes a conflict):
E-Mail 4.1
Exchange Services 5.0
Face Unlock 4.1-392829
Gallery 1.1.4000 (In this build there are two identical listed, so I freeze one)
Google Play Music 4.3.605.392829
Google+ 2.6.1.30454518
Movie Studio 1.1
News&Weather 1.3.11
ROM Manager 5.0.0.8
Trebuchet 2.0
Lucky Patcher 2.5.0 (if you use it, use it for your purpose than FREEZE it until next time you need it)
Dev Tools 1.0
com.android.smspush 4.1.1-eng.odin.20120903.000735 (Not a 3G tablet, not texting so I freeze it)
[VOICEMAIL] Mobile Data 4.1.1-eng.odin.20120903.000735 (not a 3G tablet, so service not needed)
[SMS/MMS/APN] Mobile Network Configuration 4.1.1-eng.odin.20120903.000735 (not a 3G tablet, service not needed)
Network Location 1.1.10
Setup Wizard 1.3
Spare Parts 4.1.1-eng.odin.20120903.000735
VpnDialogs 4.1.1-eng.odin.20120903.000735
Voice Dialer 4.1.1-eng.odin.20120903.000735
USING ESTASKMANAGER TO EDIT STARTUP APPS
Next, I use ESTaskManager and disable a lot of the boot up apps. A lot of the apps you can disable their startup because you can launch them manually. This reduces boot up time and saves us some precious RAM and CPU cycles. Depending on what apps you uninstall or freeze, these may or may not be available to you.
I Disable:
Any of my user apps that aren't system related. Example, I can disable NOVA 3 from the boot up list because it's just cached in memory, and wasting memory to display notifications. For free games, this can actually stop all those annoying ads you get on startup. But I wouldn't want to disable SetCPU on startup, as it is controlling my governor, I/O scheduler, and CPU frequency. I am not going to list all my user apps, you get the point.
Calendar Storage-disable if you don't use
Contacts
Download Manager
Email
Exchange Services
Gmail
Google Contacts Sync
Google Playstore
Google Search (safe if you do not have any GSearch widgets, and you disable the "persistent" search bar from you home screens in settings)
News&Weather (safe if you don't use the widget)
ROM Manager (it's just best not to use this stupid thing! will get you into more trouble than good!)
Voice Dialer
USING SETCPU W/PROFILES ENABLED FOR OVERCLOCKING
Now for SetCPU, and how I use it.
Several users state that SetCPU causes a lot of problems with our tablet, and this is true, if you don't follow a few guidelines. I do have profiles enabled. I have 4 profiles. One for regular use, on for per app basis overclocking, one for screen off, and one for screen off on a per app basis so I am not under clocking as low as when screen off profile is triggered, for when apps like ESFileExplorer or Titanium Backup are performing long tasks and the screen times out.
I find using True/False and the "Any of these are true..." triggering events works best.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The problem with our tablet is it does not like using profiles. I have pinpointed the issue of SODs and random reboots being associated with SetCPU. When building profiles, you have to make sure you use the same governor in all of your profiles. You can change the I/O Scheduler for each profile without any negative effects. I use my tablet almost solely for Android Gaming, so leaving all my profiles set with lulzactive or smartassV2 is not an issue for me.
If you ABSOLUTELY want to change your governor, you can change it manually at the SetCPU "Main" screen. Just remember when you’re done to change it back to the one used in your profiles. To stop SODs (Sleep of Death), in your Screen Off profile, raise the MHz slider from 216MHz to 312MHz for your minimal under clock speed.
You can also use other features of SetCPU to undervolt and edit governors like lulzactive.
MY SYSTEM SETTINGS OPTIONS
Under Performance tab make sure for Processor and I/O scheduler that the "Set on Boot" option is OFF/UNCHECKED!
Under Memory I do have allow purging of assets ON/CHECKED
For Surface Improvement I select the "disable dithering" option. Some games/apps I use would FC until I turned this off.
zRam
I also have zRam turned on, but you have to flash a special zRam .zip from godmachine/linuxsociety from TWRP/CWM to actually have it working. Just download the appropriate .zip file for the amount of RAM you want to use for zRam compression. I use just the 100MB .zip. All the zips and a good explanation by linuxsociety are in his kernel thread
Under the Developer Options tab:
Turn on Android Debugging
I disable the "USB debugging notify" option, we already know we turned it on.
I turn on "Force GPU rendering"
For Background Process Limit I have it changed from Standard Limit to At most 4 processes
I have Kill app back button option checked.
Under Profiles tab, I tick the slider and turn profiles off.
For Wi-Fi sleep policy, I have a 5m time out. I found that wireless really sucks the life out of the battery. So if I'm not using it, I manually disable it.
BUILD.PROP MODS
I have used these, and for my uses I find that it is not needed. They do have benefits. For testing purposes I keep a copy of the stock build.prop and a copy of the modded build prop both in the system directory. Put them both in there and rename them build.prop.reg.bak and build.prop.mod.bak. Than with ESFileExplorer, make sure you have root access enabled, see pic) you can just rename the file you want to use to build.prop. Boot into recovery and clear cache and dalvik cache, and make sure you let the tablet sit for 10mins anytime you clear caches. The only time I really use the build.prop is to make an app list for the A500 in the playstore so I can download/purchase it and have it marked as so in the playstore, than extract the APK with titanium backup and than go back to stock build.prop and side load the app. Some apps will install under the A500 mod, but will FC or not run properly until you return to the stock build.prop.
I really can't think of anything else that I may be doing that can help you guys out. A suggestion I stand by, is I don't bother with widgets. They take up memory and CPU cycles for information you can usually get to via a couple taps on the good ol' touchscreen. And I have no idea why, it may just be me thinking it improves battery life, but I turn airplane mode on, and when I need wireless access I leave airplane mode on and turn wireless itself on. For some odd reason I see improved battery life, and my assumption is that when airplane mode is on, there are system apps that are put to rest by seeing the tablet is in this state.
Anyways, I hope this info will be useful for people. Any questions, feel free to post or PM me. I am a full time college student so I may not respond right away!
Very nice! Thorough, clear, and I can find no faults in your advice that isn't personal choice.
Sent from my Galaxy Nexus using Tapatalk 2
pio_masaki said:
Very nice! Thorough, clear, and I can find no faults in your advice that isn't personal choice.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thanks! Approval from you means a lot to me, cause you know what your doing more than I do!! lol
Good job, although it could better sectioning, make it easier to find stuff. Besides that, not bad!
Sent from my A100 using Tapatalk 2
das_webos_transformer said:
good job, although it could better sectioning, make it easier to find stuff. Besides that, not bad!
Sent from my a100 using tapatalk 2
i'm open to suggestions!
I wasn't quite sure how to break it down, like how to label a category and what would go into that category.
Sent via acer iconia a100 on cm10_build090212; godmachine v2.0 kernel, smooth, stable, fast
Click to expand...
Click to collapse
edit: Updated op organization
Nice tut. Should help out some to squeek out max performance.
A little more detail of how to freeze (paid version only), and disable startup apps, might help the novice.
Pretty much the way I run, with several different personal preferences.
Looks good. I especially like the list of apps that can be frozen. Just want to add that there are a few free apps (i.e..App Quarantine) that also freezes unwanted app.
Might be just me anal but the pictures attached shows up really big on the computer, taking up most of the screen and really distracting. I almost missed the blurp about setcpu profiles in between the pictures.
illego said:
Looks good. I especially like the list of apps that can be frozen. Just want to add that there are a few free apps (i.e..App Quarantine) that also freezes unwanted app.
Might be just me anal but the pictures attached shows up really big on the computer, taking up most of the screen and really distracting. I almost missed the blurp about setcpu profiles in between the pictures.
Click to expand...
Click to collapse
lol I KNOW!!!
I was wondering why they posted so big from my linked photobucket.
Maybe I should scale them down and re-upload.
[/u]Looking good!
Sent from my A100 using Tapatalk 2
das_webos_transformer said:
[/u]Looking good!
Sent from my A100 using Tapatalk 2
Click to expand...
Click to collapse
Thank you. Over the next few days I am going to add in a section about app compatibility and what runs on CM10. Games, media, tools, all of it.
If anyone wants to contribute information for this CM10 Tips guide, I will gladly fit it into the OP and credit your name.
Thanks for the support guys!
Bump
Sent via Acer Iconia A100 on CM10_Build090212; godmachine v2.0 kernel, Smooth, Stable, Fast
Tsk tsk
Sent from my A100 using xda premium
das_webos_transformer said:
Tsk tsk
Sent from my A100 using xda premium
Click to expand...
Click to collapse
Gotta give the thread some bump love for the noobs.
I keep having to bump pio's guide as well, if it goes to the bottom of the threads, its basically nonexistent as noobs don't know how to operate a basic search function. lol
justjackyl said:
Gotta give the thread some bump love for the noobs.
I keep having to bump pio's guide as well, if it goes to the bottom of the threads, its basically nonexistent as noobs don't know how to operate a basic search function. lol
Click to expand...
Click to collapse
hey im not a "noob" ,..(ok so maybe ) im thinnking of trying this on my backup (yes i have 2 a100s) ..the second one is the 16 gb version..is there anything i should be made aware of before i do this?..(and i have looked but where is the godmachine kernel)
mordeith said:
hey im not a "noob" ,..(ok so maybe ) im thinnking of trying this on my backup (yes i have 2 a100s) ..the second one is the 16 gb version..is there anything i should be made aware of before i do this?..(and i have looked but where is the godmachine kernel)
Click to expand...
Click to collapse
God machine aka linuxsociety. http://forum.xda-developers.com/showthread.php?t=1818924
Start here http://forum.xda-developers.com/showthread.php?t=1711125. Once you get cm10 loaded up follow this guide.
Romman0 said:
God machine aka linuxsociety. http://forum.xda-developers.com/showthread.php?t=1818924
Start here http://forum.xda-developers.com/showthread.php?t=1711125. Once you get cm10 loaded up follow this guide.
Click to expand...
Click to collapse
ahh you beat me to it
but I am going to add ROM and kernel links into the OP. Should have the first time.
I need to update this but I've been so busy with my stickied G2x Kernel thread! lol
I've all about abandoned SetCPU in favor of Antutu/No Frills (still testing) alongside with Android Tuner Pro <--- Which is flippin sweet on this tablet.
I may just be using it by itself as it can OC/UC/UV as well, than startup editing, build.prop modding, SysCtril modding somuch more. My tablet has been running smooth, and usually I just turn it off when not using as I could not get standby battery drain under control. I've just hit 18hours and still counting after using Android Tuner and I am still able to play all my HD games smoothly, meaning performance is not horribly hindered. I'll run a benchmark on it.
Great guide. used this on my desire s as well.
Hi jackyl, just wanted to say "great guide" I'm from the a500 forum and I feel guilty saying that i never knew you guys existed :shame: If it hadn't been for a 100 user posting his issues over our side I'd still be locked in ignorance!!!
I will link your guide and pio's in my flash guide if thats ok....there's some great info everyone should read imho
Keep up the fantastic work, happy tabbing
rgds dibb
dibb_nz said:
Hi jackyl, just wanted to say "great guide" I'm from the a500 forum and I feel guilty saying that i never knew you guys existed :shame: If it hadn't been for a 100 user posting his issues over our side I'd still be locked in ignorance!!!
I will link your guide and pio's in my flash guide if thats ok....there's some great info everyone should read imho
Keep up the fantastic work, happy tabbing
rgds dibb
Click to expand...
Click to collapse
Hey thanks for the support, feel free to link it.
:thumbup:
Sent from G2x, CM7 Weekly 1-1-13, Faux 054.
Just a note, added a link here in that guide thing I wrote as well.

Random Builds and Development

Hi all.
This thread is for random builds and development. There is no agenda other than to keep the Kindle Fire alive for the few of us that remain. This thread is not meant to support any specific ROM. I hope this is okay with the forum administrators.
With that said, please join in. We're all in this together.
Cm-12.1 2015-10-15
I made a public viewable folder on my Google Drive for Android stuff here https://drive.google.com/folderview?id=0B7BjC3Ky49TVcjdZQlpHYV9JWXc&usp=sharing
I uploaded a build of CM-12.1. The file name is weird so I will explain (in case you care):
cm-12.1-20151015-UNOFFICIAL-kad-rsm-O3-mo3-wifi-otterx.zip:
kad = kernel compiled with ArchiDroid toolchain
rsm = ROM compiled with SaberMod toolchain
O3 = almost all compiled with -O3
mo3 = more optimization, specifically as much of JustArchi's compiler flags as would work. The '3' is my third attempt to add more optimizations.
wifi = hack to make wifi work without doing a clean install, that is, there is a script, fix-mac.sh, which I think only gets run with a clean install. My hack was simply to copy the file that the wifi driver wants to the name that it wants. This should allow either dirty or clean flashing.
Suggestions:
* Change the animation duration levels in Developer Options to 0.3x or less.
* Use the Noop I/O scheduler for regular things like reading a book (that's why you bought a kindle, right) or browsing the web.
* Use the Deadline I/O scheduler for interactive things like playing a game.
* If you like Gapps, I suggest OpenGapps or TK Gapps. I have not tried this ROM with Gapps.
* You will need to get a third party program to change kernel settings. I like Kernel Adiutor.
The issues:
* Don't use the brightness slider in quicksettings. If you do use it, the status bar goes away and leaves the top part of the quicksettings panel in its place. I suggest disabling the slider and using the brightness control in the status bar settings. I'm not sure if this is a new bug or the result of too much optimization.
* There are no app snapshots in the recents switcher. This may be internal to Android as a way to save memory for low RAM devices, or it may be a bug in CM.
* The Kindle Fire just doesn't have enough RAM (or rather Android is just too freakishly bloated). Attempting to run memory intensive apps will likely result in them crashing or running slowly because the RAM they are using is being swapped to ZRAM. You may be able to adjust the ZRAM size and get better results.
There you have it. I hope you find it useful.
Ah. I just realize this thread. Going to try the 12.1 now
Sent from my Nexus 5 using Tapatalk
@pfederighi. Running fine and fast on the first boot. I clean flashed it without gapps.
After I flash Pico opengapps, it's rather slow now, but probably adjusting things. I'm going to use this for a while and see.
I M using privacy guard to block wake up and keep wake permission for (almost) all apps, since I don't use app that need to do that. Been set it up like that since ur cm11. Gave me very good battery life.
Will post some screenshot later
Thanks for this
Sent from my Nexus 5 using Tapatalk
Here you go. It's getting faster now.
Is there any downside of using higher zram? Default it 60mb, I change it to 1gb. Using noop as suggested. Low memory killer should be okay I think, but previous cm11 use much lower than this (120mb). Although I changed it to around 100mb too.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit. Oh one more thing. I try out the brightness slider, working just fine on mine. Ur issue probably because of dirty flash?
Sent from my Nexus 5 using Tapatalk
Battery life looks good.
Sent from my Nexus 5 using Tapatalk
dokie80 said:
Here you go. It's getting faster now.
Is there any downside of using higher zram? Default it 60mb, I change it to 1gb. Using noop as suggested. Low memory killer should be okay I think, but previous cm11 use much lower than this (120mb). Although I changed it to around 100mb too.
View attachment 3514625View attachment 3514626View attachment 3514627
Edit. Oh one more thing. I try out the brightness slider, working just fine on mine. Ur issue probably because of dirty flash?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I tried increasing ZRAM to 100 MB, I think, and found some things crashed, like the Amazon Underground and Monument Valley apps. I think there wasn't enough real RAM to allocate that much for ZRAM. I changed it back to 60 MB and both of those apps worked again, though slowly.
I'm not sure if I had KSM (kernel samepage merging) enabled. If I didn't, I probably should have. KSM can free up quite a bit of RAM, at the cost of CPU. Though, one can change the parameters for KSM and perhaps find a nice compromise.
Hello,
I'm following your instructions but when I start Kernel Adiutor I get the message No root available. I tried installing SuperSU but it fails when trying to update its binary. Any suggestions?
kev716 said:
Hello,
I'm following your instructions but when I start Kernel Adiutor I get the message No root available. I tried installing SuperSU but it fails when trying to update its binary. Any suggestions?
Click to expand...
Click to collapse
U don't need supersu. There's su app built in. Try installing Adiutor again, I remember I had that issue too, but I re open it, and it ask superuser request.
Su setting is on developer options. It's enabled by default.
Did u open kernel Adiutor and supersu from notification panel? (the one that tell us that xxx app is installed). I did, and it give that error. starting the app from home screen and app drawer works fine. Dunno if it's related to notification panel one, or u just need to open it twice.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 07:47 AM ---------- Previous post was at 07:44 AM ----------
pfederighi said:
I tried increasing ZRAM to 100 MB, I think, and found some things crashed, like the Amazon Underground and Monument Valley apps. I think there wasn't enough real RAM to allocate that much for ZRAM. I changed it back to 60 MB and both of those apps worked again, though slowly.
I'm not sure if I had KSM (kernel samepage merging) enabled. If I didn't, I probably should have. KSM can free up quite a bit of RAM, at the cost of CPU. Though, one can change the parameters for KSM and perhaps find a nice compromise.
Click to expand...
Click to collapse
I don't use that many app, so dunno have experience with crashing. I use 1gb zram since ur cm11, although I don't see any benefit. No crashes though.
I'll try 256mb later then.
I thought swap is remmended at 2x ram on Linux?
Sent from my Nexus 5 using Tapatalk
dokie80 said:
I thought swap is remmended at 2x ram on Linux?
Click to expand...
Click to collapse
Indeed, but that is swap to disk. ZRAM is the method of allocating an area of RAM that is treated as a compressed disk and using it as a swap file system. It is a way of using limited RAM more efficiently, at the expense of CPU time, but it is still using RAM. So, on our device, 100 MB is eaten up by graphics buffers and proprietary firmware. Another ~300 MB is eaten up by Lollipop itself. This leaves us with ~100 MB for user programs, which is not a lot. If you allocate ZRAM at 60 MB, that leaves 40 MB of regular RAM + ~120 MB compressed on the ZRAM drive for programs. This gives us more memory to work with, but effectively 75% of it is compressed, which means every time it's read, it needs to be decompressed, and every time it's written, it needs to be compressed. The memory manager of linux does a great job of making it efficient, but it still slows down the system.
If Android were to actually swap to disk, which it can do, it would wear out the solid state media very quickly because there are a limited number of writes before the media no longer works. There have been great advances in the field of solid state technology such as Intel's and Micron's new 3D XPoint (it's awesome, check it out). So, in the near future this may no longer be an issue, but it doesn't help our old devices.
If you really do need the memory, you can make a swap file on an externally powered USB hard disk, mount the drive, and then issue a `swapon path_to_your_swap_file` from the terminal. I've done it before. It's painfully slow, but it works.
Thanks for the explanation.
Cmiiw, so zram is on the ram itself?
So if I'm not using many apps at the same time, probably better to use zero zram? Assuming the free RAM is enough for the app.
about KSM, does it mean that with KSM enable, ram that is used for the system can be put on zram (compressed)? And by that, does it mean that zram is used only for user apps?
Sent from my Nexus 5 using Tapatalk
dokie80 said:
Thanks for the explanation.
Cmiiw, so zram is on the ram itself?
So if I'm not using many apps at the same time, probably better to use zero zram? Assuming the free RAM is enough for the app.
about KSM, does it mean that with KSM enable, ram that is used for the system can be put on zram (compressed)? And by that, does it mean that zram is used only for user apps?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Regarding not using ZRAM:
From what I understand, yes, if you have enough RAM without using ZRAM, then it's generally better to not use it.
Regarding KSM:
KSM compares the specified number (default 100) of RAM pages per check. If it finds that any RAM pages are identical, it merges them to a single copy-on-write page (that is, they will remain merged until a process attempts to write to it, at which point it'll be copied back to separate pages). Since there are often many read-only pages that happen to be identical, it tends to be very effective.
It runs at the specified interval (default 500ms). I've found that increasing the interval to 750ms or even 1000ms significantly reduces system load with no appreciable difference in the amount of RAM freed.
Because for some CPU & RAM intensive programs I've noticed slightly worse performance with KSM running, I have sometimes run KSM for a few seconds to free up the RAM, disabled it, and then run said program. It seems to work rather well. I suppose I could also have left it running and just increased the sleep interval to a higher amount, say 10000ms.
In general, KSM will free up about 10% of the total RAM, which in my experience is true.
CM-11.0
I've uploaded another CM-11 build. The kernel is compiled with ArchiDroid, the ROM with Uber. I think it is slightly faster than the previously posted all SaberMod build. It still suffers from all the regular CM-11 quirks on our device. The direct link: https://drive.google.com/open?id=0B7BjC3Ky49TVVGF3TFJ0ckJzYjA
Try as I might, I have failed to find a solution for the annoying wpa_supplicant error. That is, about every 2 seconds, `logcat` will spit out the following: "E/wpa_supplicant( 490): recvfrom(ctrl_iface): Try again". The 490 is the process ID number, yes?. I've found various references online, but no solutions. Does anyone know what the issue is or how to fix it?
And now for something completely different:
Is there anyone who would be interested in a CM-10.2 OtterX build? Since the general consensus is that CM-10.2 was noticeably faster than CM-11 (I remember it being so), I thought it'd be a good challenge to convert it, but only if there's a desire for it. Please let me know.
Cm10.x is better in performance, but imo, the sound is better/louder on cm11-12.
But no privacy guard on JB, right? I can't get similar battery life on JB, even using deep sleep apps. Unless you can bring privacy guard to cm10, I'll stick on 11+
What cm-11 quirks are you talking about?
Thanks for this.
Sent from my Nexus 5 using Tapatalk
dokie80 said:
Cm10.x is better in performance, but imo, the sound is better/louder on cm11-12.
But no privacy guard on JB, right? I can't get similar battery life on JB, even using deep sleep apps. Unless you can bring privacy guard to cm10, I'll stick on 11+
What cm-11 quirks are you talking about?
Thanks for this.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
CM-11 quirks include things like (it's possible some of these are specific to using a different kernel than the original or using optimizing toolchains):
* Sometimes when you press the Recents button on the navbar it'll come up saying there are no open apps, even when there are apps open.
* Sometimes the clock/weather/upcoming alarms/upcoming events part of the lock screen doesn't appear when waking up the KF.
* Sometimes you have to press the power button more than once to get the KF to wake up.
* Sometimes pressing the power button doesn't work and you may have to plug the KF in to get it to wake up.
* Certain apps, like any Netflix version after 3.0, just don't like the ROM.
I always had good battery life with CM-10.x, even with gapps installed. As for privacy guard, I'll look into it. All of this is as time permits. Edit: It looks like privacy guard is a part of CM-10.2. At least there are a lot of references to it being in 10.2.
pfederighi said:
I've uploaded another CM-11 build. The kernel is compiled with ArchiDroid, the ROM with Uber. I think it is slightly faster than the previously posted all SaberMod build. It still suffers from all the regular CM-11 quirks on our device. The direct link: https://drive.google.com/open?id=0B7BjC3Ky49TVVGF3TFJ0ckJzYjA
Try as I might, I have failed to find a solution for the annoying wpa_supplicant error. That is, about every 2 seconds, `logcat` will spit out the following: "E/wpa_supplicant( 490): recvfrom(ctrl_iface): Try again". The 490 is the process ID number, yes?. I've found various references online, but no solutions. Does anyone know what the issue is or how to fix it?
And now for something completely different:
Is there anyone who would be interested in a CM-10.2 OtterX build? Since the general consensus is that CM-10.2 was noticeably faster than CM-11 (I remember it being so), I thought it'd be a good challenge to convert it, but only if there's a desire for it. Please let me know.
Click to expand...
Click to collapse
I would be interested in a 10.2 build.
And of course thx for all your interest in keeping this device alive. Great little tablet.
pfederighi said:
CM-11 quirks include things like (it's possible some of these are specific to using a different kernel than the original or using optimizing toolchains):
* Sometimes when you press the Recents button on the navbar it'll come up saying there are no open apps, even when there are apps open.
* Sometimes the clock/weather/upcoming alarms/upcoming events part of the lock screen doesn't appear when waking up the KF.
* Sometimes you have to press the power button more than once to get the KF to wake up.
* Sometimes pressing the power button doesn't work and you may have to plug the KF in to get it to wake up.
* Certain apps, like any Netflix version after 3.0, just don't like the ROM.
I always had good battery life with CM-10.x, even with gapps installed. As for privacy guard, I'll look into it. All of this is as time permits. Edit: It looks like privacy guard is a part of CM-10.2. At least there are a lot of references to it being in 10.2.
Click to expand...
Click to collapse
I don't remember facing those issues. About have to press button several time to wake up, sometimes it just need 1-3 secs for the screen to wake, probably because of low cpu clock too.
I remember using 10.x that has privacy guard, but it's different from 11.x. As long I can block wake up and keep wake, I'm sold.
As the sound,
Anyway, since you re offering otterx version, I definitely will test it out, since it's easy and won't require a pc.
Thanks
Sent from my Nexus 5 using Tapatalk
pfederighi said:
CM-11 quirks include things like (it's possible some of these are specific to using a different kernel than the original or using optimizing toolchains):
* Sometimes when you press the Recents button on the navbar it'll come up saying there are no open apps, even when there are apps open.
* Sometimes the clock/weather/upcoming alarms/upcoming events part of the lock screen doesn't appear when waking up the KF.
* Sometimes you have to press the power button more than once to get the KF to wake up.
* Sometimes pressing the power button doesn't work and you may have to plug the KF in to get it to wake up.
* Certain apps, like any Netflix version after 3.0, just don't like the ROM.
I always had good battery life with CM-10.x, even with gapps installed. As for privacy guard, I'll look into it. All of this is as time permits. Edit: It looks like privacy guard is a part of CM-10.2. At least there are a lot of references to it being in 10.2.
Click to expand...
Click to collapse
I thought CM11 had more free ram than CM10?
VTCruzer said:
I thought CM11 had more free ram than CM10?
Click to expand...
Click to collapse
10 is faster, much more responsive than 11. For free RAM I'm not sure, but AFAIK, free RAM can be set using minfree. More free RAM doesn't mean it will run faster, it just mean less crash on apps and more capable on running apps that need high ram.
@pfederighi already explain about the zram. Using that, we can get more free RAM, but will use More cpu to decompress the zram when accessed. So, probably not faster than without using zram.
If we really want to compare the ram, I suggest to compare the usage (system), not the free one.
Sent from my Nexus 5 using Tapatalk
I too would be very interested in a 10.2 build for otterx

General GSI runs nicely on the S22

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some battery life stats is what I'm most interested in. This thing discharges by just looking at it.
Still early, some wifi wakelocks but look promising. The guru of GSI, Phh has an S22 on the way so expect the GSI's to be more or less flawless in the future
NisseGurra said:
View attachment 5563881
Click to expand...
Click to collapse
How to flash GSI? Steps please
Steps:
1: Patch stock recovery.img to include fastbootd
Use script : https://github.com/phhusson/samsung-galaxy-a51-gsi-boot/blob/master/run.sh
"Put your recovery in the same folder named recovery.img, edit script to fix path to magiskboot, run run.sh as root, flash r.img"
2: Download vbeta.img from google
3: Download an GSI, https://forum.xda-developers.com/f/treble-enabled-device-development-a-ab-roms.7260/
Andriod 12, AB, arm 64
4: Reboot fastboot
5: Open command window, enter
fastboot flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash system system-xxxx.img ( the name of the gsi you use)
reboot to recovery and do an factory reset
reboot system
NisseGurra said:
Steps:
1: Patch stock recovery.img to include fastbootd
Use script : https://github.com/phhusson/samsung-galaxy-a51-gsi-boot/blob/master/run.sh
"Put your recovery in the same folder named recovery.img, edit script to fix path to magiskboot, run run.sh as root, flash r.img"
2: Download vbeta.img from google
3: Download an GSI, https://forum.xda-developers.com/f/treble-enabled-device-development-a-ab-roms.7260/
Andriod 12, AB, arm 64
4: Reboot fastboot
5: Open command window, enter
fastboot flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash system system-xxxx.img ( the name of the gsi you use)
reboot to recovery and do an factory reset
reboot system
Click to expand...
Click to collapse
Sorry I am nope
I have to edit the script run.sh?
".... edit script to fix path to magiskboot, run run.sh as root, flash r.img"
So you mean I have to download
GitHub - phhusson/treble_experimentations: Notes about tinkering with Android Project Treble
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
and it will download the magiskboot?
as it shows in the run.sh script.
Code:
mkdir d
cd d
~phh/Downloads/magisk/x86/magiskboot unpack ../r.img
~phh/Downloads/magisk/x86/magiskboot cpio ramdisk.cpio extract
# Reverse fastbootd ENG mode check
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery e10313aaf40300aa6ecc009420010034 e10313aaf40300aa6ecc0094 # 20 01 00 35
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery eec3009420010034 eec3009420010035
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 3ad3009420010034 3ad3009420010035
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 50c0009420010034 50c0009420010035
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 080109aae80000b4 080109aae80000b5
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 20f0a6ef38b1681c 20f0a6ef38b9681c
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 23f03aed38b1681c 23f03aed38b9681c
~phh/Downloads/magisk/x86/magiskboot hexpatch system/bin/recovery 20f09eef38b1681c 20f09eef38b9681c
~phh/Downloads/magisk/x86/magiskboot cpio ramdisk.cpio 'add 0755 system/bin/recovery system/bin/recovery'
~phh/Downloads/magisk/x86/magiskboot repack ../r.img new-boot.img
cp new-boot.img ../r.img
can you please share your run.sh script so I can have an idea how to edit that.
Here are the recovery with fastbootd included.
ONLY S22 exynos SM-S901B, SM-S901B_AVC6 firmware
recovery.img
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
NisseGurra said:
Here are the recovery with fastbootd included.
ONLY S22 exynos SM-S901B, SM-S901B_AVC6 firmware
recovery.img
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Click to expand...
Click to collapse
Thank you so much. Can you please share your run.sh script too? I will be very thankfull. Did you use 7zip in order to compress the recovery image in to .lz4? I am using ubuntu.
Can someone please tell me how to manually add or include fastbootd in a stock recovery.img? I can't get this script to run properly. Thanks in advance.
Hi can anyone give detailed instructions how to enable fastboot on stock recovery ?
Late reply: join phh group on telegram and request an recovery with fastboot enabled. There are memebers that will help you.
Device name? GSI version? - #phh-treble
https://t.me/phhtreble/283195 <--- Read before any question ^^^
t.me
Still waiting for the battery life screenshots. I'm really curious how much better it is on GSI than on stock.
dragos281993 said:
Still waiting for the battery life screenshots. I'm really curious how much better it is on GSI than on stock.
Click to expand...
Click to collapse
As s22 exynos drain 30-40% from wifi bug every night there no way to make an real estimate of battery life.
NisseGurra said:
As s22 exynos drain 30-40% from wifi bug every night there no way to make an real estimate of battery life.
Click to expand...
Click to collapse
NisseGurra said:
As s22 exynos drain 30-40% from wifi bug every night there no way to make an real estimate of battery life.
Click to expand...
Click to collapse
When I get home tommorow night, I'll link you a few places to read and help you do some cleaning up because these Samsung phones are full of junk and services that the phone can live without. I've been going nuts trying to make this rubbish of a device perform better and I managed to get it to waste less battery while active and inactive by disabling and uninstalling A LOT of stuff I don't need and so on. And I came to the conclusion that for daily usage I didn't need 100% of the 8 Gen 1 chipset. I therefore cut in half the frequency for the 3rd cluster and decreased the ones of the other 2 as well. I basically limited the max freq of the CPU without noticeable effects on the performance. Probably benchmarks would should how much performance I wasted, but as I don't care about numbers on paper, I'm pretty ok with how the phone's running right now after cleaning it up. The battery is very small, the CPUs are very inneficient, both SD and Exynos, despite the marketing claims, the apps are very power hungry and the CPU gives the processing power in an aggressive and inneficient when the transition from a frequency to another should be smoother and not as quick to give it all up when it's actually not necessary. Paired with all the useless processes and services which work like lunatics to do whatever BS they're trying to do, whether it is while you're using the phone or in the background, and you're left with a terrible user experience that makes you contemplate throwing the phone away.
I used an iPhone 13 Pro for 4 months before buying this thing and I forgot to look at the battery level because iOS is that efficient. It was terrible for me overall but when it comes to smoothness and battery life, there's nothing in the Android world that comes even close to that. The best Android device that comes close to Apple's latest amd greatest is probably around 5,6 years behind. That's sad but it is what it is.
dragos281993 said:
When I get home tommorow night, I'll link you a few places to read and help you do some cleaning up because these Samsung phones are full of junk and services that the phone can live without. I've been going nuts trying to make this rubbish of a device perform better and I managed to get it to waste less battery while active and inactive by disabling and uninstalling A LOT of stuff I don't need and so on. And I came to the conclusion that for daily usage I didn't need 100% of the 8 Gen 1 chipset. I therefore cut in half the frequency for the 3rd cluster and decreased the ones of the other 2 as well. I basically limited the max freq of the CPU without noticeable effects on the performance. Probably benchmarks would should how much performance I wasted, but as I don't care about numbers on paper, I'm pretty ok with how the phone's running right now after cleaning it up. The battery is very small, the CPUs are very inneficient, both SD and Exynos, despite the marketing claims, the apps are very power hungry and the CPU gives the processing power in an aggressive and inneficient when the transition from a frequency to another should be smoother and not as quick to give it all up when it's actually not necessary. Paired with all the useless processes and services which work like lunatics to do whatever BS they're trying to do, whether it is while you're using the phone or in the background, and you're left with a terrible user experience that makes you contemplate throwing the phone away.
I used an iPhone 13 Pro for 4 months before buying this thing and I forgot to look at the battery level because iOS is that efficient. It was terrible for me overall but when it comes to smoothness and battery life, there's nothing in the Android world that comes even close to that. The best Android device that comes close to Apple's latest amd greatest is probably around 5,6 years behind. That's sad but it is what it is.
Click to expand...
Click to collapse
I swear all the **** Samsung installs on their devices is turning me crazy
No Samsung, I don't want Bixby, I don't want this side taskbar installed by default, I don't want your cloud services by default, no I don't want your "secure folder" thing, I don't want your Samsung Pass thing either
Like come on, the above list is like 25% of all the **** they install
Visually OneUI is awesome and I love it, I love some of the features and options that they provide / provided very early, even before Android sometimes, it's highly customizable and things like Goodlock are awesome, but it would be even better if you could allow us to remove ALL of their apps without having to use ADB or some weird stuff like this
I think Digital Wellbeing is a good example of what should be removable as I don't see everyone using it and it's even more of a shame when you realize that uninstalling it with ADB works perfectly fine and causes no issues...
Something that I love on Windows in the "services" tab where you can see each service, what it does, weither it is ok to disable it or not, what features you lose if you disable it... I think Android should do the same or something similar with system apps
jojos38 said:
I swear all the **** Samsung installs on their devices is turning me crazy
No Samsung, I don't want Bixby, I don't want this side taskbar installed by default, I don't want your cloud services by default, no I don't want your "secure folder" thing, I don't want your Samsung Pass thing either
Like come on, the above list is like 25% of all the **** they install
Visually OneUI is awesome and I love it, I love some of the features and options that they provide / provided very early, even before Android sometimes, it's highly customizable and things like Goodlock are awesome, but it would be even better if you could allow us to remove ALL of their apps without having to use ADB or some weird stuff like this
I think Digital Wellbeing is a good example of what should be removable as I don't see everyone using it and it's even more of a shame when you realize that uninstalling it with ADB works perfectly fine and causes no issues...
Something that I love on Windows in the "services" tab where you can see each service, what it does, weither it is ok to disable it or not, what features you lose if you disable it... I think Android should do the same or something similar with system apps
Click to expand...
Click to collapse
Exactly. They like to push down your throat their crap. All the stuff you mentioned I already disabled or uninstalled altogether. Digital Wellbeings was draining my battery in the background at all times without even having it configured. So that was deleted. Bixby is gone too and a bunch of other things. But the main issue for all this is the small battery for the terrible quality 8 Gen 1 or the Exynos 2200. 4nm is pure marketing at this point.
Sorry, @NisseGurra for not getting back here last night, like I said I would.
I also realized afterwards that you were on a GSI build but I intended to help you clean up the stock firmware.
The best advice I can give you right now though is to try doing what I did. Please don't take it personally if I explain or define stuff that you might already know or actually know even better than me. If someone else reads this, they might learn something from it or do some tweaking even if they're on the stock ROM or something custom. You take only what you need from this.
The whole thing starts with the process of opening the Apps section in the Settings, checking/turning on the "system apps" option and opening everything in there one by one. You'll have both apps and services showing up in there and what you wanna look for is the "Battery" section, or whatever it's named on your GSI. You basically need to see how much battery it's wasted since the last charge. High battery usage=no bueno. In that case, you google that app/service, weird name or not and see if it's rudimentary for the proper functioning of your phone. If it's not essential or it's used as a service for some apps that you don't even use but it's there just in case, then you can get rid of it. And obviously, you have to do this for every single app and service in there. It's a pretty time-consuming job but if you want to keep your sanity in the end, then it's a good activity. After that, for the remaining things, you can use "Servicely" from the Play Store and force the stuff you don't need at all times to sleep/Standby when the screen is off or even prevent it from running in the background altogether.
You should also download Naptime and use it to activate Aggressive Doze and disable Motion Detection too so the phone stays in doze mode even when you're moving around, a scenario in which by default the phone comes out of doze whenever it detects motion.
Stuff like "Find my phone" I had to turn off. There was one option for this thing somewhere in the google account section and also in the Samsung provided services in the Settings, on the stock firmware. Talk about a huge mess. I don't really need those. If I lose my phone, which never happened to me so far, it is what it is, but I'd rather have better battery life than have a service running at all times just for the moment I lose this crap if that ever happens.
This whole thing above is mainly meant to improve the standby time when the phone is idling.
And to not forget to mention this, I have Battery Saver active at all times. Normally, everything should be crippled while this thing is on including the refresh rate of the screen which gets stuck at 60Hz. For that, there's Galaxy Max Hz. It offers the ability to activate something called "Keep smoothness on power saving mode" and you won't even know that the thing Is even on. The essential part is that the OS is supposed to be less active, decrease the background BS and also the power of the CPU down to 75%. This part doesn't really matter because I already planned on downclocking it but if there's anything applied by default to make the CPU less aggressive along with the stock decrease to 75%, then downclocking it would make it even better because now you have lower frequencies which now jump up and down at a slower rate. I mean I hope it's done like that. I haven't monitored the difference in the activity of the CPU with Power Saver on/off so I can't tell for sure. It would be logical to happen that way though. Another important little part is that I installed "Universal GMS Doze" which allowed me to put the Google Play Services on "Restricted" in the Battery section. I had to restrict the "play services framework" too cause they liked to molest my battery too when I wasn't looking. But I digress.
On the stock firmware, I also use Battery Tracker made by Samsung. I really like it because I can easily select the period of time of activity/battery drain by dragging 2 sliders from one side to another and see what happened during that time, and you get background activity stats and what percentage of the battery it's wasted.
For the much better and more detailed Screen on/Screen off stats or charge/discharge information which all show in a useful notification, I use Battery Guru. It barely drains any battery so it's very well optimized.
Back to the technical part, the other important thing was to downclock the CPU, and this is essential for the active time which later translates into better SOT.
I'm using Smart-Pack Kernel Manager for the tweaks because it's the most detailed of them all and well rounded in my opinion and it's also the lightest on the battery, while in use, of course. It's got a side panel with all the sections that have the tweaks I'll mention in this post.
The following part is gonna be a bit more detailed. It's just a few tweaks in the end but I'll throw in some basic information here and there to make it a little more informative and nice to read. Keep in mind that even if I tweaked the stock firmware here, the tweaks are essentially the same for the kernel or at least similar. The values and options shown in the kernel manager can differ in terms of naming or the way you can change them, but they should be overall similar.
Note that this is more like a presentation of what I did on my phone, not a tutorial. You can open that kernel manager, look around and see for yourself the range of tweaks that are available of which a few are the ones I changed.
Now to business.
The stock max frequencies for the 8 Gen 1 on my S22 are something like this:
- 1785MHz for the 4 LITTLE Cores, 2496 for the 3 Middle cores, and 2995 for Core 8, which is also the big core (terribly inefficient "fat" bastard).
So we've got: 1785, 2496 and 2995 respectively.
My phone is running smoothly with all these downclocked right above the border between noticing and not noticing a difference in the UX department if you get what I'm saying.
So my current maximum clocks for all 3 clusters are 1363, 1555 and 1401 respectively. They're lowered pretty drastically, I know, but I don't care about benchmarks, in which you'd probably see a difference. In the real world, opening and closing apps among other regular things, are not gonna be noticeable. It's not like you're gonna sit with 2 phones next to you, a stopwatch in your hand and cheer when your phone is half a second faster than mine. It's just not gonna happen. That 30% increase and performance. blah blah, when a new generation of a CPU is announced you're not gonna notice especially when we're talking about CPUs that are only 1 generation apart.
Anyway, these lower frequencies will obviously help with thermals mainly but also with the battery life, although the difference for the latter is not that huge it's still better than before.
The CPU Governor for all 3 clusters is set "walt" by default. I couldn't find any information on how it's supposed to work and behave but because it's the default, I'm sure it's focused on something in between performance and battery savings. So I set it to "conservative" for all 3 clusters. This governor likes to get the frequencies back down as soon as possible after a task is done. So this is also gonna help with thermals.
Now to the CPU Hotplug. In the past when big.Little became mainstream, a whole performance cluster was called in for the heavy tasks and they followed a basic routine: when a certain threshold is crossed, the big cores take charge of the situation and when they cross a second threshold, which is a lower value, those big cores step away and they hand over the steering wheel back to the Little cores for the light tasks until they're needed again. They still pitched in but a bit more lightly. Now just one big core appears to be able to do that on its own, however, this time the job is split between the big core and the middle ones. So there's a bit more control over a situation because you've got those middle cores that are pitching in for the medium intensive tasks.
Anyway, I decided to up that threshold and basically make the CPU ask for the big core's help when the job gets a bit more difficult, heavier, essentially making it contribute less often. I don't want to reboot my phone to see what the default values were but now they're basically higher: "Busy down Threshold = 50", and "Busy up=70". I just explained what this threshold is, so you probably already got how this is supposed to work looking at these numbers.
And the last thing tweaked is the GPU. Sadly, the stock kernel doesn't allow for the downclock to stick. It's missing the parts which allow for this sort of functionality because it's stock and wasn't meant to be tweaked. The only thing I could do was to change the power level. You haven't got anything in there other than an option to let you change a value. The essence of it though is that the lower the number, the better the GPU performs. It's not gonna work outside of the defined parameters though. It only gets more active. Anyway, the default value is 10. I set mine to 12, which is the last level. This way I basically put the GPU in a more "conservative" state, so to speak. While gaming, I haven't noticed any performance loss, so hooray. It is doing its job but it's a bit less aggressive.
To finish this long a$$ post, I gotta say that after doing all this above, my battery life has improved quite drastically.
3, 3.5h SOT was what I consistently got without tweaking anything. Right now I'm at 4h49m SOT for only 64% wasted. I charged the phone only to 85% and the battery is down to 15%. The idle drain is only 0.3%/h.
I'll post a screenshot for the hell of it. Anyway, so far so good. One thing's for sure though. I'll do some research and if I manage to find any battery from another Samsung phone that's bigger but is very close in size to the one in this phone, it doesn't matter if I have to cut some of the lips inside to make it fit, I'll do it. I'll make that a project.
Edit: Everything I mentioned above is getting balanced out by other things somehow and 3.5h is the definitive SOT on average I have been getting since forever now. I therefore stopped trying anything, relocked the bootloader and I haven't done anything to the OS anymore. The SOT stayed the same and there aren't any improvements with any update. So this is pretty much how it is and there's nothing we can do about it. The phone is simply pure trash regarding the battery life.
dragos281993 said:
Sorry, @NisseGurra for not getting back here last night, like I said I would.
I also realized afterwards that you were on a GSI build but I intended to help you clean up the stock firmware.
The best advice I can give you right now though is to try doing what I did. Please don't take it personally if I explain or define stuff that you might already know or actually know even better than me. If someone else reads this, they might learn something from it or do some tweaking even if they're on the stock ROM or something custom. You take only what you need from this.
Click to expand...
Click to collapse
Thanks, an excellent post on how to get rid of battery leaks.
Its a pity that this work is needed 2022, should be optimized system from Samsung from start.
The problem now is the wifi bug, very strange that Samsung not noticed this in their testing.
How good does the GSI work on this device? Can you use it as daily driver? I am thinking of buying this phone, but don't want to use One UI.
dragos281993 said:
Some battery life stats is what I'm most interested in. This thing discharges by just looking at it.
Click to expand...
Click to collapse
You're welcome to check my thread then
[DISCONTINUED] Samsung Galaxy One UI - Optimization Guide
THIS IS A SUGGESTED CONFIGURATION FOR SAMSUNG DEVICES OUT OF SUPPORT/CLOSED I - RECOMMENDED SETTINGS To Start With - Factory Reset before starting optimisations - Factory Reset after every Major update (One UI/Android) - Remove SIM before first...
forum.xda-developers.com

Categories

Resources