yashsingh1/xdaforums huggingface dataset:
[GT540 Optimus General] bataya:
Preamp like headphone amplifire, pro hedphones on what you can hear diference betwen 192 and flac have big independence and phone can not power it up so you need preamp.

Sent using Tt.
[GT540 Optimus General] MrAndroid12:
Unless if you're the type of audiophile that can differentiate the differences between golden patted wire to a standard one lol
[GT540 Optimus General] bataya:
That is what i talking about, you need very good equipment to hear diference betwin flac and 192, 320 so there is no poit of playing flac on phone and 50 euro hedphones. Same on pc, if you dont have sound card, amplifire and good headphones or speakers you can not make diference. It is all placebo efect...

Sent using Tt.
[GT540 Optimus General] MrAndroid12:
Me too, I rage quit and sold it :P

The GS2 is quite fast on stock anyways and also samsung implemented hardware acceleration, so phone should be flawless and smooth like iOS devices.
[GT540 Optimus General] -Grift-:
what you guys think of galaxy r??? :/
[GT540 Optimus General] maxgreece:
Possibly true but remember that the HTX XE comes with iBeats headphones (about 170 euros over here but only around $100 in the US). These are not the last word in audio fidelity but are of sufficient quality to be able to tell the difference between the various formats.

Obviously differences are easier to spot with better equipment. I am lucky enough to have a very good home stereo and an old pair of Stax electrostatic headphones with their own amp.

Not wanting to confess to the audiophile tag or anything but I have been for many years.

If you want to check out a 20 minute documentary on audiophiles in Greece - http://www.youtube.com/watch?v=xs1aUws0Lrs

I am the Englishman appearing fairly early on and its my house the final scenes of the documentary were shot at.
[GT540 Optimus General] liamwli:
I want it! How did you get it free? Contract? It looks like a £500 one to me....
[GT540 Optimus General] MrAndroid12:
For what?, listen to music? ABSOLUTELY NOT It shares the same weakness of the GT540 at a much higher price. It sounds a bit on the cold side but louder. I wouldn't recommend listening to i.e. Techno, Rap, Hip hop, RnB etc... on it.

The audio chip on the Galaxy S2 series are targeted for pop, classical, rock etc... music, but don't sound too pleasing either coz of it sounding cold as a pose to warm on wolfson chips.

Graphics Power.... yeah.... although Galaxy R is a downgraded version of Galaxy S2, games are more optimized for Tegra chips than Exynos's ARM Mali 400 GPU.

Processing power.......nah.......Galaxy S2 would be higher in this aspect ....
[GT540 Optimus General] -Grift-:
U know alot..
[GT540 Optimus General] maxgreece:
Got real lucky. The company my wife works at did an arrangement with Vodafone and transfered 3 lines from our company. For some reason Vodafone made an allowance of 250 euros per line plus they bundled in the allowance from our company on top so in the end we "bought" a Samsung Ace for a friend of mine and the HTC for me.

I would never have spent this kind of money for a phone (595 euros over here) otherwise.
[GT540 Optimus General] chrisd1a1:
Hi people, this isn't a development thread so I'm moving this to general.

Please post comments and questions in the right place

Regards

Chris
[Android Software/Hacking General [Developers Only]] :
Hi,

Execution of (user/rom) scripts in boot time is supported by the kernels (storing scripts in /system/etc/init.d).

UNIX provide a via for execute scripts on shutdown time, but i don't known any (android) kernel with this feature developed.

For this reason, I have developed a hack in order to execute scripts in shutdown time (just before the services are stopped and unmount partitions).

In order to include this feature in a ROM, you need to make a changes:

EDIT

Finally, I've decided to make this mod as a standard APK.

The framework edition is not easy and causing troubles to any users.

In the attachments of this post you have a installer that contains:

- apk that executes the binary

- binary that executes the scripts (with root permissions)

