yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] nexxx85:
Versions modified:

DPI Changing zip (for CM7 only)

no DPI changing zip (for CM7 & MIUI)

Tweaks are in both version equivalent.
[Galaxy S II Original Android Development] elban:
is it feasible to add the market cache size fix?
[Galaxy S II Original Android Development] nexxx85:
Which market cache fix? Do you have a reference to it?
[Galaxy S II Original Android Development] roniez:
He is refering to the one that should be applied for people with a 5mb cache

the solution is to symlink download in /cache to the sdcard

Here is the link for the fix

But below you will find the solution too.

Open your favorite terminal app (i use irssi connectbot)
create a folder on your SD card
where you want to store your large download cache.

[code]
mkdir /mnt/sdcard/miui/market-cache

then SU (to get root access) approve any super user requests.

then change to the cache directory with the following

cd /cache

now backup the current download cache with the following command.

mv download download.bak

now create the symlink to your previously created folder.

ln -s /mnt/sdcard/miui/market-cache download

Confirm the symlink being present and have the right access rights.

ls -ahl

[/code]
[Galaxy S II Original Android Development] kickassdave:
mind explaining then when set to 233 the status bar disappears... when set to 240 it comes back???

p.s. and everything looks normal at 240 (I've been using MIUI on SGS2 since first beta)
[Galaxy S II Original Android Development] roniez:
that's a random bug in that case,

as when changin the DPI the statusbar should not disappare just be smaller.

so yea explain that.
[Galaxy S II Original Android Development] nexxx85:
I dont have a download folder in /cache

adb shell
~ # su
# cd /cache
# ls
downloadfile.apk lost+found recovery
# cd recovery
# ls
last_log
# cd ..
# ls
downloadfile.apk lost+found recovery

Anyone can confirm this?
[Galaxy S II Original Android Development] kickassdave:
--are you for real yeah? The default dpi for the SGS2 is 240

--the default DPI used in bmarko's MIUI for SGS2 is 240

--changing to anything less (or more) than 240 distorts MIUI on SGS2

--changing from 240 to 233 (which is the default you keep saying) introduces obvious colour banding consistent with not using the default DPI on the SGS2.

--you are not supposed to mess with DPI on MIUI as it is designed with a consistent UI in mind.

why do you want to argue about this?

can someone else hurry up and put this to bed....

[EDITS]

even better... I'll do it myself:

here's a straight copy from notepad after opening the build.prop in Notepad...

"/dev/ttyS0ro.sf.lcd_density=240"

oh what does that say? ffs...
[Galaxy S II Original Android Development] roniez:
no need to start cursing m8.

And yea 240 is the standard DPI for our SGS2 as it is for probbly ALL 480*800 resolution devices, how ever the statusbar should not disapper with 233 DPI thats what is the bug
[Galaxy S II Original Android Development] kickassdave:
it's bugged because we shouldn't be using a different dpi with MIUI....

and before we go down that route, no-one is going to attempt to reconfigure the whole framework of MIUI to be multi-dpi friendly.... unless you do?

my point was.... you said 233 was the default, and the zip was modified in the OP to that dpi so MIUI users didn't have UI bugs, but the default is 240, so we have a UI bug (the status bar disappearing)...

this ain't going to be fixed in here, or by anyone else. On MIUI, stick to 240 dpi.
[Galaxy S II Original Android Development] nitr8:
ui_print "Changing Density to $DPI";
cat /system/build.prop | sed -e "s/ro.sf.lcd_density=.*./ro.sf.lcd_density=$DPI/" > /system/build.prop1
rm /system/build.prop
mv /system/build.prop1 /system/build.prop

can be done in one line of code:

sed -i "s/ro.sf.lcd_density=.*./ro.sf.lcd_density=$DPI/"

just FYI
[Galaxy S II Original Android Development] julien712:
I have a problem

I have an sdcard external but File Manager say there is no files or folder

But when i put my phone on my PC, There is my files and folder on my sdcard external ...

What's the problem ? How solved it ?

Thanks
[Galaxy S II Original Android Development] nexxx85:
New Version Online...

V2:

Added Kernel Tweaks

Added Dualcore Scripts

Added Network tweaks

Changed Minfree Settings
[Galaxy S II Original Android Development] bluheart:
I installed the tweaks of CM7 on Oxygen 2.2 and it works nice. The graphics are cool and the overall speed of application launches and also the battery seems to have improved. Thanks for these tweaks. :D
[Galaxy S II Original Android Development] karendar:
So I'm guessing us modded Samsung ROMs can't use these? ;) Oh well... I'll add them manually.
[Galaxy S II Original Android Development] nexxx85:
Hm, ive not tested it, maybe it works!

