yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Androguide.fr:
I don't use a separate script to add lines to my main script.

This is simple, to execute commands, the app uses a shell in the background, so if I want to add lines to my main init script that include a variable declaration, a while/for loop or a math operation, only the result (the output) will appear in the file, no the actual variable declaration or whatever.

I don't use a separate script for zram settings, those lines are added to my main script (/system/etc/init.d/99Pimp_my_Rom), the only features for which I have to use a separate script are zipaligning and dual boot-animation.

Just to make sure you understand what I mean, here's an example, let's say you want to write a script that locks Pimp my Rom in memory using shell commands.

Here is the script you want as a result :

VAR=$(pidof com.androguide.pimp.my.rom)
if (($VAR > 0))
then
echo '-17' > /proc/$VAR/oom_adj
fi

if do this in a terminal, you'll understand the problem :

echo "#!/system/bin/sh" >> /sdcard/Testscript
echo "VAR=$(pidof com.androguide.pimp.my.rom)" >> /sdcard/Testscript
echo "if (($VAR > 0))" >> /sdcard/Testscript
echo "then" >> /sdcard/Testscript
echo "echo \'-17\' > /proc/$VAR/oom_adj" >> /sdcard/Testscript
echo "fi" >> sdcard/Testscript

The result will be an unusable script, as the PID of the app will be different next time you want to use it, and in the script "$VAR" is replaced with a number (the current PID of the app, the result of "pidof com.androguide.pimp.my.rom), so the variable is unusable in an init script purpose.

Now you should get why it's harder than you think to write such a simple thing as the following into a text file using a shell (which is the only way I have to do it through java, other than downloading a separate already written script) ;)

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

This will list all db's installed on the device, and there's no way (afaik) to avoid this
[Android Software/Hacking General [Developers Only]] akshay7394:
Hey Androguide, if you don't mind me asking: what is the color code for the grey that you've used in the logo for the Pimp my ROM app's logo? (The thumbnail used for your app in the Play Store)
[Android Software/Hacking General [Developers Only]] nik007rock:
apps disappearing after reboot wtf ??
[Android Software/Hacking General [Developers Only]] opz187:
I kinda liked it better when there were sperate scripts for each tweak in init.d. when i run the pmr script in script manager i get an error about halfway thru. that leads me to believe that the script isn't being executed. If we had separate scripts for each tweak.. If 1 wasn't running properly, at least all the other ones would be unaffected, right? Am i wrong?
[Android Software/Hacking General [Developers Only]] t1.8matt:
hey andro, one thing i noticed, when in the middle of applying a tweak, while the loading prompt is going, if i turn my device sideways by accident and it rotates to landscape mode, PMR force closes.
[Android Software/Hacking General [Developers Only]] amf100:
Hmm. I went back to stock build prop when I went back to stock. I wonder if enabling something that isn't CDMA compatible affected something in the firmware. Ugh. I just wish it was fixed lol. Maybe I'll unroot and lock bootloader and see if Sprint will give me a new one. Getting frustrated lol.
[Android Software/Hacking General [Developers Only]] trvbone:
Hey Andro I never checked v sync options on or off but I'll do more checking but after cleaning build prop of entries and flashing recovery and re-enabling everything i had before except gentle fair sleepers I don't have the issue so Idk. Should I have disable vsync checked?
[Android Software/Hacking General [Developers Only]] opz187:
Andro so i used the aroma version 2.1.2 xhdpi because i wanted a separate script form each tweak. It installs and everything, but the scripts are empty. Nothing inside. Any idea whats going on?
[Android Software/Hacking General [Developers Only]] djwuh:
I had the same experience. All scripts were blank. But i used hdpi download

Sent from my LG-E739 using Xparent Blue Tapatalk 2
[Android Software/Hacking General [Developers Only]] opz187:
I don't think the one script by itself is working properly. Tried running it thru script manager and get errors. But idk if that means anything
[Android Software/Hacking General [Developers Only]] revan17:
Bug: I messed something up and went to fully un-pimp the ROM, using the supplied rescue zip. All went well however, the zip removed the stock Sony software like Bravia and xLoud(nowhere to be found in settings anymore).

Might wanna make another zip for Xperia phones so the factory installed mods don't get removed during un-pimping. :good:
[Android Software/Hacking General [Developers Only]] suiller:
dear Androguide, I think there is an error in zram activation...

1st you give instructions to activate zram then specify its size... this give an error, because instead 1st you should declare zram virtual disk size and then activate it...

you can use something similar:

#ENABLE ZRAM IF DEVICE EXISTS
test -b /dev/block/zram0&&echo 67108864>/sys/block/zram0/disksize;
test -b /dev/block/zram0&&mkswap /dev/block/zram0;
test -b /dev/block/zram0&&swapon /dev/block/zram0;
cat /sys/block/zram0/size|grep -q [0-9]&&echo "50">/proc/sys/vm/swappiness;

note: of course if zram exists swappiness should be honored :good:
[Android Software/Hacking General [Developers Only]] weazie:
disabling fast dormancy

If your carrier doesnt support fast dormancy, disabling it Could save battery.

ro.ril.fast.dormancy.rule=0

more info

Sorry if this has been discussed before.

weazie
[Android Software/Hacking General [Developers Only]] akshay7394:
Reposting in case you missed it?
[Android Software/Hacking General [Developers Only]] asianmelo:
I love this app, very organized thanks :)

