yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] revan17:
Just to see if I got this straight; if I want the best multi-tasking experience I need to set OOM grouping to high and Minfree to high?
[Android Software/Hacking General [Developers Only]] trvbone:
Davlik works again woo hoo great job!
[Android Software/Hacking General [Developers Only]] lord dredd:
I know this must have been asked a lot already :P

actually wanted to know if there is a combo that one should try to have asnappier and battery efficient structure , i mean are there any predefined parameters that so and so tweaks should be used

I am not that tech savy to understand all the options TBH

i know it works on Epic 4G touch

but does it work on Htc Evo 4G Lte variant as well

regards
[Android Software/Hacking General [Developers Only]] Androguide.fr:
There is no such perfect presets, for the reason that all the devices are different, and their owners's uses and expectations are all different too. You need to do some trial & error to find what combination works good for you.

That being said, if you're looking for more battery life, then there are some tweaks you might want to avoid, for example, Forcing GPU rendering will eat more battery no matter the device, same thing if you disable Vsync or Lock several apps in memory.

A new feature that will be very useful for battery consumption is being worked-on, it will allow you to limit the CPU frequency when the screen is off, and to set a different governor for when screen is on or off, therefore saving a lot more battery ;)
[Android Software/Hacking General [Developers Only]] suiller:
dear Androguide.fr

can I suggest to add option to stop sys/app logs? of course it could be divided into 2 options (no log at all or keep system log):

#NO MORE NOSENSE LOG AND TOMBS
rm -r /data/tombstones;
rm -r /data/system/usagestats;
rm -r /data/system/dropbox;
rm /data/system/uiderrors.txt;
rm /devlog/kernel_log.?;
rm /devlog/kernel_log.??;
rm /devlog/system_log.?;
rm /devlog/system_log.??;
ln -s /dev/null /data/tombstones;
ln -s /dev/null /data/system/usagestats;
ln -s /dev/null /data/system/dropbox;
ln -s /dev/null /data/system/uiderrors.txt;
chmod 400 /dev/log/events /dev/log/radio /dev/log/system;

it could be useful to add something to clean caches after every boot:

for Dir in `find /data/data -type d -iname *cache* -print`; do
for File in `find $Dir -type f -print`; do
rm $File;
done;
done;

