yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] yay1974:
thanks a lot. i had issues about "java not found" etc so i tried to install zip but it had many things to download and install
[Galaxy S II Themes and Apps] dzontra11:
How to install this app like normal app..or...?

Anyway i solve NR without any apps...just flash stock Poland rom 2.3.3. and echo gone.
[Galaxy S II Themes and Apps] dzontra11:
So..anybody knows how to install this apk?
[Galaxy S II Themes and Apps] fasst:
I decompiled my Phone.apk but there isn't any values dir or bools.xml in this apk? (from XWKI4)

EDIT. Ops, I unpacked the apk instead of decompile.

BTW. Have anyone had any luck installing the Phone.apk in post #64? My phone says, can't install ?
[Galaxy S II Themes and Apps] fredriko83:
I have installed the apk in this thread but still i need to manually turn noise cancellation of otherwise I'll get echo with my case mate tough case :( since this is my first Android phone and its a bit new I'm wondering if there is anything i need to do when I install the new Phone.apk? I have just started the installation from es file explorer and then I get a question if I want to replace systemsoftware... Which I do. But is there something I need to do? empty a cash somewhere or install it in another way?
[Galaxy S II Themes and Apps] dzontra11:
Same here..so how to install damn app?
[Galaxy S II Themes and Apps] a9402169:
You don't install it. You push it to system/app and replace the existing apk. Use adb or root explorer. Then you have to adjust permissions.
[Galaxy S II Themes and Apps] fredriko83:
OK i bought root explorer and copied the new phone. Apk into the the system/app folder. But unfortunately the echo isn't completely gone it was better when I just turned noise cancelling of for every call... any ideas? And also what do you mean by changing permissions? If I longhold on the new apk i can go into its permissions and they already ticked, or is it something else I need to change? Thanks for your help btw!!! Appreciate it alot :)
[Galaxy S II Themes and Apps] a9402169:
I use this mod, but don't have any echo problem. The permissions has nothing to do with echo, but in general you need to set the right permissions when pushing system apk, otherwise it will not work. Obviously, you don't have any problem with permissions..
[Galaxy S II Themes and Apps] dzontra11:
well ..i am on stock 2.3.3 rooted but apk its not work,, force close for me,,,
[Galaxy S II Themes and Apps] a9402169:
Make sure the apk is in system/app folder, then use root explorer, long press the phone.apk, check permissions, and make sure the right permissions are ticked. You can check other system apk's to understand how the permissions should be. Then restart.

If still doesn't work, the apk may be defective, or assuming you didn't compile it yourself, is just not suitable to your rom/firmware version. I used my own custom rom apk, decompiled with apk.manager, so didn't have any problem.
[Galaxy S II Themes and Apps] fasst:
Maybe it's not the correct thread to ask this but I give it a try.

It's my first attempt to use apk-manager.

Everything seems okay until I compile the apk and get a unsignedPhone.apk.

This file is mutch smaller in size than the original Phone.apk.

Anyone have an idea of what I'm doing wrong, and maybe have a link to a good tutorial for compiling and finish an apk?
[Galaxy S II Themes and Apps] a9402169:
before you compile back, try to set compression level to 0 (option 19).
[Galaxy S II Themes and Apps] fasst:
Thanks, I tried but no changes.

When I compiling I can see that the KEEP-folder has less files than in the project folder, especially the RES-folder.

When compiling I answer yes and yes for system apk and for adding files.

Can't figure out why KEEP-folder gets less files than project-folder?

---------- Post added at 06:37 PM ---------- Previous post was at 06:15 PM ----------

I maybe found the answer myself:

Resulting apk file is much smaller than original! Is there something missing?

First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
[Galaxy S II Themes and Apps] a9402169:
hope you did.

before setting the compression level to 0 it didn't work for me, only after changing the level to 0 - it did.

anyway, just make sure you decompile the apk with dependencies (10).
[Galaxy S II Themes and Apps] fasst:
Nope,

Still the same problems. I have framework-res.apk and twframework-res.apk as dependencies, but the problem seems to be all the language folders. When compiling they don't get copied to te KEEP-folder.

Here's the log. Don't really know what I'm doing wrong.

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

|09.10.2011 -- 19:12:28,18|

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

java version "1.6.0_26"

Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

aapt: warning: string 'SdcardNotMounted' has no default translation in C:\apk-manager\other\..\projects\Phone.apk\res; found: ko