Make a backup, try out and report back ;)
[Galaxy S II Original Android Development] spr33:
Can any of these tweaks be applied to a regular Samsung based SGSII ROM? (like LeoROM)?
[Galaxy S II Original Android Development] Pryda:
Can't you just read the post above yours? It's crazy.
[Galaxy S II Original Android Development] LeWildDroid:
Hi there. I just flashed your tweaks and wondering that if I will flash another nightly today of cm7, I'll also have to flash your zip again? Hope is not as dumb as I think it is this question :D
[Galaxy S II Original Android Development] spr33:
Viewed the page on mobile, it didn't show there was another page until I posted.
[Galaxy S II Original Android Development] nexxx85:
Yes, you have to re-flash my zip each time you update your nightlies. On a nightly flash your /system gets wiped. All my scripts,etc are on /system
[Galaxy S II Original Android Development] joshualimjs:
I flashed this tweak on my MIUI 1.8.26, and upon restart, the status bar is gone. lol.

Any ideas..?
[Galaxy S II Original Android Development] nexxx85:
I bet you used the DPI Version (which is for CM7 only)

For MIUI use the NODPI version
[Galaxy S II Original Android Development] joshualimjs:
Okay, a second reboot seems to solve the problem. cheers!
[Galaxy S II Original Android Development] joshualimjs:
Nope, Non-DPI version.

If any of you guys ran into the same problem, a reboot helps. (Power button not working the first boot, had to use clockworkmod to boot into recover and reboot phone from there). Should be working fine now.
[Galaxy S II Original Android Development] nexxx85:
New version online!

V3:

Removed Dualcore Scripts (Switched back to standard core management -> cpu1 always online, when screen is on, took too much juice)

Set CPU0 to ondemand

Set CPU1 to performance

Cleanup of old dualcore scripts

Changed scriptnames

Give some Feedback please...what do you think about the CPU1 performance governor.

When cpu1 is active it uses 1.2ghz to complete the task quite fast...then its deactivated anyway.
[Galaxy S II Original Android Development] nexxx85:
New Version ONline:

V4:

Removed Governor Settings (cpu1 was always active, according to cpu spy, sorry for that, bad testing ;( )

V5:

Bugfixing
[Galaxy S II Original Android Development] turzol:
Could you upload older versions of NEX-S Tweaks. V5 causes FC's on latest MIUI release.
[Galaxy S II Original Android Development] nexxx85:
Did you use the NODPI Version?

Tried to reboot?

Wipe Cache/Dalvik?

From V4 to V5 was only a change to the cleanup part -> mount systen RW, then delete files, mount system RO.

So no big changes.

EDIT:

Update Cleaner V4:

Added a lot of apps
[Galaxy S II Original Android Development] turzol:
Yes I use noDPI version. I tried rebooting many times and FC appears when I choose settings -> Sound Settings on MIUI

I did wipe dalvik cache and doesn't help
[Galaxy S II Original Android Development] nexxx85:
Thanks for the info...

Settings-> Sound is working on CM7

Can anybody on MIUI confirm this?
[Galaxy S II Original Android Development] blunatic:
can you upload the removed files as a Zipfile for download pls

thx
[Galaxy S II Original Android Development] maslaq:
I can confirm that sound settings is working on miui 1.8.26 with V4 and V5
[Galaxy S II Original Android Development] carlz36:
Can we use the DPI version on Oxygen 2.2.2?
[Galaxy S II Original Android Development] runedrune:
Working fine for me on Miui with V5.
[Galaxy S II Original Android Development] nexxx85:
Should work, because Oxygen is a pure asop build...

Do a nandroid backup and try out..

If you got FCs or anything else, restore the backup
[Galaxy S II Original Android Development] notoriouspk:
Nice.... works perfectly with cyanogen nigtly38 using nexus s tweaks v5....amazing clarity looks n feels awesome...keep up the excellent work
[Galaxy S II Original Android Development] nexxx85:
Thanks, but

don´t mix Nex-S and Nexus S ;)
[Galaxy S II Original Android Development] notoriouspk:
Hehe thank you!
[Galaxy S II Original Android Development] carlz36:
Is there a way to revert the DPI changes done by this mod? Im having problems on oxygen, my status bar disappeared and the only way it comes back is by doing a reboot.

