yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] saphirrot:
Hey Pikachu,

first of all, this script is great, tested almost every update, but 1.8 is the best version ever. GREAT perfomance improvement with it.

But maybe i got an idea for a new tweak :

Is it possible, that user with an High speed External Card can swap internal with external Card to improve the speed of writing and reading ? Someone did this, so we can swap internal and external card. But the problem is ( the dev told me ) the hardware in the phone. It is limited. So i m asking you, if you could ( if you want ) look into that, because many of us have an high speed micro sd card with class 6 or higher. If you could break this limitation, maybe we can get much more power and speed :D

What you all think about that ???
[Android Software/Hacking General [Developers Only]] XblackdemonX:
I want that!
[Android Software/Hacking General [Developers Only]] pikachu01:
I would need to research about this :)

Let me get my thinking cap on and see the feasibility/viability.
[Android Software/Hacking General [Developers Only]] geokilla:
Phone.apk closed on me with Thunderbolt 1.8.0 and Talon. Phone was on for over 12 hours. Sent text messages and used Vplayer to watch drama. Will flash Xcal when I get home tonight.

Update. Now Messaging.apk closed on me a couple times. Haven't flashed it yet as i'm not home. Well it didn't actually close. It's like the back button was pressed a couple times.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] Kurre:
Do you know what's the speed difference if we compare internal sd and, let's say class 6 external one? It would bee nice to know how much speed we could gain with this as it sounds quite interesting :)

Sent from my SGS w/ xda prem
[Android Software/Hacking General [Developers Only]] XuperLugia:
Regarding my last post...

so... if I modify the script should I see "smartassV2" selected in Voltage Control after reseting the system?

What about the SIO scheduler pika?
[Android Software/Hacking General [Developers Only]] saphirrot:
its very interesting, but the main problem is : Its very hard work to do that, because swap the internal with external already exists, but using the full power of the change is at the moment not possible ( cause noone did that ).

I hope pikachu will be the first one ;D
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
I simply don't see that swapping the internal/external storages is going to make SUCH A LARGE difference that it's worth the work to get it done.

I doubt it'll make even a noticeable difference. Our phones are crippled more by a shortage of RAM, not necessarily a problem with storage speed.
[Android Software/Hacking General [Developers Only]] Tatsuya79:
Oh it's called thunderbolt because Pikachu made it, just got that one. :D

(yeah I wanted to let you know guys I just realised that)
[Android Software/Hacking General [Developers Only]] Felixpau86:
Lol slightly slow there tet...
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, maybe a faulty back button instead? :/

This is with ThunderBolt! 1.8.0 and TalonDev right?

Yes, you should see smartassV2 in your Voltage Control. SIO is a tuned scheduler that will work well in most situations in a phone as it is made with SSD I/O speed in mind.
[Android Software/Hacking General [Developers Only]] dupel:
Could be possible. I don't usually face this problem when flashing. Will use couple of days to decide)
[Android Software/Hacking General [Developers Only]] jnr21:
I'm on MIUI Mint Berry Edition 1.10.28 and neo 17r18 kernel, and i have these scripts in init.d:

01systcl

05modules

06defaulttheme

07internalsd

70darky_zipalign

91logger

98crunchengine

99SuperCharger

S98system_tweak

Should i delete something before flashing 1.8.0?
[Android Software/Hacking General [Developers Only]] chazkenji:
Sorry for such noob question :o

Can the ThunderBolt Script be used for Captivate's ROMs?

I'm currently on UCKJ3 ROM (from at&t) :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, delete the darky_zipalign, system tweak and check for /system/etc/systcl.conf if there are any clashing settings with ThunderBolt!'s.

geokilla tested it on Captivate. Should be working fine I guess. Be sure to have a nandroid backup handy just in case :)
[Android Software/Hacking General [Developers Only]] jnr21:
Systcl.conf is empty. Should i delete 99SuperCharger too, because tb1.8.0 includes S99SuperCharger?
[Android Software/Hacking General [Developers Only]] geokilla:
Highly doubt it... Never had this problem until I started testing Thunderbolt with Talon. As I said, I'll run xcal and report back.

