yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Shryvone21:
Newts Roms@/ $ su

Newts Roms@/ # mount

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

none /dev/timer_group cgroup rw,relatime,timer_slack 0 0

/dev/block/mmcblk0p33 /system ext4 rw,relatime,data=ordered 0 0

/dev/block/mmcblk0p35 /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0

/dev/block/mmcblk0p34 /cache ext4 rw,nosuid,nodev,noatime,data=ordered 0 0

/dev/block/mmcblk0p26 /devlog ext4 rw,nosuid,nodev,noatime 0 0

/dev/block/mmcblk0p17 /firmware_radio vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

/dev/block/mmcblk0p18 /firmware_q6 vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

/dev/block/mmcblk0p19 /firmware_wcnss vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0

htcfs /data/htcfs fuse.htcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0

DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0

/dev/block/dm-0 /mnt/asec/com.lcis.seeder-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0

/dev/block/vold/179:36 /storage/sdcard0 vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0

/dev/block/vold/179:36 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0

tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

/dev/block/dm-1 /mnt/asec/com.candyrufusgames.survivalcraft-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0

Newts Roms@/ #

There you go:).
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll make a remount for it soon :)
[Android Software/Hacking General [Developers Only]] Shryvone21:
Yay:)
[Android Software/Hacking General [Developers Only]] spambayes:
Hi Pika,

The improved zipalign is working but I think it's skipping some apk's with errors. Is it possible to resolve this instead of skipping them?

I'm seeing a number of log entries similar to the following:

Now aligning: /system/app/GoogleServicesFramework.apk
/etc/bolt_scripts/S70darky_zipalign[49]: rc: not found
/etc/bolt_scripts/S70darky_zipalign[49]: [: 0: unexpected operator/operand
ZipAligning GoogleServicesFramework.apk Failed (rc: )

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Unfortunately, the zipalign doesn't handle errors well. It can detect errors but cannot correct them. Correcting them would be in the hands of the developer him/herself.
[Android Software/Hacking General [Developers Only]] Fenvarien:
Hey Pika, which remount script do you recommend for my Galaxy Nexus with CM 10.1?

GNex with franco.Kernel r361 / CM10.1 / Thunderbolt 2.9.2
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added HTC One S/XL/Sensation 4G remount script. Use the remountHTC_Alt.

Changelog:

1/6/2013

- Added HTC One S/XL/Sensation 4G remount script. Use remountHTC_Alt.
[Android Software/Hacking General [Developers Only]] pikachu01:
I faintly remember answering this question before, but I forgot which remount was it.

Can I get an output of:

mount

from Terminal Emulator?
[Android Software/Hacking General [Developers Only]] Fenvarien:
Yeah, I know this was somehow asked and answered before but I can't find the related post currently.

The Terminal Emulator FCs with the current CM 10.1 builds...

I use now the CM-MIUI-EXT4 remount via init.d.

GNex with franco.Kernel r361 / CM10.1 / Thunderbolt 2.9.2
[Android Software/Hacking General [Developers Only]] adame09:
Will this also work for the HTC sensation 4g??

u0_a86@android:/ $ su
u0_a86@android:/ # mount
rootfs / rootfs ro,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,noatime,mode=755 0 0
devpts /dev/pts devpts rw,noatime,mode=600 0 0
proc /proc proc rw,noatime 0 0
sysfs /sys sysfs rw,noatime 0 0
/dev/block/mmcblk0p17 /vendor/firmware/misc vfat ro,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p19 /vendor/firmware/adsp vfat ro,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,noatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p22 /system ext4 ro,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p23 /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p24 /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p28 /devlog ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/dm-0 /mnt/asec/com.jabbawalkee.theme.mattedbluesics-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/dm-2 /mnt/asec/com.quoord.tapatalkpro.activity-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/dm-3 /mnt/asec/ext.recovery.control-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/dm-4 /mnt/asec/com.teslacoilsw.launcher.prime-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/dm-5 /mnt/asec/com.levelup.beautifulwidgets-2 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/dev/block/vold/179:65 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
u0_a86@android:/ #
[Android Software/Hacking General [Developers Only]] spambayes:
Thanks, I see. The above seems to be a common error. Could you briefly explain what it means?

Thanks.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] Gassity:
just installed the 2.9.2 version. Would there be any improvements with the new version for me?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use the ConnectBot and use it in local mode. It should work :)

