yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Aaaaw crap :D

But what do you have to change? As far as i could see the mount output for me had rw on rootfs and /dbdata was /datadata?

Will it harm my phone if i mounted something wrong? I guess no because the old mount options allpy after reboot?

I just changed the /dbdata to /datadata and rootfs from ro to rw (like it is in CM7)

Should that do it?

#!/system/bin/sh
mount -o noatime,remount,rw rootfs /;
mount -o noatime,remount,rw proc /proc;
mount -o noatime,remount,rw sysfs /sys;
mount -o noatime,remount,rw,barrier=0,commit=60 /cache /cache;
mount -o noatime,remount,rw,barrier=0,commit=60,delalloc /datadata /datadata;
mount -o noatime,remount,rw,barrier=0,commit=60 /data /data;
mount -o noatime,remount,ro /system /system;
mount -o noatime,remount,rw /dev /dev;
mount -o noatime,remount,rw /dev/pts /dev/pts;
mount -o noatime,remount,rw /mnt/asec /mnt/asec;
mount -o noatime,remount,rw /mnt/obb /mnt/obb;
mount -o noatime,remount,rw /efs /efs;
mount -o noatime,remount,rw /mnt/.lfs /mnt/.lfs;
mount -o noatime,remount,rw /sys/kernel/debug /sys/kernel/debug;
mount >> /sdcard/fsck.log;
echo "Remount Done! Please see /sdcard/fsck.log for your new mount options.";
echo "If this script works, you'll see most of your mounts being noatime, and";
echo "/data, /dbdata and /cache having barrier=0 and commit=60.";

For example /dev is on cm7 rw,relatime,mode=755 -> do i have to add the mode=755 to the script above?

Thanks!
[Android Software/Hacking General [Developers Only]] pikachu01:
You have to remove the mount points that are not available in CM7 as well as add any new mount points that are there :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, I usually check my scripts in Script Manager to be sure it works fine.

Cool :) Let me know of your progress. Will be checking your thread from time to time.

Nope. Please do :)

Let me know of your reports :)

I use Go Launcher now. LPP didn't get any update for quite some time. Maybe you should try Go Launcher to see if you will get th same issue :)

It's fine. Don't worry :)

I get the same errors too actually. It's due to some *.db files that are not sqlite based.

The earlier errors, I know they are known issues. The Fancy Widgets one, no clue. Probably corruption. Try uninstall/reinstall?
[Android Software/Hacking General [Developers Only]] geokilla:
Over 14 or 15 hours with Semaphore and ThunderBolt 50Mb and I didn't experience any lag sorting that timeframe. I did however have phone.apk and messaging.apk close on me. Twice the phone stopped responding and the screen wouldn't power on. I guess it's sleep death? Had to force reset the phone, which sent me to either a kennel panic upload screen or forced upload by key pressing. Hope this information helps.

Btw I think I glitched my phone again so i'm going to have to do more testing again after I do a complete flash back to stock gingerbread, including flashing of bootloader.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] matsuru:
Pikachu01,

Just updated to latest CM7 #171. Flashed cm7, then gapp, then gapp with video talk, then fix permission. Follow by mount /system & /data , then flashed thunderbolt 1.8.

Result, cannot boot pass boot screen with Samsung galaxy s + cyanogen mod 7 words.

Tried 2 times and let it run for more than 10 minutes. Same results.

Had to wipe cache partition, wipe dalvik and reflashed cm7 to be able to boot.

Any ideas? :-)
[Android Software/Hacking General [Developers Only]] Rebel2k:
Hi everyone!

Pika, I have not tried yet to uninstall apps you listed but will try it a bit later.

At this time I have a very interesting fact to tell: I'm on TalonDev 5.2.2.3 (not the last one with your values yet) but I have not faced any autoclose in more than 40 hours (my total and best uptine record until now!) but after having changed values in MemoeyFreak to 52 Mb for background apps, 256 Mb of ZRAM and 100 for swapiness. Before that with your values even in 1.8.0 it was autoclosing sometimes. The oknly problem I have now is that the phone doesn't seem so responsive than before (I mean 40 hours ago) when I open/close an app or when I scroll between my different homescreens. With so high ZRAM value I'm not so surprised anyway but as autoclosing problem is gone I'm pretty sure it's related (as I didn't change anything else in the meantime). What is your advice? What do you think I could choose as values in MemoeyFreak (or directly in the ram.conf file) to still prevent autoclosing but to keep a bit more performant the phone?
[Android Software/Hacking General [Developers Only]] Benson17:
1.8 doesn't work with MIUI 1.11.4 too, hangs at bootscreen.
[Android Software/Hacking General [Developers Only]] lelf:
It work. See mintberry miui
[Android Software/Hacking General [Developers Only]] Benson17:
Mh, just checked the thread - they use Glitch kernel now, maybe a problem with Fugu Kernel (forgot to mention, sorry).
[Android Software/Hacking General [Developers Only]] pikachu01:
Do you mean that using ThunderBolt! will cause auto-closing or you will get auto-closing even without ThunderBolt! on Semaphore?

