yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 3c:
From the first post: " So... it is not system tuner, which overrides those settings (because it was uninstalled before reboot)"

The adj line is deactivated because it was often conflicting with various custom ROMs, including those using more adj values than usual.
[Android Apps and Games] smint86:
Okay, but what about the part from the second post, concerning permissions? It is really as I said, the settings would not stick if I don't change the line with the permissions. In the "/sys/module/lowmemorykiller/parameters/" all files are set to 644, root:root. If I change minfree values with system tuner, the init.d scripts sets the permissions to 777, plus the owner:group of adj and minfree change to root:system. This owner:group change is not mentioned in the script but happens anyway.

I have to change the script manually, to let it look like that:

#!/system/bin/sh
#chmod 644 /sys/module/lowmemorykiller/parameters/adj
#chown root:root /sys/module/lowmemorykiller/parameters/adj
chmod 644 /sys/module/lowmemorykiller/parameters/minfree
chown root:root /sys/module/lowmemorykiller/parameters/minfree
#echo "0,1,2,4,7,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2048,4096,8192,16384,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree

(removing those # if I want to change adj obv)

I think another possibility would be removing thos chmod/chown lines, what I just didn't try yet, because this way I am 100% that it works.
[Android Apps and Games] 3c:
The ownership changes are very likely caused by the kernel during reboot. Here is why: any files under /sys are actually virtual files managed by kernel sysfs. They don't exists and when reading them it's the kernel providing the content.

As for permissions, as System Tuner must be compatible with any kernels out there, 777 was the most compatible at the time of coding.

In your case, I suspect the 644 and root:root prevents the "system" user to change them again later, hence it sticks. And that also explains why you need both to work, 777 will let system user change those settings, same as root:system. The question is why "system" user makes further changes later? And the answer only lies within the kernel or maybe the ROM, maybe it integrates an auto-configuration for minfree?

EDIT: CM 10.x ROM integrates its own performance tweaks, you might want to check the performance settings within Android settings to make sure they are disabled (which is usually the default). If it's already disabled, it's obviously a bug in the ROM: "system" user looks like the ROM user (while root would be the kernel user)

TIP: Any apps can be sure to be more reliable than any ROM/Kernel as apps are run, tested and messed with on numerous variations of Kernels, ROMs and devices. Whereas a ROM or Kernel is used and tested on a single device.
[Android Apps and Games] leathan:
HELP!! Systemtuner -> user app

Please please pelase help! I guess im totally retarted, i didnt no stopping this app from access to the system folder would mess things up :(

But i did just that for a silly reason of ease and right after every progrom/service started closing and i got errors back to back, between errors i tred desperatly to swich it back to system folder and almost made it... But i didnt phone went dead and now wont load. It also wont load into safe mode.

Do i have to flash over a backup?

Please i dont want to do this :(

Can i somehow get this file back to user apps to fix things or is it too late? Maybe add some extra warnings about this >.>

:(((((((((((isosa

Edit- i have moto atrix 2.3

On safemode it freezes "starting rsd protocol support"

Otherwise just stuck at logo

I THINK PEOPLE ABOVE MY POST ARE TALKING ABOUT THIS SORRY I WILL READ NOW!!
[Android Apps and Games] 3c:
Hello,

Not sure what issues you're facing? What do you mean stopping app from access to system folder? Or get this file (which file?) back to user apps?

App can be located in system or user folders, doesn't make a difference. However it seems you're having a different issue, which may actually not be related to the app at all, like system folder has been deleted for example (which the app cannot do).

Restoring the backup is probably the easiest path to recover your device anyway.

EDIT: Above discussions are completely unrelated. Those are about init.d scripts setting up specific tweaks on device boot.
[Android Apps and Games] leathan:
Thos is exactly what happened.

I opened app called system tuner

I clicked system apps (in system tuner interface)

I then clicked "move" bottun. A notification popped up "move system tuner into user apps"

I clicked yes.

Instantly... I get notifications that say activities are crashing... I keep getting them untill everything is closed except a final window showing my battery charge.

Now i can load the phone and all i see is my battery charge and its charging.

I have two problems.

I dont know how to use the "update from sd card" option in android recovery mode. I think this will let me restore a backup from sdcard?????

I tried factory reset data and clearing cached data... Both failed :(

Edit : And 2 i cant find the sbf files for 2.3.4 and im scared that i cannot flash because it will blow a fuse because my bl is "upgraded" i read here on xda that if i have an upgraded bl (if i go into android recovery and the touchscrean is totally unresponsive)

Im just totally scared... I know for sure this was caused by moving the app out of sys. Apps in sys do get some kind of extra permissions... I think...... Im quite sure actually :/ but either way thats what caused it, it was instant and idk what happened really except everything closed.

Also i think my bl is unlocked.... Idk how to tell... I think this allows me to use other providers? Because i had china mobile for 2 mo this... Rly not sure what im talking about.. But i do know what it is.

Last edit: i have no idea wtf happened :( just that it happened because i clicked that stupid "move" button.

Everytime i see my screen show a charging battery that i cant deplete i get depressed... I know its sad but in china it was my computer :( now im stuck with a tiny laggy crappy laptop:(:(:(

Soooscaredddddd

---------- Post added at 12:11 PM ---------- Previous post was at 11:45 AM ----------

Im not trying to blame the app or anyone who made it, i bought it and will buy it again. It so nice i blame myself for moving it. I had a badly programmed task manager that would not start "system" activities... I figured maybe i could just take that program out.... Maybe i should have just chmod on it? Blah basically im dumb... But if anyone knows exactly what happened to my phone im so desperate... I really think it should be recoverable....... I can see battery charging and get into recovery mode, and lots of other modes.... If i had cwm app like i do on my other phone i would have no problem :(

Love the app ;)

You say "Restoring the backup is probably the easiest path to recover your device anyway."

HOW??? The backup i have i made in titanium backup.. I think i need one thats compatible with "android recovery mode" "update from sd card" BUT WHERE I GET THAT FILE???
[Android Apps and Games] 3c:
Thanks for the steps but it's missing some details: The move button is unavailable until an app is selected, and the popup is actually a warning about potential issues moving apps to or out of system partition. The important thing is to find out which app you moved to system or was it to user space) ?

As for the recovery, this depends on the device you use and only the XDA thread related to your device can provide accurate help. I don't have this device and not sure what BL is or how to restore your device. Usually you get the original firmware file, either go in recovery and flash it or use an app provided by or for the manufacturer.

An alternative is (only if you know which app you moved) is to push the require files back to your device. For that you'll need to extract the APK (and optionally the ODEX) file from the firmware, then push then through ADB. I assume ADB is available once you boot your device, even though device is not usable. With ADB you can push any files to any location (include /system).

The warning you've suggested is actually there, but nobody reads it and I've seen many users move the wrong app and blame the app for that, saying the app messed-up there device without prior warning. For example moving "Android System" or "SystemIU" apps out of system will definitely result in device not being usable.
[Android Apps and Games] leathan:
Sorry i edited and u maybe didnt read. I blame myself and would buy this app LITERALLY 100 times if i have too.its so powerful haha....

The app i moved is system tuner... I used system tuner to move system tuner out of /sys. ...im an idiot man :/ i need this phone to learn chinese tho :(

Also i program alot, barly for android so i think i can flash an sbf file over no prob... But i cant find the one i need... Every single link on xda about that exact file is broken. Plus i looked elsewhere and links are broken.

And im not exaggerating i know the grunt work that goes into making this program, and if the only way to get it was to pay 100 times i would.... Awesome appppppppp

---------- Post added at 01:26 PM ---------- Previous post was at 12:44 PM ----------

Adb is linux terminal!?!?!?!?!?!?! If i could get onto that!!!! Cant i just move system tuner back to /system and walla?? Im not totally sure what adb is or how to get in it im on mb860 and i can use any carrier and im root/stock never flashed before... If that adb thing is like a Linux terminal and i can get to it id jizz myself...
[Android Apps and Games] 3c:
Now, it's very odd as moving System Tuner itself to /system partition should not cause any actual issues whatsoever. Except if device is System RW protected in a very adverse way: Some device protects any RW attempts by rebooting device instantly. In your case it would seem such a protection is in place, but instead of rebooting, it's as if it either corrupts or unmount the /system partition completely!? Anything about that in your device's thread?

Did you look on manufacturer's web site for the original firmware?
[Android Apps and Games] leathan:
I moved system tuner out of /sys

I have been using google to look and checked everywhere... Motto is also the manufacturer so i figured google search would work but the 5-10 links are broken.

---------- Post added at 01:43 PM ---------- Previous post was at 01:39 PM ----------

I have mb860 should i not use google to look for the links? And im really scared to flash... Isnt adb mode like linux can i put it back into /sys?
[Android Apps and Games] leathan:
I downloaded moto drivers for mb860. I installed adb and sdk and plugins. Connected phone onto fastboot... Comuter detected it and said mot single adb interface ready to use. I open command prompt "adb devices"

Displays: list of devices attached

...

...

Then nothing and i go back to prompt :(( i wanna move system tuner back to /sys

---------- Post added at 03:37 PM ---------- Previous post was at 03:25 PM ----------

I installed fastboot.exe into the sdk platforms-tools folder and now when i run fastboot devices i get a match!!!!! Its reading out an id for my phone i think... But the fastboot commands are not like the adb ones. It will let me flash the partitions boot, recovery, system, userdata.

Seems perfect! I need a file to flash though! Or easier a way to connect with adb and open a shell.

Again im stuck on both fronts :((((((((( going insane!

EDIT: in command prompt "adb devices" gives no match when phone is in "fastboot protocol"

But "fastboot devices" does.

And on a side note when i plug my phone in to pc in "early usb enumeration" it makes motohelper program load on my pc but it complain that my phone is not in PC Mode... I think its in usb mass storage mode and usb debugging is checked also.... EDIT2: i checked in my pc when i plug it in it comes up as usb mass storage. And i think i can force it into pc mode from my pc.. But idk how :(

And i have to go to usb device manager to see it pop up, it doesnt actually let me see the file system like usual.(and it does say device is working properly lol)...me and my pc have different definitions of working, and properly haha

FINALEDIT: every mode i can chose from on my phone gives me different behavior from my computer o.O
[Android Apps and Games] leathan:
I ran command "fastboot oem unlock" in command prompt when connected to fastbootmode. Apparantly my bootloader is unlocked.

So i proceeded to flashing cwm recovery.

I entered "fastboot flash recovery (myfilepathhere).img"

I got "error: cant load (myfilepathhere).img"

I was so so upset :/ if i can just get cwm flashed onto my recovery partition i can fix everything... Or if i can get in adb mode and move system tuner back... Or if i can get an entire sbf file and flash it...... I cant find anything or make anything work :( grrrrrr

---------- Post added at 06:01 PM ---------- Previous post was at 05:24 PM ----------

And i sucessfully flashed cwm.img to recovery partition but.... I got the following messages on my phone as it happened.

I got " flashing partition recovery"

Flashig mbr to device (WHATS MBR??)

Then i get red letters " failed to process command flash:recovery error(0x180002)"

Computer says finished so i unplugging :/...
[Android Apps and Games] ~kyle:
leathan, the issues you're describing are with your device. You need to go to your device's specific forum and read the FAQs. You're not going to get device specific answers in an app thread.

http://xdaforums.com/forumdisplay.php?f=1070
[Android Apps and Games] leathan:
Ok ill stop posting here.??. My device specific forums are telling me to come here lol.. All 2 of them.. Also i thought since moving this app out of /sys caused the problem this was a good place to post. Especially since the most important thing to me is understanding WHAT HAPPENED. Secondly i dont want it to happen to OTHER IDIOTS and thirdly i thought i could get help.

The issues maybe with my device

But the issues were CAUSED by moving system tuner out of /sys

I still want to know WHAT HAPPENED.

This thread should be the spot. Ive looked at over 2,000 threads and 20 forums.

My honest guess is that this wont just happen to my device. Im quite sure of this, so to others out there... If you read this... DONT MOVE SYSTEM TUNER OUT OF /SYS if its there... Read the warnings and dont do it lol...

48 hrs no sleep allows you to read 2,000 threads.... and to finish it off before i sleep im just gunna force push on entire sbf that im not even sure will work since i have an updated bl and its locked. In fact an quite sure it will perma brick it. But w.e im in china its as good as bricked here... Ill buy new one when i get back to argentina.
[Android Apps and Games] ~kyle:
You said you have an MB860 which is an Atrix 4G. I just searched all of your posts and I cannot find a single one that you've made in the Atrix 4G forum. When you ask questions about recovery, fastboot, moto drivers, etc., these are questions that are specific to your device and have nothing to do with the app regardless of how you came to be in this predicament. I gave you the link to the Q&A section of the Atrix 4G (MB860) forum, you need to read through those threads.

I'm trying to help you.
[Android Apps and Games] leathan:
Misunderstood you, i thought you meant other forums as in not xda, of which im in atrix 4g forums.

Sorry i will go look for that area in xda and post my problem which I've boiled down tel. Sbf file or adb access.

Every link on this entire site about a sbf file for my phone is broken, and the last 3 are virus's.

I can delete the virus easy its a bing search engine... But i only clicked the .exe "downloader" because it was from xda which i actually have been with 4 years lol...
[Android Apps and Games] leathan:
To any who may read this. The problem was caused by moving sys tune out of sys. It unmounted my /system and simple remounting it did not work. /data was left untouched. Thats important to point out. I was eventually able to access adb and fix it.

I found that the bootloader being locked was preventing me from using fastboot to flash the recovery partition.

So what should be learned DONT MOVE SYSTEM TUNER OUT OF /system if you have it there.. It may not cause problems but it 100% MIGHT ;)

Also if you think your phones bricked but can get into recovery mode. You need to unlock your bootloader (if locked) if your an international user you need a specific and DIFFERENT sbf file, if thats how your unlocking it.
[Android Apps and Games] 3c:
Very unlikely to be the root cause, as the app never unmount the /system partition. What it does is this:

mount -o remount,rw /system to remount RW

<modify_files>

mount -o remount,ro /system

And it does that for various features, such as the build.prop editor, or when moving apps to or from /system partition

What this suggests is that your /system partition got corrupted before.
[Android Apps and Games] leathan:
Well considering i use this app to mutilate my operating system thats probobly true, but its also possible remounting /system and moving it out of /system caused the corruption.

I did it again on a clean slate and it worked. Which means that maybe the current settings (i had about 8 apps frozen) contributed.

I did it again after minimal mutilation, and it messed up again. (Which more strongly suggests that)

Thats when i decided to post my warning here, because its clearly a problem that is not INTRINSIC to me.

And its avoidable, by the user AND (and idgaf what you think) by the developer. In fact i wouldnt stop untill i found the cause if i made it because most noobs use this thing to mutilate their phones. And wow is it good at that, im learning so much because i wants to understand every feature and wow theres alot O.o

The "warning" will always be ignored by noobs (considering they pop up always... (Even during perfectly ok mutilations))

Edit: i also had like 45 activities blocked the first time and like 10 activities blocked the second.

End story: moving system tuner specifically OUT of /system CAN cause your device to not boot properly.
[Android Apps and Games] 3c:
Android is a Linux system, so getting corruption on /system folder can only be caused by an unstable Kernel/ROM. Doing a few cp in a shell or remounting is pretty safe in the first place. So again the app has nothing to do with this issue. Obviously your ROM/Kernel is able to corrupt your /system partition far too easily, and this issue would happen with any apps trying to copy/move files to/from /system partition.

Any warning (and there is one already) would be ignored by noob and experts alike anyway. And in this instance, the warning would be something like: "if your kernel/ROM is unstable you can expect a lot of issues running any rooted apps, so don't root your device if you don't know what you're doing, and make sure your device is not /system RW protected in any ways (espectially on stock kernel/ROM".

EDIT: I would be very worried of using a kernel/ROM which /system partition get corrupted so easily and would definitely change it for a more stable version.
[Android Apps and Games] andrei80:
Hi! Thank you for a great app!

Can you please tell me how I can use the app to diagnose a freeze/reboot problem of my phone? I have the feeling I can do this using your app...

Thank you!
[Android Apps and Games] 3c:
App discontinued - Sorry

APP DISCONTINUED - PLEASE CHECK ANDROID TUNER or ANDROID TUNER FREE and on XDA thread.

ANDROID TUNER IS NOT A REPLACEMENT APP BUT AN INTEGRATION OF ALL MY OTHER APPS

I'm trying to extend this migration offer which consisted in refunding old apps to users migrating to Android Tuner, unfortunately refunds policy on Play Store have changed since December 20th

The main reasons why the app is discontinued are:

- Lack of user support, eg low sales, high demands.

- Too many requests for features available in my other apps

- New features requiring new permissions always resulted in lots of bad ratings = lower sales, lower support

- New features requiring code UI changes always resulted in lots of bad ratings = lower sales, lower support

More information about this can be found here

I'm always listening to user requests and comments, but I can't maintain an app considering the above conditions. It's not worth it and will not benefit anyone. Over the past 2 years I received a recurring request to build an integrated app to include Battery Monitor Widget, System Tuner and Multi Toggle Widget. Android Tuner is the result of this.

Thanks to all users for your support and understanding.
[Android Apps and Games] zman519:
I can understand why your doing this, but I'm still running this app on 4.4.2 and I still like it:)

Sent from a thing running on Electrons
[Android Apps and Games] zeppelinrox:
Hey hey.

I understand where you're coming from.

I'm a long time user and really love your initial process monitor widget.

Did you see page 1? lol

I had suggested this ages ago but maybe worth considering:

What do you think about offering a "Process Monitor Widget - Classic"?

It can even serve as a way to open the door to users with Android Tuner.

Say for example somebody chooses a pay option from PMW classic app, the user gets a message to consider buying Android Tuner.

Not to mention the fact that some people just loved the simple beauty of what you started with :p

Pretty Please? :D

My opinion is that PMW is too great a tool to not retain it as a standalone app and to only have it hidden within an all purpose app doesn't do it justice.

PMW - Best. LOVED IT.

ST - Great. But love it less than PMW.

AT - Haven't got around to messing with it much :p
[Android Apps and Games] zman519:
I agree

I mainly just use the widget and the Process Monitor.

I use CM / AOSP based ROMs and there's a lot of stuff built into the ROMs themselves.

Sent from a thing running on Electrons
[Android Apps and Games] 3c:
Glad you still enjoy the app, it will always be available for download on Play Store, even if I might never update it again.

PMW was indeed a nice app that did its job well, with a clear scope. Android Tuner could well provide the ground for building dedicated apps such as a PMW-classic as you suggest, and updating existing apps.

Building multiple apps from the same source code however presents many problems: Java does not offer the tools to do that easily like C/C++ does, and it's a lot of work, increases testing and potentially creating more bugs, just to name a few. So it will happen only if I can manage to create different apps from the same source code "easily".

PMW was indeed much more appreciated than ST ever was. AT also received for the past year much better feedback than ST ever did. I just hope users will understand I'm not trying to increase my profits but actually provide a better product/service. To increase my profits I would have created a new app for network monitoring and a few more dedicated apps.

Not sure why, but one thing I noticed is that I can change the UI or add new permissions in AT, users don't complain at all, whereas in ST I couldn't change anything without lots of complaints and bad reviews, so exit the sms/mms backups, exit the extra toggle widgets, exit the CPU profiles, exit a new UI for the task manager, and most features that were requested!

One thing I know for sure is that I lost a lot of users and their trust in the process.