Ah right. I forgot to mention that HTC Sensation 4G also uses remountHTC_Alt. Made the edits in the first post. Sorry about that.

Might be that the APK itself cannot be extracted using normal means (compiled using another way?). Not sure. I need to dig into zipalign's code to be sure.

If you're not using any HTC phones and/or remount script, you don't need to update. :)
[Android Software/Hacking General [Developers Only]] hoholee12:
hey pikachu, I tried your screenstate scailing script yesterday,

i run it in smanager and it does nothing but the script process just ends.

Is that normal? I have no idea whats going on.

No offences. just curious;)

I'm the real Lag Doctor hmph.:cool:
[Android Software/Hacking General [Developers Only]] pikachu01:
Do you have busybox installed correctly?

You should be able to see dirty_ratio/dirty_background_ratio being set the first time you run it, then you can turn off your screen then on again to see it change.

Edit: If I have the time, would you want to hear some constructive feedback on your script?

I saw your script thread and find your description of it distasteful enough to warrant me to spend some time to talk to you about some facts.
[Android Software/Hacking General [Developers Only]] pikachu01:
Some things I'm working on:

- Easier uninstallation of ThunderBolt!

- Easier to understand first/second post

I appreciate any comments or feedback regarding item 2.
[Android Software/Hacking General [Developers Only]] hoholee12:
Yes ofcourse i have installed busybox correctly why would i have been able to make a script when i dont have busybox lol

Okay:)

does that mean this process is going under background then?

Not smanager?

Im confused:p

I'm the real Lag Doctor hmph.:cool:
[Android Software/Hacking General [Developers Only]] pikachu01:
Sometimes Script Manager doesn't detect your busybox installation correctly. You have to dig into the settings and provide the $PATH for it.

Did you see the edit in my previous post?
[Android Software/Hacking General [Developers Only]] hoholee12:
..mmkay,

lets hear it

from a recognized developer i might learn sth new:)

I'm the real Lag Doctor hmph.:cool:
[Android Software/Hacking General [Developers Only]] pikachu01:
For starters, please remove:

I saw your scripts and 99% of it comes from somewhere in XDA. I'm pretty sure of it. If it's not from ThunderBolt! itself, it might be some of its derivative or ThunderBolt!'s ancestor somewhere.

Claiming 99% of the script as original is very demeaning to people who pour in time to read source codes and experiment on values unless you can claim which particular line of source code you read from that provided you the clue to tune something in a particular way.

I'll spend more time poring over your values in the next few days though as I need to work right now. Sigh, more work :(
[Android Software/Hacking General [Developers Only]] hoholee12:
Yup youre right about 1/3.

I ve got some tweaks from internet and modified them for better performance.

But it isnt from xda.

Search gentoo wikia 33%

the rest is my idea:)

edit: any recommendations for the tweaks?

I'm the real Lag Doctor hmph.:cool:
[Android Software/Hacking General [Developers Only]] pikachu01:
And you think Gentoo Wikia gets the scripts from where?

As for the recommendation for your tweaks, your dirty_background_ratio and dirty_ratio being odd values is bound to cause some memory commit issues.

Manually dropping caches as oppose to having the pdflush handle the GC is a bad idea.
[Android Software/Hacking General [Developers Only]] hoholee12:
Well do you mean it came from xda?

btw: what does the vm.overcommit_ratio do?