Sent from my rooted LG Optimus L7 with XOptimus stock-based ROM
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Didn't think about that, true. I will fix that soon.

Can't remember the hex code and I'm on my linux pc right now, but I attached the picture, simply use photoshop or whatever soft to grab the color from it.

-------------------------------------------------------------------------------------------------------------------------

Just FYI guys, I'm currently rewriting the whole/most part of the app from the ground-up, so there won't be daily updates until I'm done.
[Android Software/Hacking General [Developers Only]] akshay7394:
Thanks so much! Can't wait to see the rewrite :P
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Well then here are few early screenshots for your eyes :p

(this tabbed + swipeable + actionbar UI will work on froyo/gingerbread too thanks to actionbarsherlock ;))

Galaxy S3 :

Nexus 7 :
[Android Software/Hacking General [Developers Only]] opz187:
Andro you have any idea why the aroma version is leaving blank init.d scripts? Searched the thread, all i found was to maybe mount system and data in recovery, which i did. On a nexus 7, using latest aroma + older versions. Tried xhdpi, hdpi
[Android Software/Hacking General [Developers Only]] Androguide.fr:
No idea, did you replace the update-binary-installer with the one from your Rom ?

If this still doesn't work after replacing it, then take the scripts you want in the package and put them manually in init.d

But normally, even if there's an error in the main script, it won't exit it, it will simply pass on to the next line. By googling you'll find that many bash scripters have to work-around to make their script exit if there's an error
[Android Software/Hacking General [Developers Only]] opz187:
I just copy n pasted them manually. Question.. Where do i place all the files in rm.. Like, rm_net speed.sh.
[Android Software/Hacking General [Developers Only]] domics:
Is this just me again :rolleyes: when i disable logcats, i see the pmr get su permission, but when i try to enable it again nothing happens even after a reboot the logcat reader is blank? ilpmr :D

SK17i/Panic/Smultronic/XDA Premium
[Android Software/Hacking General [Developers Only]] suiller:
making some experiments, also thanks to your script/app... I noticed smoother gui with this light mod:

#RENICE A BIT HIGH PRIO PROCESSES
renice -18 `ps -p|grep '\-20'|awk '{print $2}'`;
renice -17 `ps -p|grep '\-19'|awk '{print $2}'`;

or (without awk support)

renice -18 `ps -p|grep "\-20"|cut -d " " -f 7`
renice -17 `ps -p|grep "\-19"|cut -d " " -f 7`

note: ps -p output should be checked manually to see if '{print $2}' (or -f 7) is ok, sometimes different busybox versions can give different results
[Android Software/Hacking General [Developers Only]] suiller:
just a thought... about read_ahead trick (sdcard boost), it seems that 2048, but also 1024 are too high values on long term/usage

http://yarchive.net/comp/linux/readahead.html
[Android Software/Hacking General [Developers Only]] Androguide.fr:
Thanks a lot for th heads-up :good:

I'll reduce the read_ahead value and add your renice trick in the next update after I'm done with making the new UI and converting all my activities to fragments

The rm_* scripts were used to remove the script they correspond to, so don't use them ;)

Will look into it, but you can re-enable the logger by doing this in terminal :

su
mount -o remount,rw /dev
echo "" > /dev/log/main
mount -o remount,ro /dev
[Android Software/Hacking General [Developers Only]] UN5EEN:
How do I uninstall Beats Audio. I'm trying to fully unpimp my phone because something in it is preventing me from flashing roms.