PS: aside from that everything else is running flawlessly :D!
[Galaxy S II Original Android Development] gn00my:
thanks for your tweaks , phone really feels faster :-) or is it just me ?? :P
[Galaxy S II Original Android Development] Ferdimage:
I feel the same way, im on the latest MIUI build and my swiping homescreens seems smoother... i dont know if the tweaks also affects battery life, but i seem to get a slightly better battery usage.

Thank you

Edit: Windowevents set to 60 (much smoother scrolling) <-- must be this im feeling :)
[Galaxy S II Original Android Development] jofel:
Hi,

is it really a good idea to set CPU0 to ondemand and CPU1 to performance?

I think that would only make sense if the system always uses CPU0 first and then uses CPU1 when needed.

But i think the tasks are distributed radomly to the CPUs if both are idle.

Or am I wrong?

Overall your Tweaks are really, really good. The phone definitly feels smoother and batterylife seems to have improved a bit. Thanks for that :)

I' m using them on Oxygen 2.2, by the way.
[Galaxy S II Original Android Development] runedrune:
The governor settings were removed.
[Galaxy S II Original Android Development] jofel:
Oh, then i missunderstood the changelogs. I mixed it up with the "Dualcore Scripts"
[Galaxy S II Original Android Development] TheSaw:
Does this mod affect battery life? Or any other drawbacks, like stressing the phone hardware?
[Galaxy S II Original Android Development] nexxx85:
No, its not stressing the hardware...there is no OC or anything like this.
[Galaxy S II Original Android Development] OrangePillow:
I get signature verification failed error when try to flash this..anyone know the solution? running latest miui rom
[Galaxy S II Original Android Development] runedrune:
Try downloading it again? :p
[Galaxy S II Original Android Development] OrangePillow:
haha...it works...tq.. :)..
[Galaxy S II Original Android Development] schrickm5:
battery

I can confirm that the battery was being drained quicker than normal on the V2, with the Dual Core Scripts. (CM7 v36)

Am on v5 now - lets see how it goes. (CM7 v38).

Runs so damn smoothly, and looks better than anything around - especially with Go Launcher Ex.....App Drawer with Cylinder effect scrolling is a killer!!
[Galaxy S II Original Android Development] TheSaw:
Just installed it. Not sure if it's smoother or not, because it was smooth before, but it's really smooth now also :D I'll keep it on, as long as some battery or other issues won't arise from this. Good job ;)
[Galaxy S II Original Android Development] OrangePillow:
really waiting for Voodoo color kernel...love to see crispier color in sgs2
[Galaxy S II Original Android Development] yoohoo:
I'm waiting for voodoo color kernel too!
[Galaxy S II Original Android Development] buzzboy:
Noticeable speed increase with Oxygen.

Many thanks.
[Galaxy S II Original Android Development] TheSaw:
So far so good. No bugs, battery is quite good with light usage.
[Galaxy S II Original Android Development] nexxx85:
Update:

Tweaks:

V6:

Renamed init scripts to fit Oxygen

Cleaner:

V4:

Removed "remove Keyboard"
[Galaxy S II Original Android Development] brandenk0:
hmm decided to try out your tweaks. I'm currently running MIUI 1.9.9 and it installed fine but, upon boot, my status bar was missing... Any ideas?