you can copy your executable scripts to /system/etc/initialization (scripts

executed in boot time) and/or in /system/etc/shutdown (scripts executed in

shutdown time).

in general, you don't need to copy any script in the initialization folder if your

kernel supports the init.d scripts folder.

Enjoy!

EDIT-END

1) Include this portion of code in the framework.jar

a) Decompile framework.jar

b) Edit com/android/internal/app/ShutdownThread.smali and include this procedure

c) In the com/android/internal/app/ShutdownThread.smali, search the function "run"

and next, search the code

(in some versions of framework.jar, the number 8 after the ShutdownThread$ differs. No problem)

d) Just after the previously searched code, include the "execute_shutdown_scripts_executor" function call

e) Recompile framework.jar

2) The "execute_shutdown_scripts_executor" has the only function to execute the

file "/system/bin/shutdownd".

You need to include this file (I attach) in this path and set permissions to 06755

(the scripts are executed has root)

3) Place your scripts in /system/etc/shut.d folder
[Android Software/Hacking General [Developers Only]] symphony.op:
applied in symphony-3.2.0

thx
[Android Software/Hacking General [Developers Only]] intronauta:
nice! very interesting ;)
[Android Software/Hacking General [Developers Only]] symphony.op:
is very useful.

to make backup of your preferred applications data, to disable media scan on boot, etc
[Android Software/Hacking General [Developers Only]] comnam90:
hmmm this is very interesting and could be usefull
[Android Software/Hacking General [Developers Only]] KMDonlon:
Very nice, will give it a go!! Thanks! ;)
[Android Software/Hacking General [Developers Only]] KMDonlon:
Followed the tutorial to a "T" and no go.....had no issues with the framework.jar and place the shutdownd file in system/bin.... chmod to 06755.....created shut.d folder in system/etc and placed a test script to output "works.txt" in my data folder on shutdown and no go....I am on a DX running .605 deodexed and rooted. I am stumped as I am not a novice at these types of mods...

Can someone take a look at my framework.jar for me to make sure I did things correctly??
[Android Software/Hacking General [Developers Only]] :
hi,

please, try the attached framework.jar
[Android Software/Hacking General [Developers Only]] KMDonlon:
No love :confused:...tried yours and nothing...I know my scripts work and I decompiled the framework.jar you uploaded to see why it is almost twice as large as my framework.jar.... any other thoughts or ideas?
[Android Software/Hacking General [Developers Only]] :
hi,

send me your /system/framework/ext.jar

in my galaxy s2, i use a mod by _jkay_. this implements certains functions of framework in ext.jar (in my case, the ShutdownThread.smli is implemented by this cooker in the ext.jar, but is not standard).
[Android Software/Hacking General [Developers Only]] KMDonlon:
Here you are sir, thank you for assisting me so quickly! :)
[Android Software/Hacking General [Developers Only]] KMDonlon:
*Bump*

Any ideas? :confused:
[Android Software/Hacking General [Developers Only]] :
your ext.jar not contains shutdown code.

it's on framework.

i don't known the reason of the malfunction.

this mod works fine in emulator and samsung galaxy s2.