Pimped out RAZR M
[Android Software/Hacking General [Developers Only]] rdavis429:
If you downloaded the recovery, you should be good to go.

Sent from the Normandy SR2 via Quantum [Jellyverse v02] Entanglement
[Android Software/Hacking General [Developers Only]] opz187:
What exactly does this do? And which one should i use on my n7?
[Android Software/Hacking General [Developers Only]] DorEzo:
nvm...
[Android Software/Hacking General [Developers Only]] kami2k:
works great on one.x thanks
[Android Software/Hacking General [Developers Only]] trvbone:
What is awk support? I have a SGS3 which shall I use?
[Android Software/Hacking General [Developers Only]] eddydc1:
Working great on Huawei u8850 Vision! :)
[Android Software/Hacking General [Developers Only]] EB10000:
Hi

Which Aroma version should I download for SGS2? I assume HDPI right? But I cannot tell for sure which is the latest version, since ver 2.51 file is dated older than ver 2.1.2 file... Which one is the latest for SGS2?

Thanks
[Android Software/Hacking General [Developers Only]] blively2:
Just download from playstore, dude :thumbup:
[Android Software/Hacking General [Developers Only]] zazza8:
How to disable ad blocking?

I know this is related to app & mods, but please help me. :o
[Android Software/Hacking General [Developers Only]] Androguide.fr:
awk is a busybox applet, either make sure you have this applet install (easiest way is to download busybox by stericsson on the market and check through this app) and use the first method, or use the second if you're not sure.

Simply turn the toggle OFF :rolleyes:
[Android Software/Hacking General [Developers Only]] zazza8:
:D Of course I have tried that, then I have rebooted, but it's not working. I still have no ads anywhere.

Edit: I got bootloop, so I had to flash rescue package. Now I have ads, but I got that same problem again that I have mentioned before. My equalizer force closes every time I boot my phone and i cannot open it from app drawer either. So that equalizer problem starts when I flash rescue package. I didn't have any audio mod installed. :mad:

So rescue package deletes or changes something that is in phone without the pmr, please take a look of that :o
[Android Software/Hacking General [Developers Only]] TeamMex:
working on XPERIA Tipo ST21a
[Android Software/Hacking General [Developers Only]] maxxinn:
Working on galaxyy
[Android Software/Hacking General [Developers Only]] trvbone:
So I would just copy the first method and paste into build prop?
[Android Software/Hacking General [Developers Only]] samsara666:
I am on a samsung sch-i500 running AOKP JB M1. Twice i've installed your app and within a few hours I am stuck on a black screen, buttons light up, but nothing works including power. I have to do a battery pull, but it reboots and does the same thing. When i go into cwm I get a bunch of mount errors. The first time, I just flashed all the way back to stock. This 2nd time, I had done nothing more than download and flash the xLoud and Beats files, no tweaks, nothing. I flashed the recovery package and it let me boot up again. No idea lol
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
Just would like to say that the APK and AROMA versions of PmR work on the Samsung Admire/Vitality SCH-R720 :)
[Android Software/Hacking General [Developers Only]] Zisworg:
Awesomeness!! :D Thank you again.
[Android Software/Hacking General [Developers Only]] revan17:
If I flash a new kernel do I need to re-pimp? I only use the multitasking tweaks.
[Android Software/Hacking General [Developers Only]] shantam:
THE MOST USELESS APP I HAVE EVER USED IN MY WHOLE LIFE
[Android Software/Hacking General [Developers Only]] justjackyl:
wow..

what ya do, bork your device so it crashed?

G2x-CM7 Nightly 12/09/12 Build, Trinity ELP Kernel
[Android Software/Hacking General [Developers Only]] opz187:
Most useless post I've ever seen in my whole life. Obviously posted by some half-a-retard who has no clue what they're doing
[Android Software/Hacking General [Developers Only]] trvbone:
Haha no doubt!
[Android Software/Hacking General [Developers Only]] SaberJ2X:
I doubt it, the tweaks are applied in the build.prop
[Android Software/Hacking General [Developers Only]] dani_nec:
what are the recommended tweaks to improve battery? I have a rom insertcoin HOX with 14.0.2

Thank you!
[Android Software/Hacking General [Developers Only]] Zisworg:
Mostly those where it's written "Battery friendly/saver" :D
[Android Software/Hacking General [Developers Only]] Kr@zY_J:
I need to try this out ..its all reversible?
[Android Software/Hacking General [Developers Only]] hanschke:
cannot wait for the next beta with help ;)