I: Building apk file...
[Galaxy S II Themes and Apps] fredriko83:
Oops might have looked a little to quick at the installation before, after I copy the file to system/app and run it it says NOT installed... Even though I choose replace systemsoftware... So maybe it is something with permissions but I have tried everything, do I need to close a phone process or something before I install it?
[Galaxy S II Themes and Apps] a9402169:
is it a phone.apk taken from stock ki3? I needed only twframework-res as dependency.

---------- Post added at 07:16 AM ---------- Previous post was at 07:01 AM ----------

you don't install or run this apk.

just place the apk in system/app using root explorer.

make sure you mount r/w, and that the apk's permissions looks like -

V V -

V - -

V - -

and reboot.
[Galaxy S II Themes and Apps] fredriko83:
Ok thanks get it now... A bit slow :) i think will have to change my own apk because the one from the thread doesnt seem to work with my phone :(
[Galaxy S II Themes and Apps] dzontra11:
uhh damn ..i dont know ,,every single time force close...First i check my app( pnone apk from this thread) and but its looks like that..

. . .

. . .

. .

...so do i must first change to looks like system app and then copy and paste?Or?

Help ...needed..

TNX
[Galaxy S II Themes and Apps] fasst:
The Phone.apk is from stock KI8. I tried with depency from twframework-res.apk only. Still the same problem. All the language-folders from folder doesn't get included in the compiled apk.

The log points to some file in the Other-dir, and I don't know why?

Log:

aapt: warning: string 'SdcardNotMounted' has no default translation in C:\apk-manager\other\..\projects\Phone.apk\res; found: ko

I: Building apk file...

The point is to get Noisereduction permanently OFF.
[Galaxy S II Themes and Apps] a9402169:
try the attached KI8 phone.apk.

created it for myself, including Noise Suppression by default and a cacellation of increasing ring. works for me.
[Galaxy S II Themes and Apps] dzontra11:
For me its not working ,,still damn echo...
[Galaxy S II Themes and Apps] qsec:
This is noise supp off, right?

I tried it on my odex KI8 but the ring still increases?

But the noice supp feature was gone when hitting menu.

Cheers
[Galaxy S II Themes and Apps] a9402169:
Actually, My apk shouldn't work for you, since its deodexed... probably its your own apk which still working..
[Galaxy S II Themes and Apps] croperas:
I also wish to disable the noise suppression, but after i recompile and replace the phone.apk it always crashes....

I appreciate the supplied phone.apk files that some uploaded but i still wish do to it myself, it would have been better if someone wrote a guide or something.
[Galaxy S II Themes and Apps] croperas:
I've used Apk manager and Root Explorer.

I copied the Phone.apk and twframework-res.apk to my pc, then used apk manager to decompile with dependencies, iv'e changed the bool.xml, used option 11 to recompile.

is it normal that the newly created phone.apk is half the size of the original?

Do i need this option?

Building Apk

Is this a system apk (y/n)

Type input: y

Aside from the signatures, would you like to copy

over any additional files that you didn't modify

from the original apk in order to ensure least

# of errors (y/n)

Type input:

If i choose yes then the file size is 2mb if i choose no then it's 4.4mb, the original size is 4.5mb...

Also if i choose yes, it will create a keep directory and says i should delete resources.arsc if i modified any xml files which did, but after replace the Phone.apk i coudn't make any call and the options tab disappeared along with the noise suppression option..

Plus what is the proper procedure to replace the files using root explorer.

Do i first delete the original then copy and change permissions or do i just replace and change permissions or what?

I've tried it all, i either don't have a network signal at all or the phone.apk crashes all the time or with mms.apk.
[Galaxy S II Themes and Apps] a9402169:
Before you decompile back, try to set compression level to 0.

Then keep up with the procedure as if it was system apk, including the delete of resources.arsc. you should end up with file a bit smaller then the original.

push the file while replacing the existing file, then change permissions, reboot.
[Galaxy S II Themes and Apps] croperas:
Hey,

Thank you, Thank you!

Finally it works... :)

One more question tho, i'm not sure about resources.arsc, the keep folder contains xml files that i didn't touch so i don't know if i need to delete it or not.

Plus if i delete it the Noise suppression feature is totally gone from the phone options during a conversation. on the other side if i keep it the feature is there but always on off as i wanted to do. so what's really the right way?

File differences are as follows:

Original 4.663kb

With Resources.arsc 4694kb