dunno if useful (I don't know exactly how works media scanner):

#DISABLE MEDIA ON SYS FOLDERS
touch /data/.nomedia;touch /dev/.nomedia;touch /etc/.nomedia;touch /mnt/.nomedia;touch /sys/.nomedia;touch /system/.nomedia

could be interesting also add some options to control build properties such as wifi scan timings

for the rest very nice app, it is simple & works very well :good:
[Android Software/Hacking General [Developers Only]] akshay7394:
Hey Andro; a tip for your upcoming governor settings (the screen off one) since other apps have done this, i'm assuming it's possible. No idea whether or not it's hard though.

It'd be amazing if you could add a 'delay' option to the underclocking. Meaning something like "only turn the processor down if screen off for xx minutes"

that way it actually saves battery. If it just turns it down the second the screen is off it's actually worse for the battery rather than being helpful. The constant switching of the processor between speeds just drains battery faster. Read this on a page that explained kernels and overclocking, unfortunately i can't find the link atm.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Thanks for your detailed report :good:

Could you please give me a logcat of the Dalvik Heap fc's on v2.2 ? Would be helpful to track down & fix what's still causing it to fc from time to time on your device.

Thanks for the scripts, I'll definitely add the sys/app logging & caches wiping one soon :good:

I'll soon revisit and improve the Network & Internet section, and there'll be sliders for some of the build props, including ro.mot.eri.losalert.delay (wifi connect speed)

Thanks for the heads-up & idea, didn't think about this detail but definitely makes sense, and it seems pretty easy to implement a simple timer, or even better, to let the user set the timer to choose the amount of time before the underclocking/governor change takes effect.
[Android Software/Hacking General [Developers Only]] domics:
Thank you for the update androguide.fr :thumbup:

after a reboot the settings in the cpu control are back to ondemand, deadline, only the set on boot stays ticked on my xperia mini pro thank you.

SK17i/Panic/Smultronic/XDA Premium
[Android Software/Hacking General [Developers Only]] Androguide.fr:
That's weird :(

Can you please try to re-change your cpu settings (change governor, scheduler and max freq), then tick set on boot off and tick it back on, then reboot (give it like 30secs after boot is completed, you should see a toast saying the superuser permission has been granted to PmR) and tell me if it sticked this time.

Thanks for your feedback :good:
[Android Software/Hacking General [Developers Only]] domics:
I tried tree different settings and anything works great :cool:i guess that was just my "unpatienceness":D another question: did you think, or allready work on adding "swipe" to navigate between the pages?

SK17i/Panic/Smultronic/XDA Premium
[Android Software/Hacking General [Developers Only]] akshay7394:
Always happy to give ideas :P

Thanks for listening! that would be perfect.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Of course i did, and I would, but my app needs to support gingerbread, and swipe + tab UI isn't supported by gingerbread, I'd have to use the compatibility library and actionbarsherlock to make it work.

I could also make a separate UI for 4.0 and above, but either way I have absolutely 0 experience with the view pager, or even at working with fragments :( (I'm a real noob/beginner at java, you guys follow my progress with the updates^^) I will check out some tuts and try to learn it.

However, if any of you guys is an app developer and would like to contribute by helping with making a swipe+tabbed UI or any other thing you think you could improve, feel free to contact me, I'll give you an access to my private git. Any contribution is highly appreciated.
[Android Software/Hacking General [Developers Only]] Dhiraj:
Swipe and tabbed feature is available in many apps which runs on GB. Anyway, thanks for working tweaks this time.
[Android Software/Hacking General [Developers Only]] amf100:
I am a Sprint User who used the 3g tweaks and ever since I did I cannot get on 4g. No matter what I do. I'm all the way back to stock, and I haven't been on stock since I got the phone lol. Do you have any advice on how to

completely

undo whatever the 3g tweak did?
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Yeah, as I said, you need the compatibility library and actionbar sherlock to make it work on GB

I assume you have tried to restore a backup/flash a new rom.

Try to update your RIL using GetRil app from the market. If the problem persists, then flashing a new baseband will fix the problem ;)

Sorry about this issue, been reported by a couple users before.
[Android Software/Hacking General [Developers Only]] amf100:
Yes, I did flash to a different CM rom, then restored a nandroid, then full wipe and back to stock and 4g still won't work. I'll try the options you just suggested. Any hint on where I'd get a new baseband? lol No worries. Stuff happens. That's the risk of flashin stuff and being rooted, etc. Just trying to find my back to working order lol.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
What's your device model ? You can usually extract the baseband (modem.bin) from stock firmwares.
[Android Software/Hacking General [Developers Only]] amf100:
Sprint Galaxy Nexus (toroplus). I find gsm and verizon nexus stuff, but couldn't find a baseband for toroplus. I didn't know to look for modem.bin though. I'm pretty tech savvy, but I've never encountered this particular problem before lol. Is that just a matter of flashing a new radio.img ? I tried that before going back to stock, but not after because I went back to original stock from purchase and then had like 3 OTAs. The radio was changed twice in those OTAs.
[Android Software/Hacking General [Developers Only]] punitthereddevil:
Thanx a million bro...n yeah,m on miui...:)
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Reflashing a baseband should normally solve the issue, this is how the other users who reported the same problem fixed it. What does your Settings/About says about baseband ?

Try to download this factory image for toroplus : https://dl.google.com/dl/android/aosp/mysidspr-fh05-factory-8cb5208b.tgz and extract the modem from it.

Then you can use mobile odin to flash it
[Android Software/Hacking General [Developers Only]] amf100:
The phone does actually show a 4g connection under status, but reports Mobile Network State as disconnected. It does report that the connection is LTE: 13 though. Maybe I can get Sprint to walk me through reprogramming over the phone or something. Only reason that I know there's an issue is that my co-worker has the same phone and network and stands right next to me with active working 4g lte. That's what makes me think it's still my phone and not network related. HMPH! :eek:
[Android Software/Hacking General [Developers Only]] weazie:
Hi androguide, Here's one logcat of the dalvik menu force closing. Hope it helps you. I can make another if this one has too little info available. I couldn't attach the file normally, so it is a dropbox link. http://db.tt/yqW0WOk2
[Android Software/Hacking General [Developers Only]] pedrofidalgo:
You should include:

Added Adreneline engine:

✔ Increase touchscreen sensitivity

✔ Less RAM usage through zipalign. | World first smart zipaligning

✔ Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access. | World first smart sqlite optimizing

✔ Faster disk access through remount script (noatime, disabled barrier etc) | World first smart remounting

✔ Better network throughput from TCP tweaks and 3G tweaks

✔ Tons of prop tweaks

✔ Overall Better Performance and Battery Life

✔ Less lags through LMK Tweak and Various VM Tweaks

✔ Faster SDCARD Read/Write Speed

✔ Bypass website like thepiratebay.se

cumps
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Lol, look more carefully, most/all of those tweaks are already included from what the description tells me (and really, it has nothing of a "world's first" :rolleyes:) :

"✔ Less RAM usage through zipalign. | World first smart zipaligning" --> PmR/Tweaks/Miscellaneous/Zipalign all apks at each boot

"✔ Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access. | World first smart sqlite optimizing" ---> PmR/Tweaks/Miscellaneous/Optimize sql databases at each boot

"✔ Faster disk access through remount script (noatime, disabled barrier etc) | World first smart remounting" --> PmR/Tweaks/Miscellaneous/Ext4 File System Optimization & Instant Mount

"✔ Better network throughput from TCP tweaks and 3G tweaks" --> You'll find that and even more in PmR/Tweaks/Network & Internet

"✔ Less lags through LMK Tweak and Various VM Tweaks" --> PmR/Tweaks/Multitasking & Dalvik

"✔ Faster SDCARD Read/Write Speed" --> PmR/Tweaks/Miscellaneous/ExtSd I/O tweaks

"✔ Bypass website like thepiratebay.se" --> PmR/Apps & Mods/ Adblock

"✔ Tons of prop tweaks & ✔ Overall Better Performance and Battery Life" --> No Comment ^^
[Android Software/Hacking General [Developers Only]] pedrofidalgo:
ahah ok xD

and what do you think of removing awesome beats, and make a .zip to install acid audio engine?

http://xdaforums.com/showthread.php?t=2002367

here you go.

you could make a .zip with acid + walkman or something and include it :)