sorry :(
[Android Software/Hacking General [Developers Only]] KMDonlon:
Could it be DX kernel simply does not support it? ...init.d scripts on boot work fine....I was hoping to get this working :(
[Android Software/Hacking General [Developers Only]] :
this feature not depends of the kernel.

please, let me known if the file /system/bin/sh exists and you have

enabled the usb depuratiin in settings - applications - development
[Android Software/Hacking General [Developers Only]] KMDonlon:
USB debugging needs to be enabled?
[Android Software/Hacking General [Developers Only]] :
it seems no, but for try
[Android Software/Hacking General [Developers Only]] KMDonlon:
YES

What do you mean by "depuratiin"?
[Android Software/Hacking General [Developers Only]] :
sorry, Swype error: debug

I'm working in a apk in order to implements this, without framework modifications.

stay connected...
[Android Software/Hacking General [Developers Only]] KMDonlon:
I will stay tuned!!
[Android Software/Hacking General [Developers Only]] :
first post updated with a standard app.

you don't need to edit the framework.jar anymore.

please, download the "SystemScriptsExecutor-cwminstaller.zip"

and install in recovery mode.

included files in zip are:

-apk that executes the binary in boot/shutdown time

-binary that executes the files in the init/shutdown directories (this

binary is executed with setuid/setgid permissions) [root is not needed]

enjoy!
[Android Software/Hacking General [Developers Only]] KMDonlon:
Tested the apk and still nothing....must be an issue with the DX kernel is all I can figure....
[Android Software/Hacking General [Developers Only]] :
please, you need to Instal the apk and binary, and set your scripts in /system/etc/shutdown

this mod is not kernel dependent
[Android Software/Hacking General [Developers Only]] KMDonlon:
I did exactly that, I also checked that the apk and binary were actually installed after I flashed your zip, they were installed properly. I then added a folder to sytem/etc named "shutdown" and set the permissions just like my init.d folder. Placed a test script to run that I know runs and out puts a test file...I tried rebooting and powering down and restart with no luck. If it is not kernel dependent that I don't understand why it won't work on my DX :(
[Android Software/Hacking General [Developers Only]] :
hi,

please, connect the phone to the PC and execute "adb logcat"

(first enable USB debugging on settings - applications - development)

next, hold the power button then select "power off" and confirm.

at the adb window, search for "matrix"
[Android Software/Hacking General [Developers Only]] Patrics83:
This is so cool!

Thanks a lot for sharing this :D

May I have the permissions to use your scripts in a mod that I have made?
[Android Software/Hacking General [Developers Only]] :
of course, you can use it! :)
[Android Software/Hacking General [Developers Only]] Patrics83:
Thanks a lot! :)

Edit: If you want to know how I have been using it :p

http://xdaforums.com/showthread.php?t=2113488
[Android Software/Hacking General [Developers Only]] biopsin:
cm10 - manual install

Pitty it does not support android 3+ as it´s a extremely handy tool for applying scripts after boot complete..
[Android Software/Hacking General [Developers Only]] Chan Kar Heng:
This works with CyanogenMod I assume?

Will work with CM 10.2? Would I be correct to say that this may not work in some future CM x.x? (Especially if the shutdown code is changed).

If a CM update gets installed, do I have to reinstall this?

Would it be possible to have SystemScriptsExecutor-cwminstaller.zip support something such as /data/local/usershutdown.sh instead?

(My CyanogenMod 10.2 & 10.1 has this: http : / / android.stackexchange.com/questions/6558/how-can-i-run-a-script-on-boot)

The /system/etc folder is a read-only file system & is less convenient...

Thanks & best regards,

kh
[Android Software/Hacking General [Developers Only]] Chan Kar Heng:
Quick question: Is this detecting shutdown event via BroadcastReceiver to receive Android OS shutdown events? No more based on some Shutdown*java hack right? It would really mean much better compatibility.

Anyway, I managed to get it working on CM 10.2 (Android 4.3). Here's my workaround:

Create a text file caleld SystemScriptsExecutor-cwminstaller.sh in your device, having following content:

========================================

#!/system/bin/sh

cd /

mount -o rw,remount /system

cd -

mkdir /system/etc/osinit.d

chmod 775 /system/etc/osinit.d

mkdir /system/etc/osshut.d

chmod 775 /system/etc/osshut.d

cd /system/bin

chmod 06755 SystemScriptsExecutor 2>/dev/null

echo '#!/system/bin/sh' > SystemScriptsExecutor

echo '' >> SystemScriptsExecutor

echo '# Trigger prompt for superuser access always.' >> SystemScriptsExecutor

echo 'su -c true' >> SystemScriptsExecutor

echo '' >> SystemScriptsExecutor

echo 'if test $1 = INITIALIZATION ; then' >> SystemScriptsExecutor

echo ' if test -d /system/etc/osinit.d ; then' >> SystemScriptsExecutor

echo ' su -c /system/etc/osinit.d/*' >> SystemScriptsExecutor

echo ' fi;' >> SystemScriptsExecutor

echo 'fi;' >> SystemScriptsExecutor

echo '' >> SystemScriptsExecutor

echo 'if test $1 = SHUTDOWN ; then' >> SystemScriptsExecutor

echo ' if test -d /system/etc/osshut.d ; then' >> SystemScriptsExecutor

echo ' su -c /system/etc/osshut.d/*' >> SystemScriptsExecutor

echo ' fi;' >> SystemScriptsExecutor

echo 'fi;' >> SystemScriptsExecutor

echo '' >> SystemScriptsExecutor

chmod 06755 SystemScriptsExecutor

cd -

cd /

mount -o ro,remount /system

cd -

========================================

. Install SystemScriptsExecutor-cwminstaller.zip as per included instruction.

. Ensure nothing is using the /system folder throughout.

. Inside device, as root, invoke SystemScriptsExecutor-cwminstaller.sh.

... Init & shutdown script folders are now:

..... /system/etc/osinit.d

..... /system/etc/osshut.d

. In your super user manager (Superuser or SuperSU), configure to auto allow su/root access.

. Shutdown device. SystemScriptsExecutor.apk app will be invoked upon shutdown & super user manager will notify that root access has been auto provided.

. Boot up the device.

. In your super user manager (Superuser or SuperSU), configure to its previous state.

. Place scripts as desired into below folders. Do mount -o rw,remount /system as necessary.

... /system/etc/osinit.d

... /system/etc/osshut.d

Hope this helps. SystemScriptsExecutor-cwminstaller.zip is good stuff.

kh
[Android Software/Hacking General [Developers Only]] Ricky Divjakovski:
very nice! havent tried it but when i find a need to i know where to look! :)

