yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] milojoseph:
that the spirit...... lml. Lets do this save the old files for the (stuck in the past gingerbread users) and help mainly 4.3 and up. Do that take a year off again because your scripts was just perfect no bugs. Plus crossbreader is discontinued and .. lml you and other 4 developers need you.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll probably use the same files for the others. I'll see what I can do to provide support to almost every version I can.
[Android Software/Hacking General [Developers Only]] milojoseph:
Yay yay.. we must revive your good name. Your a good developer look how many people you influence who used your script.. Maybe 2015 if things work out your own app ;) but im just talking to much now.
[Android Software/Hacking General [Developers Only]] pikachu01:
Haha, my full time work is consuming my time and focus right now. Even starting up my notepad to edit ThunderBolt! distracts me now (It's a Saturday, and I'm still working here with a few minutes of sneak peak at XDA). :P
[Android Software/Hacking General [Developers Only]] milojoseph:
yes my small motivation helped :P thanks.
[Android Software/Hacking General [Developers Only]] datvui2211:
Tried installing on cm7 2.3.7

Status 0

Installation aborted

Solution?
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use this remount:

remountCM_MIUI-fullext4ICSJB

Yeah, I'm testing the libsqlite right now. Will release it soon.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try replacing the updater_binary with a CWM zip that is compatible with yours. CM7 is a bit old and it uses an outdated CWM recovery version.

The updater_binary is in the META_INF folder.
[Android Software/Hacking General [Developers Only]] milojoseph:
Ready when you are. Lets charge these legacy phones. And revamp these new ones.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added KK support for sqlite3. Libsqlite addons for Android 4.3 and 4.4 aren't needed. I checked the libsqlite source code and they added support for skipping journaling in Android by default.

Changelog:

3/8/2014 (libsqlite addons 3.1.0, screenstate_scaling 3.1, clean uninstall 3.1.0)

- Revamped libsqlite addons to only install libsqlite.so (not libsqlite_jni.so)

- Revamped screenstate_scaling script to become much cleaner and automatically target correct paths

- Revamped clean uninstall to be compatible to current ThunderBolt! versions.

3/3/2014 (3.20)

- Added support to sqlite3 for JB 4.3 and KK 4.4
[Android Software/Hacking General [Developers Only]] Fenvarien:
The new version is working great here with OmniROM on my N4. Thanks for keeping this project up to date! :good: :)

disce aut discede
[Android Software/Hacking General [Developers Only]] a g bell:
Yes working well here to on my n4

velocity beta ROM ;)
[Android Software/Hacking General [Developers Only]] caspboy:
is this better than fly-on?
[Android Software/Hacking General [Developers Only]] a g bell:
Sorry but l don't fly-on?
[Android Software/Hacking General [Developers Only]] pikachu01:
Great. Let me know if you run into any issues.

Let me take a look at it and I can comment on it.
[Android Software/Hacking General [Developers Only]] pikachu01:
Fly-On Mod is basically a modified ThunderBolt! tweak with rngd (which I've mentioned that it doesn't really boost performance at all) and minfree tweak settings (which I've also mentioned that in ICS stock till KK, it is calculated automatically by the Android framework).

You can take a look at the scripts and compare what settings was modified from ThunderBolt! It's governor tweaks are a little more aggressive (a little more performance at the cost of a little more battery life)
[Android Software/Hacking General [Developers Only]] milojoseph:
Yeah most tweaks are based of yours.... if you check the "thank/credit" section of there op's
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah I know :)

Great to see the community response of my tweaks.
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
for me its great to see this work is living till today,its one of the best tweaks ever and i think 80-90% of the new tweaks are based on it or have parts from it.aniway,great work.greeeeetz
[Android Software/Hacking General [Developers Only]] kelvinvalencio:
Is this works on mt6589 device?
[Android Software/Hacking General [Developers Only]] pikachu01:
Hehe, I'll update it as long as there is demand for it.