Fugumod kernel?

With your experiement, I think I'm getting close to the auto-closing problem (pun not intended :P). It's probably caused by swapping and one of the apps I mentioned is probably doing a lot of swapping in the background causing apps to close. Your swappiness of 100 is a balance between using swap and not using swap. I use 60 by default that causes swap to be used more often.

Yes, the latest Fugumod kernel is known to be incompatible ThunderBolt!. I'll experiment with some values and post up a test version for people who are interested to beta test in the coming days. A bit pre-occupied with personal stuff right now :)
[Android Software/Hacking General [Developers Only]] matsuru:
Pikachu01,

i m using CM7 stock + thunderbolt 1.8
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you paste the changelog for CM7?

I would like to see what recently changed that broke ThunderBolt!.
[Android Software/Hacking General [Developers Only]] matsuru:
here's the link http://cm-nightlies.appspot.com/?device=galaxysmtd

but #171 changelog is empty. sometimes this does happen. hope this is helpful.

I jump from #165 to #171 btw.

I am gonna update my CM7 to #172 now.
[Android Software/Hacking General [Developers Only]] geokilla:
I'm not sure. Going to get rid if all Thunderbolt now and just run stock semaphore. No scripts except for semaphore scripts.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] HM.Carbide:
With deleting all from init.d it is not uninstalled.

You have to delete also:

/data/99SuperCharger.sh

/data/local.prop

/data/SuperChargerAdj

/data/SuperChargerMinfree

/data/local/userinit.sh

/system/lib/libncurses.so

/system/xbin/sqlite3

/system/xbin/zipalign

And depending, if you have installed them, you have to revert to original

app_process and system_server
[Android Software/Hacking General [Developers Only]] XblackdemonX:
it works, not hagning at bootscreen
[Android Software/Hacking General [Developers Only]] cantIntoCode:
Just posting to say, thanks pikachu01! The overall smoothness difference is night and day, especially in LauncherPro. The app drawer and switching between screens is super fluid now. Kudos to you, can't thank you enough :)
[Android Software/Hacking General [Developers Only]] KMino:
Yeah all going smooth here now, just on 48hrs with the config (not up-time).

Did have a problem with FCs and reboots. Problem was voltages have changed some how (think I read here or the Talon thread something about it). Less UV now and all good for the last 24hrs..

Thanks again Pik!

BTW people, just check your settings FCs prob happen because of trivial settings. Voltage differences, old scripts etc. Script is worth it when going, besides root exploring can be fun :D
[Android Software/Hacking General [Developers Only]] dearblues:
do i need to install all 3 addod ? or just use either 1 of the following

ThunderBolt-CWM i9000 v1.8.0 Others.zip (352.3 KB)

ThunderBolt-CWM i9000 v1.8.0 50MB LMK Others.zip (352.3 KB)

i just need to install 1 of the file above right?
[Android Software/Hacking General [Developers Only]] sherpa25:
Just one. The first is 60Mb LMK, while the 2nd is 50Mb LMK w/c gives a little more room for apps.
[Android Software/Hacking General [Developers Only]] dearblues:
and how about the 3 addon? should i install them?
[Android Software/Hacking General [Developers Only]] sherpa25:
Please read the OP, it's described in more detail there. :)

Also, after flashing and rebooting, you will find other scripts in your /sdcard/bolt_scripts that you may 'optionally' run (ie. using Script Manager) to further improve performance. Similarly, these are described too in the OP. Note though that the folder is /sdcard/bolt_scripts (not /sdcard/bolt_tweaks, as stated in the first part of the OP, w/c was the old setup, I believe).
[Android Software/Hacking General [Developers Only]] geokilla:
Hope it helps. Gonna flash to stock Gignerbread now.
[Android Software/Hacking General [Developers Only]] rlorange:
So I get a strange error with the sqlite optimize script. Something about a malformed database. Here is the log.