:thumbup:
[Android Software/Hacking General [Developers Only]] relol:
Can someone fix this for 4.4? I've noticed the changes need to be done to services.jar instead to framework.jar bc ShutdownThread is moved. I tried to decompile services, modify (paying atention to the run function to reflect the correct address) and recompile but i have errors :(

The apk doesn't work for me, i don't know why.

Any ideas?

Is the source code available for the apk? thanks!
[Samsung Galaxy Mini] razor2911:
hi guys today i was surfing on the internet and i find this two firmwares

i tried both and there work here are the links enjoy and thanks:D

Android 2.3.5: http://www.filefactory.com/file/cfbfe17/n/S5570XWKS7_S5570OXXKS2_S5570XWKS2_HOME.tar.md5

Android 2.3.6:http://www.filefactory.com/file/cf7a228/n/S5570JVKT1_S5570JVKT1_S5570XWKT2.rar

there are both installing with odin here it is:

http://www.filefactory.com/file/cc10300/n/odin.rar
[Samsung Galaxy Mini] abdallh222:
Does any room sapport Arabia language
[Samsung Galaxy Mini] razor2911:
sorry no arabia language
[Samsung Galaxy Mini] Gribonn:
Which rom and theme do you have ashiqputtur?
[Samsung Galaxy Mini] ashiqputtur:
Base rom S5570XXKPK Cyanogenmod 7.2.0 rc2 by squadzone. Using ics theme by achep

Sent from my GT-S5570
[Samsung Galaxy Mini] badung81:
How about english lanuage is have on 2.3.6.
[Samsung Galaxy Mini] coolsandie:
Every ROMs does have English language. :)
[Samsung Galaxy Mini] PsychicJian:
Really good. I'm going to install!
[Samsung Galaxy Mini] Tovagulet:
Actually the spanish version or Latin American version is on 2.3.6 :P

Just install either 2.3.4 or 2.3.5 and go to "Update" :P
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ankurcul:
Iam EU version hd2...I want to go back to stock version win6.5