Yeah. If it supports root and the minimum requirements on the first post, it should work.
[Android Software/Hacking General [Developers Only]] marko94:
[MENTION=3599329]pikachu01[/MENTION]

Great work..I'll try this ..

But I don't know which options can I use..

I use this ROM CM 11 , In instructions, when launch /etc/bolt_scripts/remount[device] (e.g. remounti9000), which options can I use, and which one with /etc/bolt_scripts/CFS/ ?

Thanks :)
[Android Software/Hacking General [Developers Only]] ivcha90:
TWRP is not supported? Coz i get bootloop after install, once i installed 3.1 and it boot, but after flash addon i get bootloop, now main pack couses bootloop, any solution?
[Android Software/Hacking General [Developers Only]] Fenvarien:
Here it works perfect with TWRP. Which addon did you flash on what version of Android?

disce aut discede
[Android Software/Hacking General [Developers Only]] ivcha90:
libsqlite old one, no this new and screenstate...

I will try to install main pack again.

edit: now working main ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you post the output of

mount

in Terminal Emulator? I will check and let you know which remount script to run.

Sorry, which CWM zip did you install that causes the bootloop?
[Android Software/Hacking General [Developers Only]] marko94:
here in attachmenst :)
[Android Software/Hacking General [Developers Only]] ivcha90:
[/CODE]

This file ThunderBolt-CWM libsqlite 4.2 JB addon v3.1.0.zip

I have Alcatel Idol MIni 6012x, 4.2.2 andorid, thanks :)

edit: and this is my output, which one to use?
[Android Software/Hacking General [Developers Only]] pemell:
Hi [MENTION=3599329]pikachu01[/MENTION]

Thanks for your tweak package.

Which remount option should I use? And which S98CFS?

This is my mount output:

root@t0lte:/ # mount
rootfs / rootfs ro,noatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,noatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,noatime,mode=600 0 0
proc /proc proc rw,noatime 0 0
sysfs /sys sysfs rw,seclabel,noatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,noatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,noatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,noatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,noatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p13 /system ext4 ro,seclabel,noatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=writeback 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=writeback 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,context=u:object_r:radio_efs_file:s0,noatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p16 /data ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,noatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:49 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

Thanks in advance,

pemell
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll need to create new mounts for them. I'll probably create a universal one so that people can just use one. :)
[Android Software/Hacking General [Developers Only]] ivcha90:
Ok, but whats about libsqlite for 4.2? And i move CFS from bolt_script to init.d reboot and i get lag after some time, mabybe few hours, to try change cfs or something else?
[Android Software/Hacking General [Developers Only]] Vtrendzzy:
I need a guidance here. I've 512mb ram. Stock unofficial JB. Experimental kernel. I mentioned kernel because it's one of its kind for my device. It already has some tweaks. I don't know any of them in detail. But i just wanna know whether this tweak will make a bigger difference or a little bit?

I do face ram management issues sometimes.
[Android Software/Hacking General [Developers Only]] pikachu01:
About the libsqlite 4.2, I might have to compile just for your ROM. Can you give your device ROM info as well?

It has a few CFS setting, you can try them all and see which one suits your needs. :)

It depends on what tweaks are already in your phone. RAM management will be an issue with JB as well as 512MB RAM. You're nearly at the end of what you can get from your phone. Kit Kat is expected to solve some of the RAM issues though.
[Android Software/Hacking General [Developers Only]] wertzPH:
thanks for this scripts here's my mount output:

rootfs / rootfs ro,noatime,nodiratime 0 0

tmpfs /dev tmpfs rw,nosuid,noatime,nodiratime,mode=755 0 0

devpts /dev/pts devpts rw,noatime,nodiratime,mode=600 0 0

proc /proc proc rw,noatime,nodiratime 0 0

sysfs /sys sysfs rw,noatime,nodiratime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

tmpfs /mnt/secure tmpfs rw,noatime,nodiratime,mode=700 0 0

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

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

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

/emmc@android /system ext4 rw,noatime,nodiratime,noauto_da_alloc,commit=1 0 0