Without Resources.arsc 3456kb
[Galaxy S II Themes and Apps] croperas:
I'm still not sure about the differences, but after some testing if i keep the Resources.arsc then the noise suppression is on off but still isn't really on off until you press the speaker or something...

So i decided to keep the version without the Resources.arsc files. that way no noise suppression at all :)

Also while using either one of the files the network signal jumps a lot between full and none after restart but if you wait like 2 mins after restart it's ok.
[Galaxy S II Themes and Apps] a9402169:
in theory, you changed xml files, so you must delete the old resources.arsc, so it can be rebuilt by the apk manager.

but if it works for you... ;-)
[Galaxy S II Themes and Apps] croperas:
Ok, Thanks! :D

BTW

I looked at some mode someone did, and he said to delete the classes.dex file along with the resources.arsc file.

Is it better that way?
[Galaxy S II Themes and Apps] a9402169:
I'm not arguing with what is truly working, but classes.dex is essential part of deodexed apk... weird.
[Galaxy S II Themes and Apps] croperas:
Ok, Appreciate the help, thanks :)
[Galaxy S II Themes and Apps] dragonthl:
Any1 have solution for stop noise cancelling.

My friends always complaint about echo voice because of it :(

Exynos rom 7.2.
[Galaxy S II Themes and Apps] croperas:
You can Decompile the phone.apk, remove the noise feature, recompile and replace the original. that will improve the sound in the conversation but the echo will still be there..
[Galaxy S II Themes and Apps] rzat:
hi, any chance for step-by-step tourtorial of how you create new apk with noise reduction off permanently??

many thanks
[Galaxy S II Themes and Apps] Xabiman:
How can I apply this patch???
[Galaxy S II Themes and Apps] SignalX:
thanks for this great mod guys!

its for Stock/Official roms, right?

what we can do for custom roms? cm7 and miui?

i use miui and have problem when i call

cheers,

SX
[Galaxy S II Themes and Apps] dzontra11:
Well..finaly i sold my sgs2 and buy new one..

On old sgs2 mic hole is too small and on new one is much biger...i presume that 's was the problem.

Now my sgs2 rocks.
[Galaxy S II Themes and Apps] mephillicus:
Hi, in this thread i found a modified Phone.apk based on ki8. Can anyone post a modified Phone.apk for xxki4? I really apprecied! Thanks

Ps:sorry for my english... :-[

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Themes and Apps] croperas:
I don't have any custom roms installed but the idea is the same, try to mod the phone.apk file.

I wasn't aware of such problems with the sgs2, nevertheless good to know.

It's a bit complicated as each phone.apk is per rom, since each rom occasionally modifies some system files, so unless you upload your own there's not much anyone could do about it.
[Galaxy S II Themes and Apps] rzat:
much appreciated... unfortunately (or maybe fortunately) ive taken my sg to service and quess what - mic problem. New mic fited and no more echo with any case on. So im affraid disabling noise reduction is just an workaround, for what it looks its a hardware issue. anyway many thanks for tourtorial - great info
[Galaxy S II Themes and Apps] dzontra11:
Same for me.....new phone no echo.
[Galaxy S II Themes and Apps] croperas:
You're welcome, but using software modifications the problem can be solved too, or at least reduce. worked for me...
[Galaxy S II Themes and Apps] ronnbon:
thanks for the great guide. I am on miui. I tried your guide but I haven't had the twframework-res.apk so I did everything without dependencies...

Was that okay?

To proof if there would be a change I tried to put of the call noice suppression manually before installing the modded phone.apk but I could not- I did not found the option.. Is this different with miui or even possible? (I changed to miui just today)
[Galaxy S II Themes and Apps] croperas:
Hi,

I haven't tested the guide on MIUI since i'm not using MIUI, but i don't see why it shouldn't work.

You absolutely need the dependencies and can't do any decompiling without them.

Try to find the correct or similar files in MIUI.

One more update is that after writing the guide and trying to disable noise suppression i have found that another guide exists which is even better.

Link here:

http://xdaforums.com/showthread.php?t=1127103

While using this guide you can solve the mic problem completely and easily without any trouble, try it out.
[Galaxy S II Themes and Apps] bazzag:
I tried LeoMar's fix with the help of croperas's guide (Thanks to both of you), and unfortunately all it did was just remove the option to turn NR on/off during calls. There is still an echo on the other side so it's still turned on by default.

Come on people, I'm sure this thing can be permanently turned off somewhere. :)
[Galaxy S II Themes and Apps] newHere:):
try this one:

http://xdaforums.com/showthread.php?t=1332137
[Galaxy S II Themes and Apps] pApit0o0o0:
i have the same problem .. when i replace the original phone.apk with some in the theme ... the only thing that is fixed is removing the icon of "noise reduction" but the echo is still there ... please help this is driving me crazy
[T-Mobile LG G2x] mightymike889:
Ok, ive been doing some research and it looks like eagals blood is prob the rom for me. I was wondering if i could get some advice on this, i am currently unrooted so im stock :(, this phone is killing me when it comes to battery life, the stability is so so, but my real problem is battery life i charge my fone about 3 times a day. I am a crazy heavy user, fb, texting about 200-400 message a day, phone calls every now and then, games (words with friends), and just random internet stuff. so my phone is like my life! My friend has a samsung captivate and he can go 12-14 of heavy usage prob not as much as me but he doesnt have it charging all the time like me. I was wondering what rom i should use to achieve great battery life and not lose out on stabilty or speed, look doesnt matter bc i use UTO kitchen.
[T-Mobile LG G2x] FatalityBoyZahy:
Are you looking for an Android 2.3.3 or 2.3.5 ROM?
[T-Mobile LG G2x] mojorisin7178:
Hey man if you want a 2.3.3 rom that is stock the best is Xboarders stock tweeked rom it is super stable and everything works and the battery life is great. I use that ROM myself when I am in a stock mood. You hit it on the head with eaglesblood it is the best rom out there. I use the 1.08 verion it is based off GB 2.3.5 it is a mix a cm7 and EB goodness. The battery life is also excellent on it but you will not have A2DP (thats BT stero music) And you cant flash the stock froyo LG camera and there are APN issues that A hard reboot fixes every time. All of the problems I just mentioned are not specific to EB they are however specific to GB 2.3.5 for the g2x. It has something to do with Nivdia not relesing something drivers or sorce I dont know what exactly but thats why. You have to make a choice. I hope this helps you. Oh I alklmost forgot I am a heavy user like you except not text mssgs or phone calls but net data data data I had to change my plan to the 10 gig plan 5 was not enough. So what I did was I got the extended battery for the O2x it fits perfdectly and it was only $30. Before that I had 2 stock batterys with an external charger that worked ok too but I hated changing the battery half way through the day you should look into that. Good luck man.

Charlie
[T-Mobile LG G2x] mightymike889:
i dont mind i want something stable, fast and great battery life...what does A2DP mean...im going to try EB 1.07 bc i hear no1 has problems with that...
[T-Mobile LG G2x] FatalityBoyZahy:
A2DP is Stereo Bluetooth Audio... That's only important if you listen to music using a Stereo Bluetooth Headset.

For battery life, I'd recommend a CM7 based ROM, with either a stock, or undervolted kernel, such as faux123.
[T-Mobile LG G2x] mightymike889:
When u undervolte does it slow does ur phones speed?
[T-Mobile LG G2x] thanasisc4:
I agree with FatalityBoyZahy,

I did see a battery life increase after installing CM7, but the most dramatic change in battery life came after installing faux's 0.4.1 undervolted kernel.

And no the speed and stability don't drop, at least not with faux's kernel.

I would imagine that a 2.3.3 stock GB based rom such as Xboarder's tweaked or EB 2.3.3 plus faux's stock GB kernel would produce the best battery life, as I remember experiencing a huge jump in battery life from CM7 to stock GB.

However, I feel like besides the great battery life, the stock GB roms are ****ty compared to CM7 in terms off features and stability.

For example you can't do Netflix or gtalk video on stock GB.

Also I didn't experience this, but some users experience reboots and other such nonsense on stock GB.

So in Summary:

- stock 2.3.3 based rom (EB 2.3.3 is your best bet here in my opinion) + faux kernel = best battery life

- cm7 based rom (EB 2.3.5 or latest CM7 nightly) + faux kernel = best choice for both great battery life and better stability/features

Hope this helps! :)
[T-Mobile LG G2x] moeahmad1995:
Weapon. Its so smooth and I get 3 days with medium usage
[T-Mobile LG G2x] gringo75:
triggers rom works amasing for me eaglesblood didn't realy play well with my phone been running his since i have great batt life
[T-Mobile LG G2x] wendellc:
Running weapon currently.
[T-Mobile LG G2x] mightymike889:
ima throw on the faux kernel tried looking for it but not seeing the thread does any1 have it...Q how do you get netflix on here using EB 2.3.3...it didnt come with it....i might just switch to CM7 in a week or 2 i wanna try this out...and does CM7 have netflix for the G2x?
[T-Mobile LG G2x] LordButtersI:
No. The only risk is that you might run into stability issues, but using morfic's UV11 it isn't an issue.