Oh and I just had the phone auto restart on me

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] saphirrot:
and i believe in god. You even cannot see it, because noone tried something like that, maybe we can get a huge improvement , maybe we dont get any change. But i think we should try before we discuss.

I dont think so. The HTC Desire device only got 256 mb ram, but still running smooth with custom firmware and kernel. Our device got 512 mb ram, but sometimes lag even with custom rom and kernel... That sucks. There you can see that samsung is doing **** with android...
[Android Software/Hacking General [Developers Only]] geokilla:
Tested it on the Captivate, but not Captivate ROM lol. Talon is a reoriented i9000 kernel. I have yet to run captivate ROM and kernel

Sent from my Samsung i896

Don't forget that we have only around 340mb of ram to use. Other 180 is missing...

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] eliminat:
These scripts make Gingerbread usable.
[Android Software/Hacking General [Developers Only]] Pipperox:
I don't see how that could be beneficial.

First of all, the "class" speed of SD Cards is only about their write performance, while even Class 2 cards can commonly sustain read speeds of 10MB/sec.

Thing is, SGS's internal storage can also sustain 10MB/sec in write, so basically like a Class 10 Micro SD card.

So i don't think there is much hope on that side.

Also, on Android the SD Card uses the ancient FAT32 file system, again it's unlikely that this will result in any improvement (and this file system does not support journaling!).
[Android Software/Hacking General [Developers Only]] saszseb:
Damian's kernel like Aureus, Neutrino have had the option in recovery for about 6 months:

"This is the options you have in the kernel.

- Low memory killer minfree settings (20MB, 24MB, 32MB, 46MB, 60MB, 80MB or 92MB).

- Ext2, Ext4 and rfs file system.

- Backup/Restore.

- Root (installs Busybox and superuser).

- Theme support with cwm update script.

- Touchscreen sensitivity (Low, Default, high, super high)

- OverClocking (OC) 1200MHz, 1300MHz, 1400MHz and 1440MHz.

- Underclocking (UC) 800MHZ.

- Stagefright (on/off).

- UnderVolting (UV) 0-55mv undervolt in 5mv steep on 100MHz-1000MHz.

- Total wipe option

- 3 different settings for the cache system

- Swap SdCards"
[Android Software/Hacking General [Developers Only]] Kurre:
I have to make little comment here..as this is common thing that pops out regularly..having 512MB ram doesn't mean you will be ever able to use it all..as well HTC desire doesn't have 256MB available. Operating system always takes its part and so on..

Sent from my SGS w/ xda prem
[Android Software/Hacking General [Developers Only]] thresherhorn:
So questions:

First, 1.8! claims to solve >24hr lagginess (i believe that's how I'm reading it), does that mean it is aiming to solve the memory leak issues seen with TalonDev kernel (forcing a daily restart)? Is it partially addressing it? Working on something else entirely?

Second since I'm a complete noob, anything in this init.d look like it needs to get the boot before I try out thunderbolt for the 1st time? :P

_99ramset
S01sysctl
S30edt_perms
S70zipalign
s77sdcardspeedfix
s98rambooster
S99android_id_gen.sh
s99complete

Current setup:

Serendipty 7 Build 3

TalonDev Kernel 0.5.1-RC1

No OC/UV

Gratuitous thanks to anyone who can answer this noobs questions :D
[Android Software/Hacking General [Developers Only]] MajinkenSword:
not sure if its related to this.

i seem to have lost access to My Apps in market. Its giving me a server error thingy :-(

Sent using Tapatalk
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
I'm running Thunderbolt 1.8.0 on Talon version before latest (I'm waiting for OC code to be complete before updating), and running Supersonic ROM SP4.

My uptime is 35 hours, and it appears to be running as if it was freshly rebooted. But I must confess that it also seems that battery use is a little higher than it was when using 1.7.2. But that's very subjective, of course...

Anyway, there you go.

Thanks for your hard work and amazing results, Pika.

---------- Post added at 12:48 AM ---------- Previous post was at 12:47 AM ----------

Market has been wonky for a few days now... just keep restarting Market until it works.

Also, once the new Market version is installed, apparently it fixes a bunch of problems, like the one you're having.
[Android Software/Hacking General [Developers Only]] Sqb:
Kind of a late reply but I'm running thunderbolt! With talon on a cappy. No muss no fuss. All smooth and ready to run a marathon after 30 hours and two full charges. Thanks Pikachu for such a great add on.