any good suggestions about it then please?:(

I'm the real Lag Doctor hmph.:cool:
[Android Software/Hacking General [Developers Only]] ernestnwanu:
I flashed the latest one (that has the remount script for the One S) together with the screenstate scaling addon, but it got stuck on bootanimation. Had to reflash my rom. Any ideas?
[Android Software/Hacking General [Developers Only]] zerorated24:
maybe yu are using cm based rom. screenstate scaling does not work on some cm based roms
[Android Software/Hacking General [Developers Only]] vananuan:
My device is LG - p925

I'm using rom : XBSA ICS V5 With Team ACiD Audio Engine

Kernel : PH85 P920-SU760 KERNEL - v1.1.6

recovery : twtp

Can i Flash ThunderBolt! ?
[Android Software/Hacking General [Developers Only]] zerorated24:
YES! My friend has LG optimus one and it worked for him.
[Android Software/Hacking General [Developers Only]] ernestnwanu:
But in OP it says that screen state scaling is now compatible with cm10. (init.d script)
[Android Software/Hacking General [Developers Only]] zerorated24:
Not all. I can attest to that. But there is no harm in trying. Just make a backup first
[Android Software/Hacking General [Developers Only]] Kurre:
For the future needs, I'd suggest flashing a custom recovery with a file explorer feature (like TWRP) or having it as a cwm zip package (made by aroma developer iirc?) for a cwm recovery. In that way you're able to get out of the bootloop by deleting problematic files via recovery file explorer ;)

Sent from my slimbeaned GNex :)
[Android Software/Hacking General [Developers Only]] azoller1:
these tweaks work very well on the nexus 7, and is this the screen_state scaling necessary with the tweaks added? does it help much with battery at all?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, I can attest to some parts of your scripts were indeed copied from XDA (with some remnants belonging to ThunderBolt!)

About vm.overcommit_ratio, it's dependent on how much you're willing to risk triggering the OOM killer. However, since the LMK in Android is set to kill apps incrementally, the problem with an out of controller OOM killer is much less discussed. Having it at 50 is definitely not the most optimized value. This however is very dependent on the apps Android use as well as how much memory is allocated per foreground app. With Android setting a hard limit of 128M for the heap_size, I think you could play around with the setting a bit to make apps less prone to the OOM.

Note that you would need to set overcommit_memory to 2 to use overcommit_ratio.

I'll dig up the code to see what it actually does before commenting more on it. I remember tweaking the overcommit_memory a bit and some things went haywire. If I remember correctly, the OOM killer went nuts.

Do you still want me to continue offering constructive criticism on your script?

Some AOSP based ROMs are still incompatible with the screenstate_scaling due to its older problem of didle code. I'm not sure which of the ones are incompatible, though I know CM10.1 is compatible.

It helps with the battery as it tries to scale the frequency less when the screen is off.
[Android Software/Hacking General [Developers Only]] hoholee12:
Linux desktop distro has a tweak used from mobile?:confused:

I dont see anywhere in xda:p

which tweaks belongs to thunderbolt?

Tell me and ill give u a credit:)

I love potatoes:D
[Android Software/Hacking General [Developers Only]] ride.far.away:
Thanks, scripts are working great!
[Android Software/Hacking General [Developers Only]] pikachu01:
Linux has been used for mobile devices even before Android existed. :/

It's not the tweak values, but the format of the tweaks.

The

if [ -e *]

fi

I was the one that started using it.

The busybox mount /system was devised by a member here which I credited him.

The busybox remount relatime came from ThunderBolt!.

I don't need credits. As long as you recognize that your so called script isn't >90% your own creation and be humble on your creation based on other people's work, I'm fine with it.

Good to know :) Let me know if you have any issues with it.
[Android Software/Hacking General [Developers Only]] hoholee12:
If statements ?

So its like youre saying you made the linux kernel?

If statement was used way back even before this forum was created lol:p