exec sh '/sqlite_optimize'

# exec sh '/sqlite_optimize'

Error: no such collation sequence: UNICODE

^[[5~^[[5~^[[5~^[[5~^[[5~^[[6~^[[6~^[[6~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~^[[5~Error: database disk image is malformed

Error: no such collation sequence: PHONEBOOK

Error: database disk image is malformed

find: /datadata: No such file or directory

Error: no such collation sequence: UNICODE

Error: database disk image is malformed

Error: no such collation sequence: PHONEBOOK

Error: database disk image is malformed

find: /datadata: No such file or directory

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] goodolsen:
Look back through the thread this is normal.

Sent from Mister Red
[Android Software/Hacking General [Developers Only]] rlorange:
Oh thanks. I admit I have missed a big chunk of the middle of this thread, time to get reading!

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me dig into the source to see if anything changed in terms of scheduler etc. I'll let you know if I find anything :)

The restore pack does exactly that :)

If you looked at the restore script, I didn't remove libncurses.so as CM7 uses it, hence its not removed automatically. Also sqlite3 is not removed as well as CM7 uses it. Not removing it won't affect anything.

Yes. This proves that ThunderBolt! doesn't make apps close. It's caused by one of the apps I listed:

2 Player Reactor
Adobe Reader
Compass
Dolphin Browser™ HD
Unblock Me FREE
[Android Software/Hacking General [Developers Only]] Bejda:
Hi Pika and everyone passing by.

I'm stuck at bootscreen too on cm7 nightly 172 as "stock" as can be when installing thunderbolts.

Only things i can think about (but notice that i understand almost nothing at this kind of stuffs) is those changes:

At first message from DaneshM on this page:

http://xdaforums.com/showthread.php?p=19014589#post19014589

The download apps from market bigger than /cache is only effective since 172.

Maybe this warning from DaneshM too (link is in the message again):

http://xdaforums.com/showthread.php?t=1061946&page=2110

And related,this explanation (and a link once again) that gave me Jose.celestino here:

http://xdaforums.com/showthread.php?t=1061946&page=2111

If i remember well i didn't try thunderbolts! since nightly 168,was installing well at this moment.

I flash your restore and rebooted fine,sorry if it's all wasting time informations...

....well,on second (twenty-seventh actually) hand,thinking about it,my noob's feeling tell me that it'd rather be stuck on bootloops if what I've mentionned were even a little close to the problem?Stuck at bootscreen mean it should be kernel related?
[Android Software/Hacking General [Developers Only]] bhu1:
pikachu I tried without juwe's ram script and phone is indeed smoother. Haven't test removing sdcard speed fix yet, ill try it later. But aren't the lib helpful from acid.

Also loopy works gr8, I don't think it clashes from anything.

mix tweaks-http://xdaforums.com/showthread.php?t=1334818
[Android Software/Hacking General [Developers Only]] pikachu01:
As I've said, Juwe's RAM script only tweaks the LMK in Linux, but not the Dalvik LMK. The mismatch itself causes memory to only be released in the Linux environment but not the LMK (if Linux is weaker) and vice versa.

Not sure why you can perceive it being smoother, unless it's a very low VFS Cache Pressure and a very high Dirty Ratio/Dirty Background Ratio. Even higher than ThunderBolt!'s. That is well and good but the smoothness will go away after a day or two of uptime when cache gets very full and you'll get lagginess.

The libsqlite*.so from Acid Tweaks are about the same with ThunderBolt!'s, though I can't be sure of that since there's no source code for it. ThunderBolt!'s patched libsqlite* comes from CM7 sources and sqlite's official documentation of disabling fsyncs.
[Android Software/Hacking General [Developers Only]] hlubepet:
Im having same question but differently:

when Im on Doctorz rom and aplying tweaks... installed acid tweaks, but removed everything from init.d

then flashed thunderbolt and executed drop and remountI9000

then flashed loopy-smooth..

are there any mismatch/confusing things that should be removed or flashed, mixed differently?

EDIT: pikatchu was quicker :))
[Android Software/Hacking General [Developers Only]] bhu1:
Ya I checked, ill test every aspect. Right now Not removing loopy's smoothness tweaks is indeed making things smoother. Tried enabling them- disabling them -enabling them.........many times.

And ya I checked the juwescript it only tweaks lmk Linux and nor dalvik lmk. Thankx for giving it a look. K btw you Know about renice values, will tweaking them to -19 for a specific app. Increase the apps' launching time and what are its side effects? High battery drain, high ram usage?

mix tweaks-http://xdaforums.com/showthread.php?t=1334818
[Android Software/Hacking General [Developers Only]] hlubepet:
so whats the best config? only flash thunderbolt! ?

As for users, we dont much care about "whats behind" We only wanna know whats the combination of success :D
[Android Software/Hacking General [Developers Only]] chiefy009:
I tried this before and had issues, please forgive me for not reading can I flash this with cm7 nightly 162 ?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Reposting here...

Juwe's a kanging hack.

That's why his app thread isn't available and his script thread is now locked.

I guess I was the first to implement the MEM values into build.prop/local.prop and and Pika has implented memory tweaks properly as I do.
[Android Software/Hacking General [Developers Only]] rlorange:
@pikachu have you investigated the option to convert databases in titanium backup? I can confirm it works and is compatible with thunderbolt!

Edit: thurderbolt sqlite parts I meant

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] Gvdn:
Thx for this. Working great. One thing i also experience higher drain while on 1.8 with latest Talon compared to 1.72 and talon 5.1.2. No idea if its caused by Thunderbolt or Talon. Anyway still enough juice to run full day and phone been smooth for over 2 days. As if i just rebooted. Not used the drop script or the ones in Memory Freak.

Amazing stuff thx again.
[Android Software/Hacking General [Developers Only]] rlorange:
Sorry did you mean local.prop? I love learning and looked into your post and found the dalvik lmk settings in local.prop in data directory.

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes MEM and ADJ settings can be in either /system/build.prop or /data/local.prop.

But the local.prop values have no effect if they get applied in build.prop first.

This is similar to ro.ril* 3G settings.

Once they are set, they can't be changed.
[Android Software/Hacking General [Developers Only]] thresherhorn:
29 hours uptime since installation of thunderbolt.

Before charging, phone was very very slightly laggy. Almost same as fresh reboot, but still slightly noticeable.

Plugged in the phone and experienced crippling lag after about 20 minutes that required reboot.

Gonna try latest talondev version when it becomes stable.... ill be installing the 50 lmk version as soon as im fully charged (was using the original v1.8 thunderbolt).

Just giving my experience.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Sounds like the phone got too hot while charging.

Especially likely if you were using it while it charged.
[Android Software/Hacking General [Developers Only]] thresherhorn:
I actually checked temps while charging/ using and its actually quite cool. it was intermittent use. And upon reboot, lag cleared up 100%.
[Android Software/Hacking General [Developers Only]] s30ckf:
Pika pika, previously was facing deep sleep and reboot when try to wake phone up.... so do a clean flash talon 0.5.2.5 + TB 1.8 50MB edition, until now no more deep sleep issue. But evening after play Angry Bird, exit the apps and phone soft reboot and goes into Safe Mode. Screen show "Safe Mode" at bottom of the screen, nothing other than this text.

Manually reboot by long press power button, run i9000 mounting by script manager but I didn't run the sqlite_optimize option this time (previously was run it at each reboot), up to now, so far so good, no problem and lag occur yet.... [end of report]

---------- Post added at 01:47 AM ---------- Previous post was at 01:32 AM ----------

Is that mean if I have a build.prop (by the ROM dev) in system, then pika's local.prop file will not work ??
[Android Software/Hacking General [Developers Only]] chiefy009:
Works on cm7 anyone?

sent from my c64
[Android Software/Hacking General [Developers Only]] superwahwah:
Hi there, simple question not pretty related to thunderbolt but I know people here got skills ^^

I have a file in /etc called Jupa with some files like governorsmartass, governorpowersave, honeycombramscript, etc...

Do you know what is this file?

for curiosity, thx for help
[Android Software/Hacking General [Developers Only]] mialwe:
Doing a quick search for Galaxy and /etc/jupa i found this: link - maybe it's related? Folder from custom ROM/tweak script?
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
How do I check if the script is running? And ThunderBolt working?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
yes but only if build.prop modifies the same parameters that are in pika's local.prop.

You can delete conflicting build.prop entries tho.
[Android Software/Hacking General [Developers Only]] saszseb:
I've just installed it and got bootloops!
[Android Software/Hacking General [Developers Only]] Kurre:
And I installed it (1.8.0 base+3g) yesterday and no probs..

Could you be more specific about what you flashed..base of course but any addons? It helps more than just saying "it doesn't work" ;)

Edit: And btw, do you use fugumod kernel? Latest versions aren't compatible with thunderbolt afaik.

Sent from my CM'd SGS
[Android Software/Hacking General [Developers Only]] saszseb:
Stock kernel + only the base.
[Android Software/Hacking General [Developers Only]] justkidding74:
I instaled thunderbolt 1.8.0 50mb end works great like man sead it would people with problems meybe u should consider that problem is with your rom or kernel or settings....Keep on good work man your scripts are great!:eek:
[Android Software/Hacking General [Developers Only]] danieldmm:
I see in your signature you are using CM ROM, maybe they change something that its not compatible, just sayng, not sure, maybe pika have something to tell about that...

Cheers
[Android Software/Hacking General [Developers Only]] Bejda:
Bootloops or stuck at bootscreen?

Cause not going past bootscreen have been reported too with latest nightlies/stock kernel.

It's already investigated but maybe not the same issue if it's bootloops for you.
[Android Software/Hacking General [Developers Only]] Gvdn:
Quick update. Phone is still same smoothness as on first boot but im getting random fc on different apps like zeam launcher, nitrality torch, browser, ...

No idea if its latest talon or thunderbird. Ill report back.
[Android Software/Hacking General [Developers Only]] s30ckf:
You can either:

1. Feel it by the improvement of performance of your device, or

2. Go terminate emulator, key in "cat /proc/sys/vm/dirty_background_ratio", you should get 55; "cat /proc/sys/vm/dirty_ratio", you should get 90
[Android Software/Hacking General [Developers Only]] pikachu01:
Loopy smoothness might get you smoothness right when you boot up, but renicing kswapd (which is important not only for swap - in which Talon has ZRAM swap, but some other VM related stuff as well). It'll lag when that happens.

Only ThunderBolt! :)

Yeah, you're the first to implement MEM/ADJ prop tweaks. Existz implemented his way on kernel using ram.conf. Different implementation, same goal :)

How do I convert databases again? I don't see the option :S

Some people reported this as well. After a few charge cycles, it became less battery draining. You should recalbrate and charge/recharge a few cycles before making a judgment :)

Not sure why you are experiencing this. First time it was reported. Do you have any other tweaks installed?

If you used build.prop to tweak MEM/ADJ tweaks and used the ro flag on them, then local.prop won't take effect.

And there was a user who experienced safe mode as well. I think it's due to improper flashing or a rogue app. No one else is experiencing this. Are you experiencing auto-closing of apps while you're using it?

Jupa is another init.d script tweaking utility. You can safely remove it. It uses scripts in init.d to call files in /etc. An indirect way of tweaking.

Yeah, the CM7 build is incompatible with ThunderBolt!.

Yeah, the CM7 build is incompatible with ThunderBolt!. I have to update the OP.

Are you UVing/OCing?
[Android Software/Hacking General [Developers Only]] s30ckf:
So far have one auto-closing, that is when using Market. Launch the apps, then ask me to enable background data, after enable, it should back to Market, but it jump back to Home Screen. This happened once a while, and is ok to me as relaunch the market is not difficult job. The other apps so far no auto closing.... cantik cantik ~~ [end of report]
[Android Software/Hacking General [Developers Only]] Rebel2k:
Hi everyone!

Back there for some test results: I upgraded my kernel to Semaphore 1.8.2 (cause unfortunately Talon was too slow for me after some hours, and I've not tried yet the new test version 5.2.5) and flashed Thunderbolt 1.8.0 50 MB (with the 60 MB version I'm still facing autoclosing while in use... I will write my feedback with this conf after some hours of use.

@pika: I uninstalled several of the apps you listed a few pages ago baaed on your analysis on appbrain. We will see if situation improved!
[Android Software/Hacking General [Developers Only]] Gvdn:
Are you UVing/OCing?

My mistake. Tegrak OC was set to apply on boot and i forgot about it.

Will monitor without oc/uv and come back to report. Thanks again for your work.
[Android Software/Hacking General [Developers Only]] saphirrot:
Pika, it would be amazing if you bring your own rom :D
[Android Software/Hacking General [Developers Only]] Fenvarien:
Thank you Pika for your great Thunderbolt Tweaks and your helpful hints and explanations!

A Pika made Rom would be amazing, currently I am using Stock JVT with Semaphore 1.8.2 kernel (the 50MB version of Thunderbolt was a good improvement regarding compatibility with Semaphore).