Undervolt, use SetCPU profiles, keep wifi/gps off when you're not using them, and keep your display brightness low. That will net you the best battery life.
[T-Mobile LG G2x] zevvez:
I believe the faux kernel is here: [Kernel]CM7 [2.6.32.45] (v0.4.1) OC~1.55GHz/UV/SLQB/BFQ/EXT4/Voodoo [Aug-27]

Looks like the CM version of the kernel is preferred by some in that thread (has to do with the battery driver).

Question: In terms of flashing the kernel, should I flash the ROM first and then the kernel? Or the other way around? (Or does it not matter?)
[T-Mobile LG G2x] thanasisc4:
Always ROM then kernel.

And I prefer the CM version of faux's kernel as well. Supposedly the DS version has better battery life but I've never been able to notice because I'm always busy pulling my hair out over the jumpy and wildly inaccurate readings.
[T-Mobile LG G2x] zevvez:
Thanks for the info! Didn't want to screw something up by going in the wrong order. :)
[T-Mobile LG G2x] mightymike889:
Thanks!

So which 1 do I get there's like 5 download links...
[T-Mobile LG G2x] cwa542:
eagleblood is the best, do 1.8, its way better
[Galaxy S II General] Prankey:
I recently encountered a weird bug when SGSII would establish wireless "g" connection at 54mbps (instead of regular "n" at 65mbps) when doing 3G to wifi tether on my Lenovo Laptop.

My other 2 laptops work fine as expected, however after doing some troubleshooting, its concluded that the wifi router IP forms a "black hole" hope because of which the external communication to Internet dies after 4 or 5 hops (internal to the ISP). While doing a Trace route, the first hop (the IP of the phone's wireless router - 192.168.43.1) doesn't respond to the trace route ICMP requests and fails, however it does work for the next 4 hops before eventually dying after that.

This proves that wifi connectivity between the phone and laptop remains good despite it being downgraded as "g" network when my laptop is capable of "n" at upto 300mbps.

Never had this issue before KG5 or higher builds and it seems all the custom kernels and ROMs based on these newer kernels are affected.

As this issue is affecting only my Lenovo Laptop, not sure if it was ever reported.

Fortunately I am able to flash kernels based on earlier than KG5 build like Ninphetamine-2.0.x (till 2.0.5).

All Ninphetamine-2.1.x builds and kernels like "RAGEmod v1-T30" are also affected.

I am currently on "TOUCH X-treme KH3 2.0 'PERFORMANCE'" ROM and fortunately it seems to be working fine on Ninphetamine-2.0.5 as per my preliminary testing.

I have 2 more laptops which seems to be working fine otherwise on any latest kernels.

I would appreciate if someone could shed some light on the reason behind this bug as I am still investigating the cause and on a fix other than older kernel versions.

My primary usage of this phone is completely impacted by this bug and I hope Samsung would be able to resolve this bug before their next official release of 2.3.4 or higher version builds.:rolleyes:
[Galaxy S II General] Prankey:
Hmm like the battery drain while charging bug on SGS1 I seems to be the only person shaken up by this bug which makes my SGS2 completely useless when using the latest kernels/ROMs.

My laptop has Intel WiFi Link 5100 AGN. Can someone having same/similar Wifi adapter report their experience?
[Galaxy S II General] Prankey:
Not surprised that Wifi tether is not used by most of us and hence such bugs go unnoticed and I paid a HUGE price of crashing my laptop which trying to fix the issue as I never thought it is the phone doing something weird which is preventing my laptop to get proper wifi connectivity.
[Galaxy S II General] Prankey:
Unfortunately no resolution till date. All the latest kernels and ROMs are affected. Not sure what is the issue as it defies logic why only one series of Wifi adapters are affected by this bug.
[Galaxy S II General] Prankey:
No resolution till date. All the recent kernels are still affected except the one on CM7 ROM.

Seems I need to wait for this update to become official in India before raising with Samsung here.