Ill give you credits for the remount btw thanks.

I love sweet potatoes:D
[Android Software/Hacking General [Developers Only]] pikachu01:
I said, I was the one that started using it to validate whether or not the sysfs interfaces were valid.

I don't need credits. I only need you to be humble on whatever scripts that you took from the community. It's not your own tweaks, it's what you kanged from whoever devised it first. Know that and don't take other people's hard work for granted.
[Android Software/Hacking General [Developers Only]] hoholee12:
Okay:)

I love sweet potatoes:D
[Android Software/Hacking General [Developers Only]] sasha4fierce:
i have instaleed script of lenarox than can this install? will i have problems?
[Android Software/Hacking General [Developers Only]] pikachu01:
You will need to remove Lenarox's script in order to install ThunderBolt!.
[Android Software/Hacking General [Developers Only]] sasha4fierce:
can i ask you some stupid questions? :D

1. its is the same script with lenarox or?

2. this is same with sql super launcher script?

3. can you answer me theese^ questions? :D
[Android Software/Hacking General [Developers Only]] pikachu01:
It's not the same script as Lenarox's. His script prefers to circumvent the original virtual memory pdflush and prefer's to run a script in the background to drop the caches (only page caches though) that not only drains the battery, it doesn't selectively flush caches (old dirty memory should be freed up first e.g. LRU mechanism that the pdflush is accustomed to).

In his latest script, he attaches minfree/adj tweaks which creates a mismatch between the Android LMK and the Linux LMK further aggravating the problem.

Lenarox's script also doesn't have some parts of ThunderBolt! like remount, sqlite optimization, zipalign, governor scaling with screenstate_scaling, VM scaling and some other optimizations that you can read about in the first post.

About the Super Launcher script, it's basically Supercharger tweak with sqlite optimization.

Edit: Oh wait, it's patched into services.jar. However, with the patched services.jar, there are some problems that makes the LMK half-baked. If you want, you can refer to the Supercharger thread about it. I've explained in detail that includes some source code reference.

The link is here:

Starting from this post:

http://xdaforums.com/showpost.php?p=35589236&postcount=16741

Till this post:

http://xdaforums.com/showpost.php?p=35900350&postcount=16940
[Android Software/Hacking General [Developers Only]] sasha4fierce:
thnx a lot, and that mean i will dont have lag into games with your script?

sry for my questions...

you are master!
[Android Software/Hacking General [Developers Only]] pikachu01:
Try it and let me know :)

I don't claim you won't have lags, but I do claim that you'll have better performance and battery life.
[Android Software/Hacking General [Developers Only]] sasha4fierce:
i know thanks is a small word for your job but i will try to donate you soon as i can...
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know if you have any issues with ThunderBolt! :)
[Android Software/Hacking General [Developers Only]] Custodian:
Hey pikachu!

Which zip setup would you recommend for the galaxy s III with 2gig memory?! And where can I find this super launcher I'm hearing about

Sent from my SPH-L710 using Xparent SkyBlue Tapatalk 2
[Android Software/Hacking General [Developers Only]] krazeecracker:
I'm assuming this doesn't play nicely with v6 supercharger right? And looking at this, combining it with seeder should be all the in it tweaks needed for a smooth experience correct? Because the way my rom is setup now it has a bunch of random tweaks combined into one and the phone is sort of sluggish. I feel like a lot are conflicting and wondering if the latter is a good combo.

---------- Post added at 11:02 PM ---------- Previous post was at 10:53 PM ----------

Currently in my rom. Any interference ya think?

-Many build.prop tweaks for better performance

-Pimp My ROM tweaks

-Seeder Script

-Velocity Tweaks

-AC!D Audio

-xLoud

-KingBeatz

-Many other init.d tweaks

-Bravia Engine
[Android Software/Hacking General [Developers Only]] pikachu01:
You're using Samsung stock JB right?