just an idea
[Android Software/Hacking General [Developers Only]] amf100:
I think I have it working. There were entries missing from my APN. Added those back. 2 of which were EHRPD internet and LTE internet which is exactly what wasn't working coincidentally lol.

Did the network tweaks do anything to the APN file before you removed them? I assumed the tweaks were just adjustments to tcp settings and maybe dns, but maybe I was wrong lol.
[Android Software/Hacking General [Developers Only]] eden1988:
Andro, from what I experience with the in-built adblock within PMR, it actually cause google playstore to not show some of the pictures, display icons etc. After disabling the adblock google playstore works fine again, any thoughts on this?

Note: It might be just me though, don't know if it's because I'm using per-app-dpi on ParanoidAndroid preferences
[Android Software/Hacking General [Developers Only]] trvbone:
Just noting I had the multi screen video playback issue again I narrowed it down to disabling gentle fair sleepers, however my battery life seemed amazing when I had it checked but it causes video issues. Is there anyway around this?

SGS3 AOKP M1 Lean Kernel
[Android Software/Hacking General [Developers Only]] Shmi117:
I can't agree with you here. It saves it for me on each update, but never-the-less, see to it (Androguide.fr) that this problem is fixed. Thank you.
[Android Software/Hacking General [Developers Only]] SalimKeady:
Adblock file is it working..n download it and didnt find it on my sd ... And in the app it shows that its on ... Still have ads...

If I Helped Hit Thanks
[Android Software/Hacking General [Developers Only]] suiller:
file hosts isn't installed at all... I just checked :fingers-crossed:

download works correctly but I think that the pimp script should remount /system as rw before installing modded hosts file (mount -o remount,rw /system)

---------- Post added at 10:24 AM ---------- Previous post was at 10:21 AM ----------

just my 2 cents... your gps.conf mod doesn't take care of some important options... many doesn't have any rilevant effect, other give better results in some countries/regions :cool:

[SIZE="2"]NTP_SERVER=ntp1.ien.it
AGPS=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra3.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra2.gpsonextra.net/xtra.bin
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
DEFAULT_SSL_ENABLE=FALSE
INTERMEDIATE_POS=1
ACCURACY_THRES=3000
QOS_ACCURACY=50
QOS_TIME_OUT_AGPS=95
QOS_TIME_OUT_STANDALONE=80
QosHorizontalThreshold=1000
QosVerticalThreshold=500
AssistMethodType=1
AgpsUse=1
AgpsServerType=1
AgpsServerIp=3232235555
AgpsMtConf=0
AgpsMtResponseType=1
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=3425
REPORT_POSITION_USE_SUPL_REFLOC=1
CURRENT_CARRIER=common
PHONE_TYPE=UMTS[/SIZE]

---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------

if you wipe everything (except sd card of course) you have to rebuild from scratch pimp scripts

probably you are referring to a simple "flash over", correct me if I'm wrong

---------- Post added at 10:34 AM ---------- Previous post was at 10:26 AM ----------

ad block mod doesn't install modded hosts file if zip align is enabled... because...

zip align script at the end close back /system partition as ro:

busybox mount -o ro,remount /system;
[Android Software/Hacking General [Developers Only]] Androguide.fr:
It already does mount system as rw before, and the host file is installed properly, simply compare /system/etc/hosts before and after

Completely wrong, the zipalign script has absolutely nothing to do with adblock. This is an init script, it's executed at boot, while the adblock file (/system/etc/hosts) is downloaded and overwrites the current one directly when you press the download button (and it does mount system as rw before doing it, obviously)

Obviously the zipalign script remounts system as read-only after zipaligning, you don't want to have /system mounted as rw after each boot, do you ?

Yeah this is caused by the adblock in PmR, this was reported often back with the Aroma version. Couldn't manage to find which host causes this though.

The Adblock file doesn't go on your sdcard, it goes in /system/etc/hosts, simply compare the one you got when Adblock is disabled (which must weight a few octets) and the one you got after installing the adblock in PmR (which is about 5.6mb)

That's weird, the sleepers really have nothing to do with graphics in any way. Do you have Vsync disabled ?

Glad you got it working :good:

The tweaks don't touch your apn settings, the problem might have not been caused by PmR
[Android Software/Hacking General [Developers Only]] shantam:
xloud sound services is not running checked it with service manager

and also there is no setting in build.prop

what should i do to get it to work
[Android Software/Hacking General [Developers Only]] fifamaniac:
Hi all.

Its normal to loose 1% in 3/4 minutes with screen on when playng a game?

Have some lag when changing screens on home?

Here are my screens.

Thanks
[Android Software/Hacking General [Developers Only]] sgt. slaughter:
okay guys I cleaned the nonsense I saw. Do not go off in that route again please.

One, asking people to donate is a no no, and two responding with foul language and name calling is also a big no no.

Keep it clean and constructive guys/gals
[Android Software/Hacking General [Developers Only]] chuayx1:
It seems the CPU control settings doesn't work for p970. I set my CPU max speed to 600mhz and min 300 MHz, ondemand and CFQ, set on boot "ON".

But when I reboot the phone, the settings were not saved.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Give it at least 30 seconds after boot is completed, you should see the superuser permission granted to PmR toast, if you go into the CPU section before that, it won't apply.

Try to change your settings again, tick set on boot off and tick it back on, then reboot and wait until you see the toast, then report whether the settings stick this time or not.

Thanks for your feedback :good:
[Android Software/Hacking General [Developers Only]] amf100:
Well it didn't work. I thought it would, but it didn't. I didn't have the problem until immediately after applying the PMR tweaks. Any way to specify exactly what the tweak altered? Sprint is no help, and nothing I do seems to work.
[Android Software/Hacking General [Developers Only]] Androguide.fr:
The only thing the 3G tweaks did is adding the following lines to your build.prop (and overwriting current values of they exist) :

ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.hsupa.category=5