/emmc@usrdata /data ext4 rw,noatime,nodiratime,discard,noauto_da_alloc 0 0

/emmc@cache /cache ext4 rw,nosuid,nodev,noatime,nodiratime,discard,noauto_da_alloc,data=ordered 0 0

emmc@test /mnt/test ext4 rw,noatime,nodiratime,nodelalloc,noauto_da_alloc,commit=1 0 0

/emmc@protect_f /protect_f ext4 rw,noatime,nodiratime,nodelalloc,noauto_da_alloc,commit=1 0 0

/emmc@protect_s /protect_s ext4 rw,noatime,nodiratime,nodelalloc,noauto_da_alloc,commit=1 0 0

/dev/block/loop0 /mnt/cd-rom iso9660 ro,noatime,nodiratime 0 0

/dev/block/mmcblk1p2 /data/sdext2 ext4 rw,noatime,nodiratime 0 0

/dev/block/vold/179:8 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,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:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,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:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,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,noatime,nodiratime,size=0k,mode=000 0 0

/dev/block/dm-0 /mnt/asec/se.nena.nenamark2-1 ext4 rw,dirsync,noatime,nodiratime 0 0

none /sys/kernel/debug debugfs rw,noatime,nodiratime 0 0

which mount script can i use? thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll make a universal mount for the devices I've looked at soon :)
[Android Software/Hacking General [Developers Only]] Vtrendzzy:
I read something about ICS tweaks. They're not working for JB. Especially ram tweaks. Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, from JB onwards, RAM/LMK/minfree is managed by the Android framework and it is calculated on the fly based on how much RAM you have. However, the JB framework is also much heavier than ICS (with added support to a bunch of new APIs). Hence, as much as you can benefit from the on-the-fly RAM management, it's not a silver bullet and you're still limited by the amount of RAM as well as the RAM technology that your phone has.
[Android Software/Hacking General [Developers Only]] wertzPH:
regarding lmk in init.d, i knew setting dont stick even with patched services.jar. but i just reload the lmk script with script manager after boot, does it mean its not working as it should even if minfree values now updated after running with script manager? i made different implementations for lmk, even initialized call it in init.rc. minfree is updated but does this mean we cant control how lmk values are used in really android?
[Android Software/Hacking General [Developers Only]] pikachu01:
There are two parts of LMK in Android. The kernel as well as the Android framework have different implementations, but they work in tandem. When you load up the init.d script, it just changes the values of the kernel LMK.

The patched services.jar doesn't work well as it changes some settings that messes up the calculation of ADJ and MEM. Hence, even if the values between kernel and Android LMK are in sync, something in it is inherently wrong. (this is a whole different can of worms, it's all in the "other" thread where I vehemently tried to get my point across.)
[Android Software/Hacking General [Developers Only]] Vtrendzzy:
Does that also mean using xbooster has no effect on ram?

You've actually given me a clearer idea. Now I'm thinking of flashing an ICS rom. With gcm and greenify I'll save as much ram i want. Plus with your tweaks i may get some more performance and battery life.
[Android Software/Hacking General [Developers Only]] ivcha90:
yeah, i have Alcatel Idol Mini 6012x :) main cfs work perfect for my :). only in antutu i dont get stable score for 3d it goes from 2500-3400, i dont know how to make stable gpu performance, do u have any suggestions? thanks ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, to get some more RAM, you might have to regress to an older ROM. The only bad thing about it, is that you don't get all the fancy new things you will get in JB (as well as some framework + kernel fixes/optimizations they've done in JB)

I don't know much about GPU optimizations. They're a whole different ballgame and different tweaks are needed for different GPUs.

As for the Alcatel libsqlite, I can't offer any help there as there is no Cyanogenmod repo for it (I usually compile it based on CM's repo). To get the necessary port would require a significant amount of time which I don't have right now. Sorry.
[Android Software/Hacking General [Developers Only]] ivcha90:
Ok, i understand, anyway thanks for interesting to help :)
[Android Software/Hacking General [Developers Only]] Men_in_black007:
Hello Sir..