You can try the main CWM and screenstate_scaling CWM zips. Let me know if you encounter any issues.

About super launcher, it's a integrated mod for AOSP ROMs. I don't recommend it though as it messes up the LMK system in ICS/JB AOSP. Read a few posts earlier with links that I've posted for more info.

You should remove the Pimp My ROM tweaks as well as the Seeder script, Velocity Tweaks and init.tweaks. Not sure about the Audio/Video tweaks as I haven't looked at them yet.

Try removing all of them and install ThunderBolt! by itself and see its performance.

About the entropy seeder, I think it's scaling the frequency much more hence the improved reactivity. You'll feel the same thing just by tweaking the CPU governor. Otherwise it's just wasting your battery.
[Android Software/Hacking General [Developers Only]] free2choose:
Suggest me

Which script you prefer me to use in galaxy ace GB,ISC,JB rom....... Please suggest me script with maximum overdrive plus maximum multitasking plus maximum free RAM.... I have also used many script but not satisfied.... Please suggest me also would love to donate if some one can help....
[Android Software/Hacking General [Developers Only]] pikachu01:
For GB:

main CWM

screenstate_scaling

60,80,100MB LMK

libsqlite

For ICS/JB (AOSP):

main CWM

screenstate_scaling

Make sure to read the first post on the instructions.
[Android Software/Hacking General [Developers Only]] Tomislav Veličanstveni:
Is the Thunderbolt compatible with v6 Supercharger?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's compatible as long as you either install the LMK addon or V6 Supercharger, not both. You can still install the main CWM, screenstate_scaling.

If you're using ICS/JB AOSP, you are advised not to install the LMK addon or V6 Supercharger. Doing that will make your LMK half-baked where low memory situations won't be handled correctly by the Android system.
[Android Software/Hacking General [Developers Only]] Tomislav Veličanstveni:
Well, I have cm7 port, 2.3.7 and V6 tweaks, also I have 3G Turbocharger. Just that. I have a backup, will try it :D
[Android Software/Hacking General [Developers Only]] Spinvis:
Hi pikachu,

Quick thing i noticed in the screenstate scaling script, that pegasusq is actually missing in step 1 and 2, but it is included in the rest of the script. How would i go about on to actually enabling pegasusq in step 1 or 2 for example? Manually adding it?

Regards,

Spin
[Android Software/Hacking General [Developers Only]] pikachu01:
You just have to put

SLEEP_GOVERNOR="pegasusq";

AWAKE_GOVERNOR="pegasusq";

I must warn you however, that you shouldn't scale the governor type, rather just stick with one governor (which is pegasusq) and let it scale the governor values.

I commented out the governor choice and didn't update them as they aren't in use anymore.

I should delete them off with the next update.
[Android Software/Hacking General [Developers Only]] leolawliet:
Everything works smoothly on my LG myTouch 4G. It works nicely with v6supercharger and the patched service.jar, I was wondering if I could run both at once, and apparently you can. Thanks for the scripts! :D
[Android Software/Hacking General [Developers Only]] adekdudut:
Dear OP,

i am a HOX (HTC ONE X) user.. i heard about your tweaks and want to use it on my HOX but not sure which one to choose.. can you help me to guide which one to choose..

also, in your 1st post there is several ways to know whether this tweaks worked or not, is it still valid?? can i check it based on your first post or should i post the mount result to you in order to get to know whether this tweaks work fine in my HOX or not..

thanks for your reply..

____

adekdudut

HOX user
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah you can. However, if you're using ICS/JB AOSP, using V6 Supercharger and patched services.jar is counter-intuitive to the Android LMK. It's going to cause problems when faced in low memory situations. I've had a discussion with Zep about it here (which he got pissed when I showed him evidence through source code):

http://xdaforums.com/showpost.php?p=35589236&postcount=16741

till this post:

http://xdaforums.com/showpost.php?p=35900350&postcount=16940