do you know this tweaks? http://www.android-hilfe.de/root-cu...101-tweaks-tcf-performance-tuning-kit-v1.html

maybe there are a few you like?
[Android Software/Hacking General [Developers Only]] matcho13579:
What about adding some features from V6 SuperCharger script?

Btw. seems that all features are working on my ZTE Blade running Jelly Bean :)

//EDIT: Well, not all features, SE Album not working on my device, I really wanted to have that, looking so good :/
[Android Software/Hacking General [Developers Only]] Meelouw:
Work fine on my Xperia T :)
[Android Software/Hacking General [Developers Only]] olorolo:
I noticed in the OP it says block usage/data sending...does this mean it blocks the service provider from clocking data usage and has anyone tried this tweak and had it work ? Thx in advance because I'm really interested being on AT&T super high data charges.
[Android Software/Hacking General [Developers Only]] opz187:
No it's blocking data sent to google
[Android Software/Hacking General [Developers Only]] Prash8429:
perfect

i installed v2.3 on my htc explorer(cm9 b11) but whenever i applied any tweak and reboot the phone gets stuck at htc logo. tried diferent versions and flashing but no use.

changed my rom to cm10b3 and everything is fine..... no no.... superfine:D

best app ever

but i must mention the adblock is not functioning... had to install adaway app also
[Android Software/Hacking General [Developers Only]] RiteshArora28:
problem with bravia engine and xLoud... CWM says problem with package!
[Android Software/Hacking General [Developers Only]] zazza8:
There is options to uninstall most of tweaks/apps/mods and there is also rescue package to flash from cwm if you get bootloop (it also uninstalls tweaks/apps/mods)

But make sure that you do nandroid backup before you apply any tweaks/apps/mods from pimp my rom, because those uninstall buttons/rescue package are Not 100% sure to fix problems if you get them! (For example I get problems if I flash rescue package)

I hope that this helps you :)
[Android Software/Hacking General [Developers Only]] zazza8:
I faced problems when I tried to use multitasking tweaks. My Internet connection didn't work at all.

My settings were low/low, none and to kernel and dalvik.
[Android Software/Hacking General [Developers Only]] erwinsie:
hi im new with galaxy tab 7.7 wifi and want to know if any more success story installing this pmR ontop of latest ICS australia stock rom. thanks
[Android Software/Hacking General [Developers Only]] hisname:
just a question, in the OP I saw that there is adrenaline script optimization, but I don't see any where in the app that says that:confused:
[Android Software/Hacking General [Developers Only]] akshay7394:
It was in the flashable version of PmR, and to my knowledge is planned for the apk in the near future. :)
[Android Software/Hacking General [Developers Only]] trvbone:
Make a backup of your current rom and see if it

Works if not restore backup!
[Android Software/Hacking General [Developers Only]] EB10000:
Thanks, but I'm not interested in the app, I want the Aroma version so I can mod it into a customized CWM installer with all options predefined w/o Aroma. So I'll ask again: Which AROMA version should I download for SGS2?

Thanks
[Android Software/Hacking General [Developers Only]] blively2:
Any HDPI version from the Op will work on the S2
[Android Software/Hacking General [Developers Only]] dingermtb:
Try googleling the density for your phone. My guess would be the hdpi version, but not %100 on that.

Sent from my ZombieICS-VM670 using Xparent Blue Tapatalk 2
[Android Software/Hacking General [Developers Only]] BoBCatRoM:
sorry, it works on note2 _N7100?

Thanks
[Android Software/Hacking General [Developers Only]] Bastaerd:
The app and the correct aroma version will work. But as always before messing with your phone, make a nandroid.
[Android Software/Hacking General [Developers Only]] hllywd:
Confirmed running on Sprint SGS3, rooted, Wicked Sensation ROM. The only thing is that beats didn't install. No problem, I'll pull that out.

My question is, I have other battery saving, kernel / cpu tweaking apps running. Should I disable them? Could there be a conflict? And if I disable them, would I need to re flash PmR?

Thanks

Oh I just flashed last night so I'll have to give it some time.

Edit: hey where is beats stored? I can't find it.

I Love The Smell Of Burnt Rubber Anytime
[Android Software/Hacking General [Developers Only]] .TanTien:
Works perfectly on my One S (VilleC2). Thanks a lot!
[Android Software/Hacking General [Developers Only]] vannope:
Failed to install some features - Asus TF300T