Thanks For Your Work..

I Want To Ask Which Files I Have To Copy In KK Rom So That It Can Work???
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM and the screenstate_scaling script.
[Android Software/Hacking General [Developers Only]] Men_in_black007:
I Downloaded Your CWM Zip File..

I Want To Know What All Files I Have To Copy In ROM Zip File As When I Open CWM Zip File There Are 4-5 Folders..
[Android Software/Hacking General [Developers Only]] pikachu01:
It's in the /system folder. You should at best install it with CWM as it handles all the permissions automatically.
[Android Software/Hacking General [Developers Only]] pemell:
Hi [MENTION=3599329]pikachu01[/MENTION]

Regarding a universal remount and S98CFS script, can I help in some way? You need some testing?

Thanks

pemell
[Android Software/Hacking General [Developers Only]] pikachu01:
I just need time :)

I'll probably do it in the weekends.

Thanks for the offer!
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Pickachu! Good to see you back at it man.

The newest script is running smooth on my Note ll!

Keep building.

:thumbup:
[Android Software/Hacking General [Developers Only]] toryonway:
[MENTION=3599329]pikachu01[/MENTION]

My Galaxy S4 9500 KitKat 4.4.2 Omega V.19 Perseus Kernel Alpha18

can't install

set_perm : some changes failed (Status 7)
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you upload your /cache/recovery/* files here. I'll take a look.

Thanks.
[Android Software/Hacking General [Developers Only]] toryonway:
OK i will upload for you
[Android Software/Hacking General [Developers Only]] sharp87:
........

To avoid this error u have to remove some "set permission lines in updater script" assigned for files which are not existed in zip.
[Android Software/Hacking General [Developers Only]] GæxD:
Thanks! This mod is awesome!!
[Android Software/Hacking General [Developers Only]] pikachu01:
Umm, please don't provide misleading answers if you don't know what's going on :)

ifelse(run_program("/system/bin/sh", "-c", "test -f /system/xbin/sqlite3") == 0, ui_print("sqlite3 exists"),ifelse(getprop("ro.build.version.release") == "4.1" || getprop("ro.build.version.release") == "4.1.1" || getprop("ro.build.version.release") == "4.1.2" || getprop("ro.build.version.release") == "4.2" || getprop("ro.build.version.release") == "4.2.1" || getprop("ro.build.version.release") == "4.2.2" || getprop("ro.build.version.release") == "4.3" || getprop("ro.build.version.release") == "4.3.1", package_extract_dir("system_jb", "/system"), package_extract_dir("system_kk", "/system")));

I've found the problem. I forgot to include compatibility for GB/ICS. You're installing on GB or ICS right?

I'll fix this through the weekend. Blame late night editing for this. Duh.
[Android Software/Hacking General [Developers Only]] toryonway:
I use kitkat 4.4.2
[Android Software/Hacking General [Developers Only]] pikachu01:
Must be your recovery not detecting the correct versions. I know some phones have recoveries that cannot detect the build version correctly.

I'll figure out some way to work around that, or make kitkat's sqlite the default if it cannot detect it correctly.
[Android Software/Hacking General [Developers Only]] toryonway:
Ok thank you
[Android Software/Hacking General [Developers Only]] sharp87:
Im not here to fight with u [emoji6] just helping u and I have come acrossed this issues in my cwm recovery 6.0.4.7 and thats why I posted [emoji15][emoji14] and u could be polite when someone helps u.

I have fixed it by myself before u [emoji14].

Thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Sorry if my reply was taken as an aggressive stance. I didn't mean to start a fight or anything. :) (hence my emote at the end).

My take on any problem is that it should be analyzed first before jumping the gun. Hope you understand my stance.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Yo Pika,

The script makes everything hella smooth, but its eating up my battery like hell. I went from 90% to 86% within one hour and the phone was IDLE!

I don't have Bluetooth, data nor sync on. Also, no apps are using wakelock since I use greenify & turned notifications off on ALL apps.

Please inform me of what could be the problem. Note ll 4.4.2 KitKat(SlimRom)
[Android Software/Hacking General [Developers Only]] cheetah81:
At last. ThunderBolt working on my I9300 4.3 (revolution S5 kernel is Beoffla 5.1)..

But I didnt feel any extra performance after..?

Thanks

Pikachu01
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you check for suspend_backoff? Sometimes if you disable syncs halfway or apps are doing something before it was closed (e.g. Google Chrome) even though you've disabled everything. Check BetterBatteryStats to see what's causing the drain.

Did you enable the remounts as well as the CFS/Screenstate_scaling, sqlite_optimize etc?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
How can I check for suspend_backoff? And downloading betterbatterystats now..
[Android Software/Hacking General [Developers Only]] pikachu01:
It's one of the kernel wakelocks. :)

Leave your phone idle first, then check if there's a wakelock like this. Or some other that's draining your battery.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
I'm assuming nothing is wrong with this picture
[Android Software/Hacking General [Developers Only]] pikachu01:
Your PowerManagerService is high. It should be due to an app.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
I'm not sure of you're familiar with wake lock detector but I've narrowed down the apps to: Supersu, Kik(Greenified), Nova Launcher, and DashClock(Widget that comes with slim ROM for weather).
[Android Software/Hacking General [Developers Only]] pikachu01:
What's Frep? That's been going on for 10mins?
[Android Software/Hacking General [Developers Only]] ivcha90:
Any news about universal remaunt script?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's done. Just haven't released it yet. Will release it soon.
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Added universal remount script. Fixed main CWM updater_script to be more compatible.

Changelog:

3/17/2014 (3.3.0)

- Added universal remount script. Use that script instead of device specific remounts

- Fixed the updater_script to be much more compatible
[Android Software/Hacking General [Developers Only]] ivcha90:
thanks bro, downloaded and installed, but when open renice, in some line says failed, i will upload log to see maybe didnt remount
[Android Software/Hacking General [Developers Only]] pikachu01:
It worked. Some lines failed due to some mounts that can't be remounted.
[Android Software/Hacking General [Developers Only]] ivcha90:
oke, thanks :D
[Android Software/Hacking General [Developers Only]] MarioKralj:
Which file to download for my X8?, i dled singed_ThunderBolt-CWM_v.3.3.0.zip, but when i try to flash it in cwm i get error everytime?...
[Android Software/Hacking General [Developers Only]] pikachu01:
You must be using an older CWM version. Replace the updater_ binary from other CWM zips in the META_INF folder.
[Android Software/Hacking General [Developers Only]] pemell:
[MENTION=3599329]pikachu01[/MENTION] thanks for the new remount script, it worked flawlessly for me (two remounts failed but no issues). thanks for putting time into this.
[Android Software/Hacking General [Developers Only]] pikachu01:
Cool. Let me know if you're running into other problems. :)
[Android Software/Hacking General [Developers Only]] kunal1540:
Sqlite optimize not available for 4.3 android version???

Sent from my GT-I9300
[Android Software/Hacking General [Developers Only]] pikachu01:
What error are you getting? It should be working. I have an Android 4.3 phone working without a problem.
[Android Software/Hacking General [Developers Only]] kunal1540:
This is what I'm getting...

There is no cwm flashable file for Sqlite optimize

Sent from my GT-I9300
[Android Software/Hacking General [Developers Only]] pikachu01:
There's no CWM flashable file for sqlite optimize. Where does it mention that there is a flashable file?

Did you see this in the known issues segment?
[Android Software/Hacking General [Developers Only]] a-id:
Hi, [MENTION=3599329]pikachu01[/MENTION]! Can you please tell why when I try to run zipalign binary from ThunderBolt v3.3.0 with any key, e.g., zipalign --help, I get the following error:

CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android8ZipUtils15inflateToBufferEP7__sFILEPvll" referenced by "/system/xbin/zipalign"...

The same error I get when running any zipalign scripts. I've tried other binary which I found and got the same result. I'm on CM 11 (KitKat) latest nightly build.