Iam having magldr,android energy rom....Iam passing my mobile so I want hd2 as it was when taken out from box....plz give me steps...

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] prodroid1:
Google Dude

see if this works

theunlockr.com/2010/04/22/how-to-get-the-htc-hd2-back-to-stock/
[HD2 Android Q&A, Help & Troubleshooting and Genera] Ankurcul:
No luck...
[HD2 Android Q&A, Help & Troubleshooting and Genera] jdcream123:
Find a WinMo Rom here http://xdaforums.com/showthread.php?t=623283

Always make a backup.

1. Change .exe from rom download to .zip

2. Find file name RUU_Signed.nbh (or something like that. should be like ~270MB in size) and change name to LEOIMG.nbh

3. Put on a 4GB or less microSD card with a FAT32 format

4. insert sd into phone

5. go into bootloader by booting phone holding power and vol. down button

6. the flash should start automatically and should install stock rom/spl/radio
[HD2 Android Q&A, Help & Troubleshooting and Genera] Sander1384:
Ok, tried this,

the phone is starting up in bootloader

just stays at the red green blue white screen,

pb81100 hx-bc

spl-2.08 hspl 8G XE

0x05

Cotulla SPL

0x48

is it working? i can't see that it is,

should i reboot? :confused:
[HD2 General] Trudvang:
Hello!

I have problems with my calls now since I installed FroyoStone Sense V2. The robot voice, you know the drill.

I've hit the search button on this forum far too much , couldn't find anything working.

This is the order in which I installed things:

I had SPL 3.03

Installed HSPL4

Installed FroyoStone Sense V2

Has robot voice

HSPL4 is installed on the internal memory I think, while FroyoStone Sense V2 is installed on the SD card.

Can anyone help?

I'm sorry if someone already answered to this question, but I couldn't find an answer on my particular case.

Thanks in advance!

/Trudvang
[HD2 General] sugi6666:
did you try other roms?
[HD2 General] Trudvang:
Tried HSLP4 and HSLP3, and without touching the ROM.

Any ideas?
[HD2 General] Marvlesz:
HSPL3 and HSPL4 are just packages.

Also, as long as you have 2.08.HSPL .. you should be good to go.