First, thanks very much for all your work. It's appreciated.

I have an Asus TF300T running the JB@BLUE_V02 - which is based on the Asus stock JB. I downloaded the PmP version for HDPI devices. I followed your instructions and replaced the "update-binary-installer".

I pretty much installed everything with the exception of 3g scripts since I only have Wi-Fi. The Aroma Installer was very slick and work well. But, when it got to the point where I asked to install these apps, I got the error message listed below.

I installed version 1.5 yesterday (had the same error) and had been running that for 24 hours with no problems whatsoever, and with results. I installed 15.2 about an hour ago... and still everything looks good.

Again... thanks muchly... This is great work

Features that wouldn't install

- Install Awesome Beats Audio dsp manager for a greater sound experience

- Install Sony Walkman suite : Music Player & Visualizer, Clearbass soundfx and Image Gallery & Editor

- Install S-Voice, the famous app from Galaxy S3 hacked to work on any device

- Install Touchwiz UX Launcher & Widgets (Weather & Dialer) from SGS3 hacked to work on any device

Error message taken from the install log

"script aborted: file_getprop: failed to stat "/tmp/aroma-data/themesjb.prop": No such file or directory Installer Error (Status 7)"
[Android Software/Hacking General [Developers Only]] bstromberg:
What ROM are you running?
[Android Software/Hacking General [Developers Only]] flipm00de:
.

None fo those worked for me . The awesome beats did install though; touchwiz did not.
[Android Software/Hacking General [Developers Only]] socalnative1:
Downloaded this and applied it to my gs3 once I did that my play store amongst other apps stopped working. Any idea why this happened? Also I wish you could change the color of the background when installing this because I can hardly read anything on the screen.
[Android Software/Hacking General [Developers Only]] webpro2k02:
Yes, I did try all versions, i am able to navigate until the terms of use page, then i try to navigate using volume keys to select the I Agree checkbox , I select the I Agree checkbox and that's it, it does not move back or forward with any of the keys, so i cant click Next > ... i tried the patch, also tried hdpi, xdpi versions all this very same issue with the tab. :(
[Android Software/Hacking General [Developers Only]] leolawliet:
I can confirm that this does wonders for my LG myTouch 4G
[Android Software/Hacking General [Developers Only]] bstromberg:
Confirmed working on my HTC One S (s4) with unofficial AOKP JB rom. Its pretty sweet. Loving it so far. Can't confirm 100% working but all is well so far. Thanks OP!
[Android Software/Hacking General [Developers Only]] R3dbeaver:
1.5.2 HDPI confirmed working with Motorola RAZR (XT910) Official Rogers (Canadian) ICS stock ROM.

Thanks!
[Android Software/Hacking General [Developers Only]] rippledrums:
Loving it!

I confirm this works on my Huawei Ideos X5 (U8800) running Aurora ICS 4.1.1a ROM and ClockworkMod Recovery Touch 6.0.1.0 but I too got the error described above.

I tried replacing the aroma-config file but when I do that the Aroma installer doesn't even run and gives a syntax error on line 586 of that file.

Other than that, my phone is much much faster after fully booting! :good:

Thanks a lot! :D

EDIT: The error I get is: "file_getprop: failed to stat "/tmp/aroma-data/themesjb.prop": No such file or directory"
[Android Software/Hacking General [Developers Only]] grindirules:
trying to apply it to HTC Desire..however, the process stops and says tmp file is missing..tried to apply patch version one and two..but no result..(
[Android Software/Hacking General [Developers Only]] COBRAXX3D:
Pimp my rom - ics sanvold

Hi everyone,

Trying to apply PMR on my Desire (ICS Sanvold 4.0.4), Aroma launch correctly and I can select whatever I need but at the installation time there's an error : Syntax error! aroma-config on line 1 col 1.

If someone can help me to resolve that, i'll be grateful.
[Android Software/Hacking General [Developers Only]] hakz:
same for my Evo 3D running King Cobra AOSP on 4ext. It just restarts the aroma installer. Waiting for updates. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] newmanx4:
Allowing Writes to Complete, Please Wait....

script aborted: file_getprop: failed to stat "/tmp/aroma-data/tchooser.prop": No such file or directory

Installer Error (status 7)

Those are the last lines of my log. Droid X running AOKP. So did the installation stop there because of that? I don't have S Voice and don't see anywhere in the log where it tried to install.

Sent from my Black Iced X