Sent from a rock on fire in the middle of the sea
[Android Software/Hacking General [Developers Only]] geokilla:
Hrm. I still had to do a restart today because Messaging.apk and Phone.apk kept on closing on me. Time to flash xcal and report back tomorrow!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes :)

Don't think auto-restart is caused by ThunderBolt!. Also, Rebel2k reported that his auto-closing is not caused by ThunderBolt! per-se but ThunderBolt! does accelerate the problem.

I believe it is caused by a rogue app that tries to do malloc onto a big chunk of space. I've asked Rebel2k to do an Appbrain sync so that I can compare it with yours :P

Can you do an Appbrain sync and let me know what you've installed in your phone?

Your setup includes some unknown init.d scripts that I have no idea what they do. Can you pack them up and attach it? I'll evaluate it :)

Yes, ThunderBolt! gets rid of the lags after an amount of time. Some Talon users are even reporting 36hours of uptime without lags.

:) Glad that you're enjoying it.

About the battery, I might release a release that has a lower upper limit of LMK just to test out the battery issue. So far it isn't affecting me and a few others.

Yup, flash Xcal's and let me know if you're still getting the auto-closing. Also try to test > 24 hours without ThunderBolt!. You might still be getting the auto-close, but ThunderBolt! just increases the likelihood.
[Android Software/Hacking General [Developers Only]] pikachu01:
Added v1.8.0 50MB LMK edition. This should give a little bit more leeway than the original 60MB LMK in the original v1.8.0

One more issue left to debug:

- Auto closing of SMS and/or Phone when smsing/dialing
[Android Software/Hacking General [Developers Only]] geokilla:
Sure but what kinda apps would you like to know? User apps? Or user + system apps? Cus Titanium Backup would also show what apps are installed.

I'll run Xcal's kernel without any scripts first. Gonna flash the revert script then Odin the kernel once my battery is fully charge tonight/tomorrow morning.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeah, Titanium Backup would show all apps, but you have to list them :/

You can just sync it to App Brain and I can diff it visually with Rebel2k's one or whichever is easier for you :)
[Android Software/Hacking General [Developers Only]] wasimraja_1982:
HI Pika

Thanks for your work.

I have a strange problem and I think it started from 1.7.x I guess. Whenever I open market and clik on my apps, it throws the server error with retry and cancel option. I could search and install any app though. I do my updates currently using AppBrain.

I am on Stock +. I ran the revert script, reboot and then flashed all three zip files. Initially Market did work and after a while, it starts throwing this error. I cleaned cache but it didnt help. BTW, I am on the old market (by freezing the market updater)

I do have a workaround but it would be great if you can share any tips.

Thanks again.
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't think this is caused by ThunderBolt!.

Try wiping Market's data.

Or use the new Market (with its instabilities and slowness).

I'm using the old market too, even back before ThunderBolt!, I used to have this problem as well. I clear my Market data and it will work for a few weeks until it becomes like this again. It's an old market problem from what I can see.
[Android Software/Hacking General [Developers Only]] wasimraja_1982:
I have tried clearing data multiple times but it doesnt help. I will stick with this anyway as I hate the new market. Thanks for your reply.
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
MIUI 1.11.4+FuguMod 1925 kernel+Thunderbolt 1.80=Stuck at kernel logo....

MIUI 1.11.4+Thunderbolt 1.80=Works fine
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, how about letting it update to new Market (unfreezing Market Updater and rebooting) and then uninstalling the update. It worked for me when clearing data didn't work. Believe me, I've faced this Market issue for a long time even before Gingerbread was out.

I'm not sure what changed for Fugumod. Try not installing the addons to see if it still behaves that way?
[Android Software/Hacking General [Developers Only]] KMino:
Just got it as well.. I usually think of Foxxy from Drawn Together :) Best show Pik is in!
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
Nope same. Older fugumod works though....

I tried on 1894 it works fine with all add on.
[Android Software/Hacking General [Developers Only]] pikachu01:
Might be one of the CFS scheduler values are changed (or multipliers are changed) when updating to 3.0 Kernel.