Edit: Did a reboot and the status bar appeared again. Thank you for the tweaks.
[Galaxy S II Original Android Development] the4finger:
Love it! I'm using oxygen 2.2.2 and its working an absolute treat
[Galaxy S II Original Android Development] nrs1988:
been running it on checkrom v2 since this morning.

the only thing that seems faster is the contact list lag seems to have dissapeared completely.

not sure about the battery, it looks like it drains a tiny bit faster, with just 1:30 of screen time and already on 54%
[Galaxy S II Original Android Development] nexxx85:
Added V7 Tweaks:

Added some Android 3.1 binaries and libs
[Galaxy S II Original Android Development] Ferdimage:
Thanks for the tweaks... running great on miui without any issues

Sent from my GT-I9100
[Galaxy S II Original Android Development] the4finger:
V7 just installed and working good but having pretty sever colour banding in some situations. Any way to stop this?
[Galaxy S II Original Android Development] gn00my:
updated to v7 , running smooth on cyanogen with go launcher ex
[Galaxy S II Original Android Development] jayerfernandes:
nexxx85, Thanks for the tweaks. Works like a charm for cm7 and makes adw run like butter.

Would it be possible to make a version for a custom non aosp rom, in particular The-GingerMOD Vanilla, as all the AOSP roms lack a few features which I use frequently.
[Galaxy S II Original Android Development] nexxx85:
Update:

Working on Custom ROMs, which use a Kernel with init.d support! e.g. Ninphetamine

EDIT:

UPDATE: V8 Online
[Galaxy S II Original Android Development] gn00my:
thanks for the update , flashing right now :-)
[Galaxy S II Original Android Development] Dorilife:
Just for kicks i tried on a "stock"

Rom and feels great..

Good update!
[Galaxy S II Original Android Development] the4finger:
for ****s and giggles i flash VR just to give it a go and it's working well but i'm back to oxygen already =]
[Galaxy S II Original Android Development] Pacifiste95:
Hello,

actually i have Cognition 1.5.1 with Speedmod T-40 kernel.

It will work or not?

And it will Override my kernel or not?

Thanks
[Galaxy S II Original Android Development] nexxx85:
Acc. to Speedmod Thread the Kernel is supporting init.d scipts.

My tweaks should work!

Your kernel will NOT be replaced!

Do a Backup and give it a try
[Galaxy S II Original Android Development] ram3n:
I'm doing a backup up and give a try, with Revolution 2.6 ROM + Speedmod T40

Hope it will work and rockkkk !

cheers for this tweak !
[Galaxy S II Original Android Development] veyka:
Thanks a lot for this!

No negative side effects and feels good so far, CM7 nightlys. :)
[Galaxy S II Original Android Development] aamirleo55:
does this tweaks supports any custom rom of S2 ???
[Galaxy S II Original Android Development] nexxx85:
Read the first post.

It will work on any ROM with init.d support
[Galaxy S II Original Android Development] aamirleo55:
which one should i install ?? with dpi or without dpi ??
[Galaxy S II Original Android Development] nexxx85:
depends on the ROM you are using^^
[Galaxy S II Original Android Development] andresalonika:
Noob here!! What's the point of having less dpi? Less battery consumption i guess?? How is the colours and images are going to look with less dpi?? For example, i use KF3 with speedmod's T40 kernel and nex-s tweaks installed..
[Galaxy S II Original Android Development] nexxx85:
http://blog.edwinevans.me/?p=131
[Galaxy S II Original Android Development] nexxx85:
Update

V9: Added Taskamanger fix

Added Persistant Launcher
[Galaxy S II Original Android Development] Pacifiste95:
Can you explain us, why the persistant launcher is better?

thanks
[Galaxy S II Original Android Development] PipoXtreme:
It works smooth on my SGS II with DPI and Lightning 6.1 ROM ..

Battery drain looks nice @ moment !
[Galaxy S II Original Android Development] nexxx85:
Dont know IF its better, but its by far less annoying!