And install radio 2.15.50. (If you don't already have it).

And last but not least, get a newer ROM. FroyoStone is very old, get a new one!

------------------------------------------------------------------------------

Or, if you don't want to go through all that.

Simply disable "Dialing tones" in sounds .. and while in a call, turn speaker on and then off and then hangup, robot voice will be gone (until next reboot).
[HD2 General] uli71:
If you have HSPL2.08 and radio 2.15.50.14 try this:

- go to settings/sounds

- uncheck audible touch tones

- make a phone call and when finished

- reboot
[Motorola Droid 3] dtr3030:
Hey guys,

This is my first post and first rom on my D3. I have, however flashed my D1 multiple times. So I have an idea about what i'm doing, but i'm not 100%. Anyhow, I was running 5.7 since it got released OTA. Was extremely happy with the fixes that came out in that ver. Started searching around and ended up flashing Liberty3 2.0 a few weeks ago. I noticed the battery drained somewhat fast when idling. So I did some searching and installed the speedy v7 script. Even got the "it works!" file when i looked in root browser. I also made sure to wipe data, reboot multiple times, wipe battery states and click my heels 3 times.

Battery life probably improved a bit, I still dont think its as good as stock 5.7. It is probably acceptable, but I am used to charging my phone before I go to sleep. Having around 90% battery life when i wake up, and being able to run on that one charge for almost 24 hours. This may be attributed to the surprisingly good sleep policies in the stock blur battery manager. I would love to have those built in to liberty. But I think that some of it also has to do that when I flashed liberty, my version dropped to 5.6.890.

Now after reading the entire thread for Liberty3 2.0, I see that people say to "apply hascode's patch" for 5.7. The thing is, no one links it. Did some poking around and are they talking about the second link from the bottom of this page:

hash-of-codes.blogspot.com/p/android-downloads (please add .html, i am new)

If so, do i just drop it on the SD card, boot in to safestrap and apply the zip?

Sorry this is long-winded. I just wanted to explain the extent that I have gone through before asking a question.
[Motorola Droid 3] Willis111:
Yeah, just install the rom and patch, both from clockwork recovery (cwr/safestrap). That patch is for his cm7 build I believe but I would still give it a shot if I was you, worst that happens is you have to restore a backup w/cwr and it might be what you need.
[Motorola Droid 3] DoubleYouPee:
Haha again no link. It's a mystery patch! :D
[Motorola Droid 3] dtr3030:
it's there. i'm a noob and cant post links. thats why i said "someone please add .html"

but here it is again:

hash-of-codes.blogspot.com/p/android-downloads . h t m l

i looked again right now and the bottom two look like rooted stock roms. the one just above that labeled "Users of OTA 5.7.894 apply this patch (after applying main .zip) md5sum 46c140b55469ab557cd053e992142223" might be what i'm after. i'm still on 5.6 tho.
[Motorola Droid 3] MrJudylicious:
hashcodes patch will work for liberty if youre installing it on 5.7.894. Yes it is for CM7, but it works for CM9/Liberty and probably all AOSP roms. I havent tried it with a blurrred rom. http://hash-of-codes.blogspot.com/p/android-downloads.html is the link (lol)
[Motorola Droid 3] DoubleYouPee:
What does it do btw?
[Motorola Droid 3] dtr3030:
I'm trying to figure out how to push my system to 5.7 while running liberty. Somehow I went from stock 5.7 to liberty 5.6. I still have the verizon system update on my sd card cuz I had debloated before and needed to manually update. It was 50mb I think. I don't think that will update libery tho, will it?

I assume the hashcode patch is his own system tweaks and fixes.
[Motorola Droid 3] deaffob:
Thanks for sharing this. BTW, do you know how I would go to 5.7 when I already have Liberty3 2.0 running over 5.6? I have no idea how this whole bootstrap thing works... More complicated than HTC and Samsung where you'd only get bootloader and recovery...

I'm using SafeStrap 1.6 and I'd like to not delete any settings I currently have. If that is possible...
[Motorola Droid 3] MrJudylicious:
what you should do is return to stock blur 5.6.890 (i prefer to sbf but ive received a lot of flack for it). Once on stock, root, install OTA rootkeeper from market, download the 5.7.894, install via stock recovery. Restore root from OTArootkeeper, install safestrap 1.06, install recovery from within the app, restart, hit menu during boot menu, make a backup, toggle safe system, format /system (under mounts and storage), install liberty, install hashcodes 5.7.894 patch!!!, factory reset clear data/cache, boot it up.

Obviously you would lose every settting you have. the idea behind safestrap is to leave your stock system untouched, and its about as surefire as it gets.
[Nexus S Q&A, Help & Troubleshooting] baka2x:
For all those running ics, has your camera's shutter speed changed for the better or is it the same as it was on gb?

I'm curious about the galaxy nexus' shutter speed and was wondering if it was strictly a software thing or the mix with the hardware. If the nexus s with ics has the same shutter speed as it did on gb, it'd be safe to say it's a hardware thing in the galaxy nexus.
[Nexus S Q&A, Help & Troubleshooting] irizwan:
It's a hardware feature =)
[Nexus S Q&A, Help & Troubleshooting] astmacca:
I think its hardware. I was really hoping it was a software thing as i'm heading OS in a week and wanted a more usable camera. The shutter lag annoys me as its too easy to miss a good photo of the offsprung.

I think the lag is mainly caused by the camera not focusing until the stutter is pressed?

Ended up using Vignette. Its a pretty cheap app, and you can focus, (without taking the photo) and then use the Vol key to take the shot. The crop/zoom function actually works pretty well considering the small lens of these cameras.