If you're willing to test it, I'm willing to make as many test builds for you to test :)
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
But I dunno how to test :(
[Android Software/Hacking General [Developers Only]] flolep:
Hmm hmm, interesting, I might begin to think it's possible and begin to "believe", unless it's only more usable because of more aggressive lmk settings and some loss of multitasking and battery... AND moreover that in some more hours after that memory leak monster will begin to do his job... I may try to flash back talon and try it again to see it for myself and report (for the fifth time lol, with every time the same conclusion lol, but "I want to believe"))

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] pikachu01:
You just have to install the ThunderBolt! test versions and see if it hangs at startup.

The truth is out there!!!! :P Or actually, it's in ThunderBolt! :P
[Android Software/Hacking General [Developers Only]] Rebel2k:
Yes, having an appbrain account is really easy, and appsync is fast and smooth! :) Do that, that could help.

On my side, TB 1.8.0 greatly improved the situation as far as I can see. I'm trying with Talon 0.5.2.3 and 1.8.0 since a few hours. Still have to wait to see. I kept Seamaphore 1.8.1 with TB 1.8 for 24 hours without problem, but then my phone froze.. :( (however, I had not a force close during this period!)

While I was testing, I discovered several things too:

- I uninstalled Go SMS Emoji plugin as OS Monitor was reporting it dozen of times in the processes list and consuming memory.

- I disabled logcat in the kernel (and I think that's the key point) as it was the same: many processes were reported many times in OS Monitor and when I dug a bit more (opening details of the process) it was listed as logcat! I had many many logcat processes loaded in memory.

I'm waiting to see if that's still working good with Talon for more than a day!
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
oh ok sounds fine to me :) PM me the test builds

Anyway I tried 1.8.0 (Not the 50mb LWK edition), when I open a lot apps, some apps starts to force close non stop.
[Android Software/Hacking General [Developers Only]] pikachu01:
Force close?

Don't think it's due to ThunderBolt!.

Did you restore data in bulk after transitioning to a new ROM?
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
It was ok when I update my miui to newest version and changed the kernel. I can use my phone like normal but just now I want to test out the speed, I run a lot games at once. Then suddenly my swype starts to pop up force close.. Again and again so i reboot. Now the swype still keep force closing and my launcher's data seems to got cleared. Is it because of the libsqlite add on?
[Android Software/Hacking General [Developers Only]] pikachu01:
The launcher data getting cleared is probably due to the patched libsqlite. As for the others, I think it's either a ROM issue or an app issue.

Never got a force-closing report from users till now.
[Android Software/Hacking General [Developers Only]] Rebel2k:
In fact I'm having autoclose again. GoSMS, dialer (very often when I go in the call log) and Google Search Widget that I have on one of my homescreen... :(

The good point however is that my phone has nearly 24 hours of uptime now.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. Let me know your appbrain link. I'll compare it with geokilla's and troubleshoot from there :)
[Android Software/Hacking General [Developers Only]] dictatorr:
How do I know if this is actually working ?
[Android Software/Hacking General [Developers Only]] saphirrot:
You dont :D

Hey Pika, what about swaping the sd card ?
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
Cuz your phone will be more useful, smooth and fast.

THAT'S how you know.

That's a surprising question, though, as why would you install a tweak whose effects you don't even know?
[Android Software/Hacking General [Developers Only]] Rebel2k:
That's the link with rebel2k as a profile. I'm sorry don't have the link there as I'm on my phone.

EDIT : Here it is !!! http://www.appbrain.com/user/rebel2k

---------- Post added at 04:19 PM ---------- Previous post was at 04:11 PM ----------