I use SPB Shell 3d, and if it get killed, the initialization takes about 30sec.

We got more than enough RAM to keep it there!

FYI:

ro.FOREGROUND_APP_ADJ=0

ro.VISIBLE_APP_ADJ=2"

ro.PERCEPTIBLE_APP_ADJ=3

ro.HEAVY_WEIGHT_APP_ADJ=4

ro.SECONDARY_SERVER_ADJ=5

ro.BACKUP_APP_ADJ=6

ro.HOME_APP_ADJ=1

ro.HIDDEN_APP_MIN_ADJ=7

ro.EMPTY_APP_ADJ=15
[Galaxy S II Original Android Development] GuestK00150:
hey!

I like the scripts fo far, so thanks for the work!

But it seems to break a function I need daily, so I`m not using the script at the moment. After flashing the tweaks I can not adjust the incall volume when screen is off. It got fixed in cm7 nightly 58 and is working without the script.

Hope you find the bug and you can fix it. I won`t use it till then cause without this feature it is very annoying to have a lot of phone calls ;)

Thanks in advance
[Galaxy S II Original Android Development] nexxx85:
Hm...strange, no problem here! Vol +/- with screen off works fine here.

Maybe you try a fresh install (fullwipe)
[Galaxy S II Original Android Development] GuestK00150:
I actually did, not working for me. Any settings to do?
[Galaxy S II Original Android Development] Pacifiste95:
Please can you write the version number in the title? (v9 for example)

Thanks
[Galaxy S II Original Android Development] notoriouspk:
dosent work with villian rom 2.5 tried v9 with dpi..can u make it for VR
[Galaxy S II Original Android Development] BAWS:
Can you somehow uninstall this?
[Galaxy S II Original Android Development] veyka:
That's a cm7 bug that's fixed in the newest nightly.
[Galaxy S II Original Android Development] nexxx85:
Thread title is changed.

Uninstall scripts is in work!
[Galaxy S II Original Android Development] nexxx85:
BIG Update:

Uninstall Script added! Uninstaller is only working on Nex-S Tweaks V10+

To uninstall Nex-S Tweaks PRE V10 flash you ROM again.

Tweaks V10:

Render UI with GPU

Optimized remount options

build.prop responsiveness tweaks

Renice kswapd0 to 18

Media quality tweaks

Added Backups, needed for uninstall

Refactored some bash
[Galaxy S II Original Android Development] Pacifiste95:
Render UI with GPU will consume more battery ? no?

thank you
[Galaxy S II Original Android Development] gn00my:
Thanks for another update :-) flashing right now
[Galaxy S II Original Android Development] nexxx85:
I tested these setting for one day and i didnt see any difference in battery life. But thats my oppinion. If you prove me Im wrong, its the next release will be without GUI HW rendering
[Galaxy S II Original Android Development] andresalonika:
What do u mean by Media quality tweaks?
[Galaxy S II Original Android Development] Ferdimage:
wow this thread is becoming more active.. thank you OP for the constant updates..

i just flashed V9 today will update to V10 now, changelog looks nice :)
[Galaxy S II Original Android Development] nexxx85:
I set the JPG quality to 100% and increased the available memory for media (memory is here to be used)
[Galaxy S II Original Android Development] veyka:
I have been looking at your mount points, i am not to sure if turning off barriers etc is a good idea on a mobile device.
[Galaxy S II Original Android Development] nexxx85:
Yeah, maybe you are right. With the new OC/UV Kernel in CM7 crashes may occour. So its maybe not so a good idea ;)

Update is coming
[Galaxy S II Original Android Development] andresalonika:
I've seen great improvement on my phone using KI4 + SpeedMod Kernel T40 after installing your tweaks!! Battery and performance have been improved dramatically!!! Now i think this phone is perfect and i wonder what difference it would make with a 1.5gig dual core phone if they can't improve their operating systems..Optimize your operating system to be better rather than convince people to buy phones with faster cpu's...(Just stating my point of view).. BIG GZ to OP !!! :D:D
[Galaxy S II Original Android Development] nexxx85:
Tweaks 10.1:

Removed barrier=0 mountoption (thx veyka)
[Galaxy S II Original Android Development] veyka:
Thank you! Maybe on a desktop system with a ups, but cm7 at least has some kernel instability, i know i get a crash to bootloader a week (don't need nobh as from my reading it only works in data=writeback mode or noauto_da_alloc with barriers on)

Also noatime gives you nodiratime (you had an extra space)
[Galaxy S II Original Android Development] nexxx85:
V10.2: Removed nodiratime, nobh mountoptions (thx veyka )
[Galaxy S II Original Android Development] Yoyoa:
After flashing this tweak, i lose my root access, is there something wrong?

I'm on villainRom 2.5

Someone have this problem?
[Galaxy S II Original Android Development] nexxx85:
SU app is still installed?

CWM Recovery is still accessable?
[Galaxy S II Original Android Development] lynx2k50:
Do you feel any speed improve?
[Galaxy S II Original Android Development] nexxx85:
Post your logs - Pastebin

You can find them on your SDCard (nex-s_update.log, nex-s_backup.log, nex-s_uninstall.log)
[Galaxy S II Original Android Development] Yoyoa:
Su app is here, and cwm recovery to.

But the i am unable to gain root access with all my root apps.

I post you log in a moment.

http://pastebin.com/kKxCHV6d

http://pastebin.com/HAau98hM

http://pastebin.com/tx2pY5Sx
[Galaxy S II Original Android Development] veyka:
I am also having problems with a root app being unable to access a partition, it was working fine with update 9, I am going to look at the mount options first then work from there.

Okies, I know the problem.

/system CANT be mounted nosuid or the su binary wont work.

In the 98nex-s_tweak file, replace the bit under "# Remount all partitions" with this

busybox mount -o remount,noatime,nodev /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev /data
busybox mount -o remount,noatime,nosuid,nodev /cache

After more research noauto_da_alloc seems to be only wanted on /data
[Galaxy S II Original Android Development] nexxx85:
V10.3: Fixed SU problem (another thx to veyka! )
[Galaxy S II Original Android Development] veyka:
Thanks! All is go here now! :D
[Galaxy S II Original Android Development] Yoyoa:
V10.3 perfect for me to
[Galaxy S II Original Android Development] lynx2k50:
@Yoyoa

Do you have a performance boost?
[Galaxy S II Original Android Development] gn00my:
And updating again :-)
[Galaxy S II Original Android Development] Yoyoa:
@ lynx2k50

May be a little performance, in quadrant it's better, it's not a superpowa.

And may be a placebo effect, i find it's more smoother than before.
[Galaxy S II Original Android Development] veyka:
I have hit 4200 quadrant, which is a stupid benchmark but it works.

Cm7 not overclocked, but slightly undervolted.
[Galaxy S II Original Android Development] the4finger:
Thanks once again! Buttery smooth and I love the 200dpi. Still having colour banding on my status bar. Is this just a trade off of the dpi change?

I'm on oxygen 2.2.2
[Galaxy S II Original Android Development] nexxx85:
Hm, do you have color banding without dpi changes?

Try to change ro.sf.lcd_density=200 to ro.sf.lcd_density=240 in your /system/build.prop and reboot

I use DPI version and there is no issue! What theme do you use? Maybe there is s.t. wrong with the notification bar png
[Galaxy S II Original Android Development] PunkOz:
will the CPU scripts work if im using SetCPU? I have my phone UV with SetCPU and its underclocked to 500 Mhz since i dont see any difference in the perfomance when its @ 800-1200
[Galaxy S II Original Android Development] pappschlumpf:
for example LBE Privacy Guard looses all configuration data after applying the tweaks and tegrak overclock start with the confirmation dialog. It looks like some data is lost.

That only occurs with the newest versions. V8, V9 no problems with that.
[Galaxy S II Original Android Development] nexxx85:
Yes...the tweaks will also work with changed Volts and MHz.

Schlumpf, did you use the latest version (10.3)?

Are the settings available after reboot with 10.3 tweaks?

Was there a crash with 10 or 10.1?