I really can't see how it can alter anything after the build.prop is overwritten, other than the baseband (althought it seems unlikely too).
[Android Software/Hacking General [Developers Only]] Prack:
I see you added the reboot option that I suggested, you rock sir. Keep up the good work!
[Android Software/Hacking General [Developers Only]] suiller:
there is an error in the 99 script at mount line... dir_atime (there is a space)
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Thanks for reporting, fixing it right away
[Android Software/Hacking General [Developers Only]] ob1silvia:
hello friend this happens to me as well except i do not see superuser permissions ever come up.Another bug ive found is the toggling of the 4g on and off it never conects to 4g i have to reboot my phone then it will come on
[Android Software/Hacking General [Developers Only]] suiller:
dear Androguide.fr instead of pushing in the script all the long list of .db files... you can use something similar:

#DEFRAG SQL DB
for Db in `find /data -iname "*.db"`; do
sqlite3 $Db 'VACUUM;';
sqlite3 $Db 'REINDEX;';
done;

:good:

correct me if I'm wrong but I think these lines are useless... because each time dns are re-generated by switching wifi/3g, or airplain mode on/off

net.dns1 8.8.4.4;

net.dns2 8.8.8.8;

net.ppp0.dns1 8.8.4.4;

net.ppp0.dns2 8.8.8.8;
[Android Software/Hacking General [Developers Only]] Androguide.fr:
This is obviously what I do, but execute this in a shell :

echo "#DEFRAG SQL DB" > /system/etc/99Pimp_my_Rom
echo "for Db in `find /data -iname "*.db"`; do" > /system/etc/99Pimp_my_Rom
echo " sqlite3 $Db 'VACUUM;';" > /system/etc/99Pimp_my_Rom
echo " sqlite3 $Db 'REINDEX;';" > /system/etc/99Pimp_my_Rom
echo "done;" > /system/etc/99Pimp_my_Rom

It will echo the output, not the lines you typed. This is true for any variable declaration, any math operation, etc...

If you got a work-around for this, I'd be glad to hear it, as this clutters -up the main script and force me to have some separate scripts for zipaligning, dual bootanimation etc...
[Android Software/Hacking General [Developers Only]] punitthereddevil:
Hi der...i got d version dat u gave me a link for black background instead of d white 1 forced by my miui rom...it works fyn...but d sentences r linear n don't start a new line when space runs out on d screen...d description under d options goes beyond d screen size...so i cant read more dan d first 6-7 words...i hope u got vt m tryin 2 say...

N also,ven i updated d app,d white background s back...dos it mean i shudnt evr update d app...!!!???
[Android Software/Hacking General [Developers Only]] suiller:
OK, didn't know :)

emh... noticed that block queue management couldn't work as expected...

this will work (at least it works under htc sensation/jb)

you could adjust to match more roms/versions

#TUNING I/O ACCESS
for Block in /sys/block/mmcblk*; do
echo "noop">$Block/queue/scheduler;
echo 0>$Block/queue/rotational;
echo 1024>$Block/queue/nr_requests;
echo 0>$Block/queue/iostats;
echo 0>$Block/queue/iosched/front_merges;
echo 1>$Block/queue/iosched/fifo_batch;
done;

ps: noop even if under certain circumstances could seem slower compared to deadline it is the most balanced choice
[Android Software/Hacking General [Developers Only]] tech2109:
Did you forget to take your grammar and spelling pill this morning?
[Android Software/Hacking General [Developers Only]] suiller:
I didn't understand exactly what you mean... why you pass that script portion to a separate script?

anyway to delete a separate script for enabling zram you could use:

#ENABLE ZRAM IF DEVICE EXISTS
test -f /dev/block/zram0&&mkswap /dev/block/zram0;
test -f /dev/block/zram0&&swapon /dev/block/zram0;
test -f /dev/block/zram0&&echo 67108864>/sys/block/zram0/disksize;

the same thing can used to enable & actrivate hard swap:

#NO SWAP AS DEFAULT BUT...
echo "0">/proc/sys/vm/swappiness;
#IF SWAP PARTITION EXISTS ENABLE IT PLUS SWAPPINESS
fdisk -l /dev/block/mmcblk1|grep -i swap&&mkswap `fdisk -l /dev/block/mmcblk1|grep -i swap|cut -d " " -f 1`;
swapon `fdisk -l /dev/block/mmcblk1|grep -i swap|cut -d " " -f 1`&&echo "50">/proc/sys/vm/swappiness;

ps: I don't call busybox, but as you know you should call all "micro" commands trough busybox to avoid different bin/sbin/xbin installations (I just post my script as it is, as I use of course)