By the way, no after 24 hours, my phone starts to be unusable. Nearly all apps are autoclosing while in use. Even Gmail now, Tapatalk too, SMS, everything... In OS Monitor, I still have 50 Mb of free memory however. Android memory management is really a mess whatever we can say! :(
[Android Software/Hacking General [Developers Only]] thresherhorn:
Attached is my folder! You rock for checkin em out :D

So it does actually "fix" the memory leak found with TalonDev kernel? if so, have you informed existz yet? :D he's had his fair share of "stop bugging me about this memory leak thing" moments :P
[Android Software/Hacking General [Developers Only]] pikachu01:
It's do-able through a script. umount the sdcard and mount the sdcard-ext. However, I'm doubtful that it'll be faster than the internal sdcard. I'll cook up something tomorrow for you to test. I don't have an sdcard myself to test it :(

Bad :(

Now to wait for geokilla to send his, and correlate the apps with his and then troubleshoot further.

I'll take a look at it now :)

Yes, a few people who've experienced lagginess used ThunderBolt! and their problems were gone :)
[Android Software/Hacking General [Developers Only]] saszseb:
Pls. read this!

Only for info!
[Android Software/Hacking General [Developers Only]] dupel:
Pica, you were right, very good battery life after 2 days of usage.
[Android Software/Hacking General [Developers Only]] AceofSpades90:
Gotta love your hard work man! I shouldn't ask cause i think i know you have also utilize superchargerV6_update8 to its max :p

There's one more thing if you don't mind me asking..

well you see.. my friend has US T-Mobile LG Optimus T which is a low end phone... I've used his phone and now after he put CM7 on it... it's image resolution quality has drastically boosted! i mean the image quality really really surpassed what that phone could do o.O

So im here using samsung captivate(SGH-I897) and has darky rom on it along with talon kernel and your awsome tweaks... I mean it still doesn't feel i've pushed my image quality as far enough... So I thought to ask you a favor if you could research more into CM7 and find whats interesting there that we can use as with your tweaks or i have no other choice except to switch to CM7 (which i think has to be the case but hard to believe) :)
[Android Software/Hacking General [Developers Only]] geokilla:
My apps on Appbrain

http://www.appbrain.com/user/geokilla/apps-on-the-sgh-i897
[Android Software/Hacking General [Developers Only]] gerbig:
Hey pika, thanks for all your work getting these settings closer to ideal. I saw that existz used your settings in the newest talondev (0.5.2.5). Do you know what settings were used? Are they the same as 1.8.0 or should I put your ram.conf back?

Thanks!
[Android Software/Hacking General [Developers Only]] dictatorr:
I dont feel any difference.
[Android Software/Hacking General [Developers Only]] hlubepet:
only one question - script manager shows me PERMISSIONS DENIED on all three files from thunderbolt.... superuser rights ok... where is the catch please?
[Android Software/Hacking General [Developers Only]] dhurk:
is it flashable with cm7 ?
[Android Software/Hacking General [Developers Only]] RaymondPJR:
My God, man, read the OP!
[Android Software/Hacking General [Developers Only]] RaymondPJR:
It's been three full days since I had to reboot to get rid of lag with version 1.7.2. It has never come back and I couldn't be happier. Still, I'm going to try 1.8 because of all the good feedback.
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you set the correct permissions on the file? In Root Explorer/File Expert tick all?

It might be that the CM7 build tweaked the DPI, hence you can see the image quality becoming better.

As for SGS, you can do that too, but I don't see much point of it because most ROMs are using a set DPI.

Let me flash and see :)

Did you mount /system and /data before flashing?

Did you tick Run as Root?
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
Just making sure is the "ThunderBolt-CWM i9000 libsqlite i9000 addon.zip" might be able to cause data corruption?
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
Yes, it "might" cause corruption on power loss.
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
How high/low is this risk? :(

What about other addon?
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
Only real corruption risk is the sqlite addon - and even then, the worst that can happen is that you lose app data, not the app itself (SMS'es for example, but not the Messaging app).

The rest of the addons are safe.
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
I don't understand 1 thing is the...

"ThunderBolt-CWM i9000 libsqlite i9000 addon.zip"

comes with the script in "sdcard/bolt_script/sqlite_optimize" or both are a different thing?

Becuase I tried "ThunderBolt-CWM i9000 libsqlite i9000 addon.zip" for weeks and no problems at all. But when I enable the "sdcard/bolt_script/sqlite_optimize" problems starts to occur...
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
They're different things. The addon changes the way sqlite works on the phone, to make it faster.

The script just optimizes the existing sqlite databases, that's all.
[Android Software/Hacking General [Developers Only]] tanjiajun_34:
So its the script that is risky or the zip?
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
Dude, seriously?

Read everything I wrote - the answer is there.

And it's also in the original post.

Just read.