yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] pardus:
Odd, I was suffering the incoming call bug, however have just flashed v2.8.2 (from v2.8.1) and incoming calls are fine now.

The only thing I did was wipe dalvik-cache and fix-permissions.

EDIT: Nope I was wrong, it still FC's, will try replacing phone.apk
[Galaxy S II Android Development] Catscratch:
Yes. Without mounting r/w I can't remove/insert in this folder.

Maybe I try it again with disabled PIN, but I want the PIN question.
[Galaxy S II Android Development] TheWierd:
Might be different on phones/regions/etc.

At least on all phones I have tested got codes for TESTING(*#*#4636#*#*) purposes and hardwareinformation.

Be super careful and don't change something that you don't know what it does!!!! Some settings/codes might ruin the OS/phone... as usual with custom stuff ^^

http://www.askvg.com/google-android-hidden-secret-codes/

I also got a number that have saved since before, *#*#6484#*#* that is saved as "Mobile info", but it does nothing :confused:

Might be from previous phones.
[Galaxy S II Android Development] larso69:
I had the problem, solved it like this (comments in parenthesis):

D/L: https://bagarn.mine.nu/Android/I9100/Fix for FCs on ROM/Phone FC fix/Phone.apk

copy Phone.apk to phone (i copied to the root of externalsd)

su ./adb devices (to start the adb server)

./adb shell

su

mount | grep system (making sure it is mounted in rw)

mv /system/app/Phone.apk /storage/sdcard1/old_Phone.apk (backup the old one, ignoring issue with permissions)

mv /storage/sdcard1/Phone.apk /system/app/

chmod 644 /system/app/Phone.apk

exit

exit

reboot the phone

Thank you all for the posted helpful tips!

---------- Post added at 09:53 AM ---------- Previous post was at 09:03 AM ----------

The phone reboots itself when you insert the new Phone.apk? That is odd.
[Galaxy S II Android Development] Catscratch:
Ok, I tried it with your way. So, with ADB.

But same problem. After rebooting the lockscreen shows "no provider" and I can't use the phone for calling.
[Galaxy S II Android Development] larso69:
no provider would mean that you cannot call or receive calls... but does the phone force close on you when accepting calls?
[Galaxy S II Android Development] Catscratch:
1. With the Phone.apk integrated in the ROM 2.8.2 the phone process closes on accepting a call.

2. With the replaces Phone.apk I got no provider. This means, I can't call or get called. So I don't know wether the phone process would force close, because I can't get called. :)

Edit:

Thanks. But the problem is the same.
[Galaxy S II Android Development] pardus:
Likewise problem is exactly as described.
[Galaxy S II Android Development] johnhany97:
Working on a Final Fix for the Issue, in the mean time, ReVolt JB 2.8.1 Links are still up and you can out them with the Fix until one if found......
[Galaxy S II Android Development] ercxar:
I don't know but just a little hint maybe, Did you tried to replace your phone.apk with pin code disabled?

Do you use any pin code? Maybe that's why you guys can't even replace phone.apk!
[Galaxy S II Android Development] TheWierd:
Always good to ask, Sim-pin have been known to make huge messes on custom Android before.
[Galaxy S II Android Development] larso69:
Just fyi: I've always had sim-pin activated aswell as android pin unlock-code.
[Galaxy S II Android Development] pardus:
Never used pin code (or sim lock)!

I renamed phone.apk to phoneold.apk and then copied the new phone.apk in the same place, checked both files were present, then changed permissions of phone.apk and rebooted.

We're not quite as stupid as you might believe.
[Galaxy S II Android Development] larso69:
You think that leaving the phoneold.apk in there is a good idea?
[Galaxy S II Android Development] ercxar:
Nobody insulted anyone!! Be polite.

And as far as I know if you want to get rid of any .apk file you must rename that "apk" thing. The thing you did to rename it to phoneold.apk is a bad idea and it wont change anything. If you want to have a backup file you must rename it like this "phone.bak" rename the extension name.

And it's called experience. Just saying.
[Galaxy S II Android Development] pardus:
LOL, I was being polite :)

Ok, just changed it to .bak and guess what, there is no difference, I still have no signal
[Galaxy S II Android Development] Catscratch:
Did you tried to deactivate the SIM lock?
[Galaxy S II Android Development] Laurencito:
Just for the record I have no sim pin and I use the pattern lock..

There must be a fundamental problem here with some hardware being different. I haven't had the slightest problem with any of the other roms or rolling back from 2.8.

Think I'll wait for John to do his final fix thing
[Galaxy S II Android Development] pardus:
Sim lock is, and always has been, deactivated
[Galaxy S II Android Development] Catscratch:
Ok, then the SIM lock isn't the problem.

Now, the interessting questions is, what is different on our devices than the other devices?
[Galaxy S II Android Development] ercxar:
Maybe the kernel? I don't think so!

Maybe the modem? I think so! Do you guys use default modem that included in rom? I think it's LQ6 maybe try another one! I don't know just try! :P

Choose from here: http://www.veyka.co.uk/radios/
[Galaxy S II Android Development] larso69:
LPX here.
[Galaxy S II Android Development] Catscratch:
But the question is, why do the included phone.apk of the 2.8.2 works? (instead of incoming call bug, but the apk is executed)

And why do the phone.apk not work when it is replaced by any other. Is there some kind of signing process for the system apk's?
[Galaxy S II Android Development] pardus:
LPX here too, kernel is Dorimanx v7.27

If I go to mobile networks in settings I get 'Settings' FC
[Galaxy S II Android Development] johnhany97:
The ROM doesn't have a default modern to flash with the installation .....

It might be related to it ......

Yes the system apks have their own signature that could ruin A LOT of stuff if not done right ....
[Galaxy S II Android Development] pardus:
Can someone post the original phone.apk from v2.8.2 please?
[Galaxy S II Android Development] ercxar:
Original one?

You can extract it from zip file.

But anyway here you go
[Galaxy S II Android Development] pardus:
Sorry wasn't thinking, thank you
[Galaxy S II Android Development] ercxar:
Give it a try for LQ6 modem, It's the most compatible modem at the moment I think and it won't screw your gps lock either.

http://veyka.co.uk/sgs2/radios/I9100_radio_XXLQ6_CWM.zip
[Galaxy S II Android Development] johnhany97:
Just a quick question ..... can people Try this phone. apk ??
[Galaxy S II Android Development] ercxar:
Tried it john without any FC's or problems! I can make/receive calls.

Works great.
[Galaxy S II Android Development] johnhany97:
You couldn't receive calls before, right ?
[Galaxy S II Android Development] ercxar:
I could. Two other guys can't receive/make calls.

I replace my phone.apk with the one in first post and problem solved that time. But I can try to replace original phone.apk to see if I can reproduce that problem again to test your new phone.apk file.

Just wait I'm gonna try it now and I'll let you know.

EDIT:

Even with replacing original phone.apk from 2.8.1 release I couldn't reproduce the problem!

Sorry I don't have time right now to flash rom again to check it for you John. :(

We just have to wait for those guys to test it for us.
[Galaxy S II Android Development] Catscratch:
Ok. I tested it.

First, the Phone.apk from post 1235.

Result: Same problem.

But I found something out. After that I tried the original Phone.apk from 2.8.2, which I replaced after flashing 2.8.2 and which worked, but got me the incoming call bug. After I copied this backuped Phone.apk back, I got the same problem like with all other Phone.apk's.

So it seems, that there is a problem with the replacement process itself?! WTF?
[Galaxy S II Android Development] pardus:
Tested the post 1235 apk myself just now -> no signal.

Original apk -> no signal but immediately after flashing (the ROM) I had signal but got FC on call answer but not now with the original apk in place, odd. The permissions are 644, right?

I'm going to do a full wipe and then check again.
[Galaxy S II Android Development] ercxar:
You two guys @Catscratch and @pardus

Download this modem file and flash it via CWM then wipe dalvik cache then reboot. Do it in which stage you have no signal reception.

http://veyka.co.uk/sgs2/radios/I9100_radio_XXLQ6_CWM.zip
[Galaxy S II Android Development] pardus:
Ok so I wiped completely and flashed v2.8.2, I get a normal phone signal and 'mobile settings' doesn't FC but I get the FC when I attempt to answer a call.

I then replaced the phone.apk with the one in post 1235 and all is well, I don't get the FC when I attempt to answer! So for me at least a full wipe and replacing the apk did the trick.

I have no APN's but that's another story and I do know how to fix that.
[Galaxy S II Android Development] johnhany97:
Step towards Fixing the Issue, Now .... There are Two users ( At least here whom are talking ) whom are facing the issues, So please LOGCAT and then send me the log .... Like Open the Phone, start Logcatting and do a test by trying to call yourself from another phone, then answer and when it crashes, Send me the Logcat .... OK ?? There are plenty of logcat Tutorials here on XDA ..... OK ??

Edit: Send the Logs in PASTEBIN.COM !!!
[Galaxy S II Android Development] Laurencito:
John, very close to the solution.

I installed 2.8.2 with all default options - no phone problem (had clock problem)

installed 2.8.2 with default kernel, Solid explorer, Apex and JB stock Launchers, Apollo, DSP Manager and Inverted Gapps -

PHONE PROBLEM!

I will try and do you log cat thing.

L

---------- Post added at 10:09 PM ---------- Previous post was at 09:48 PM ----------

Can't be bothered to open a paste bin account. Download logs here.. Hope I did it right

http://www.weedyworld.co.uk/test/Laurencito_logcat_and_device_info.zip

L
[Galaxy S II Android Development] Catscratch:
Ok, then I will also do a full wipe this weekend.

Edit: I tried it. Complete fullwipe + kernel cleaning script.

Then I installed 2.8.2 -> Incoming call bug

Then I replaced the phone.apk -> No provider = same error as before.

I don't know whats going wrong. But I'm tired of flashing and testing. I'll stay on 2.6 until a sammy based ROM is available. Maybe I try ReVolt with Android 4.2.

Anyway, thanks for your time and keep going. :)
[Galaxy S II Android Development] Laurencito:
What options did you select when installing the ROM? I reckon its inverted Gapps or Apex (dunno why) and will do some testing when I have time. For my iinstalls I did Wipe data/cache/dalvik install rom wipe cache/ dalvik
[Galaxy S II Android Development] Catscratch:
I chose standard options (means, I didn't changed something) instead of gapps. There I chose the inverted ones.
[Galaxy S II Android Development] johnhany97:
Ok ... First of all, could you flash the Modem in that post : http://xdaforums.com/showpost.php?p=35362639&postcount=1241

Second of all, try again with the same steps for clean installation BUT with Gapps instead of Inverted Gapps
[Galaxy S II Android Development] Catscratch:
Ok. First, I tried the model some time before, but this doesn't changed anything.

But now guess what.

I did an upgrade to 2.8.2 (no clean installation) but this time with normal gapps instead of inverted onces. And you won't believe it, but it runs immediatly! I don't have to change the phone.apk or other things. Everything is working correct!

Thanks for this nice idea!!!
[Galaxy S II Android Development] ercxar:
So that means the only problem is with Inverted Gapps?

Couldn't believe that! Nice investigation @Laurencito

And absolutely very nice rom John!
[Galaxy S II Android Development] Laurencito:
Cool, and a shame because I like the inverted apps. Hopefully the inverted developers can look into this.
[Galaxy S II Android Development] Catscratch:
But what is the relation between the iGapps and the Phone.apk? Can't believe it.

Gesendet von meinem HP Touchpad via Tapatalk für ICS.
[Galaxy S II Android Development] pardus:
To throw a spanner in the works - my working install is with inverted Gapps! My non-working installs were also with inverted gapps.
[Galaxy S II Android Development] ercxar:
Exactly what I did here! A little bit confusing but I always tried it with Inverted Gapps! Then replaced Phone.apk and everything got working again!
[Galaxy S II Android Development] Concurssi:
I just installed with normal gapps. Phone is working fine, don't know about the audio issue yet, but I seriously hope it's fixed now. It was getting so annoying I'm thinking about switching to a different rom.
[Galaxy S II Android Development] Bardak00:
If you'll check the last build 2.8.2 you'll find TWO Phone.apk instances: first in "system\app" and the second in "Revolt\Inverted\system\app"!

So, idea about rewriting Phone.apk during installing Inverted Gapps is real.

John, please fix it in next release.
[Galaxy S II Android Development] Catscratch:
Ha nice hint.

That could be the solution.

Gesendet von meinem HP Touchpad via Tapatalk für ICS.
[Galaxy S II Android Development] Laurencito:
I could not resist! So I deleted the phone.apk from Revolt\Inverted\system\app and there is NO incoming call problem! (as in it

does

receive incoming calls now in case that's confusing) Well done Bardak!

Need to do a little more testing but for me that seems to be the solution. Interestingly I looked at Revolt 2.7 and that has the same extra phone.apk but no problem. Oh well
[Galaxy S II Android Development] TheWierd:
Excellent! As I don't like Inverted I have no problem, but good to know. Strange that phone.apk switch work for some people though..
[Galaxy S II Android Development] zeema:
Excuse me but how to use the lg 4x HD lock screen?cause I can't set it
[Galaxy S II Android Development] johnhany97:
Go to Security => Lockscreen in Settings app
[Galaxy S II Android Development] zeema:
Thanx a lot

I ve just flashed this ROM and I faced 2 random reboots I don't know why

But it's a great ROM at all thanx
[Galaxy S II Android Development] Hidjes:
Set in stweaks scaling_min_standby_freq to 300000KHz and set in rom control keep 100MB free, this should help.

Btw john I found a small bug in the normal Gapps, if you play music in google music there is a miniplayer in the notificationpanel. There are 2 sizes and sorts for this miniplayer, if there is no other notification the miniplayer is full size (2rows) and if there are others it is 1 row. Now the miniplayer with other notifications is the half of the full size miniplayer. It is very hard to explain, but when you try yourself you will see!
[Galaxy S II Android Development] Concurssi:
The audio issue is still there. Do you really have no idea what could be causing this? It wasn't there in 2.6.
[Galaxy S II Android Development] Hidjes:
Audio issue? Explain plz
[Galaxy S II Android Development] Concurssi:
This:
[Galaxy S II Android Development] Catscratch:
Ok. I tested the 2.8.2 some time now and would say, that the battery life time decreased regarding the 2.6. Would say about 70 percent of the life time of the 2.6. (dorimanx)

Can anyone confirm this?

Gesendet von meinem HP Touchpad via Tapatalk für ICS.
[Galaxy S II Android Development] Hidjes:
I recognized it too. But battery life isnt everything, the improvement made in the ROM in 2.8.2 is so great. (Almost) no bugs hand do fluid like water.
[Galaxy S II Android Development] Catscratch:
Hm, I got no problems with 2.6, so battery life time is very important for me. :)
[Galaxy S II Android Development] Laurencito:
I would agree with this. 2.6 / 2.7 was spectacularly good. With those versions you always had a bit of battery left at the end of the day where as with this its getting very close to empty.

I am very very impressed with how smooth this Rom is though. Tried the WanamLite Rom (Samsung 4.1.2) and it was much clunkier.
[Galaxy S II Android Development] guruxin:
indian font

i cant do attachment in PM. so i am attaching here than pasting link.
[Galaxy S II Android Development] johnhany97:
ReVolt JB 3.0 (Based on Android 4.2.1) is coming soon so stick around :D
[Galaxy S II Android Development] Laurencito:
coooooool :D
[Galaxy S II Android Development] zhuchella:
What is the base ?
[Galaxy S II Android Development] johnhany97:
AOKP 4.2 with CM Cherrypicks
[Galaxy S II Android Development] zhuchella:
Ok. In new version of the rom can U remove tha black line on the incoming calls ?
[Galaxy S II Android Development] pardus:
+1 to that, not even sure what it's supposed to be doing?

One very minor thing I found, when I'm in an any app and after a while the screen goes off normally, when I press the home button the phone wakes up like it should but shows the app for ~0.5 sec then goes to the default home screen rather than -just- waking the phone. In v2.6 pressing that button woke the phone but didn't close the app and show the home screen.
[Galaxy S II Android Development] johnhany97:
Screenshot what you are talking about it in the Phone app ........ I don't get you ....
[Galaxy S II Android Development] TheWierd:
When you lock the screen and wake it right after, what you had on screen shows up for 0,5sec. For me it has happend on every custom(maybe original as well, never used for long :P)ROM.
[Galaxy S II Android Development] pardus:
Normally when in an app (say Gmail) and the screen times out/goes off, one press of the home button would wake the phone up and Gmail would be visible, to get to the home screen would take TWO presses of the home button. Now one press of home wakes phone up, clears Gmail off the screen and shows the home screen.

Nothing to do with screenshots

EDIT: The power button behaves like the old home button used to, ie wakes the phone but doesn't clear the app.
[Galaxy S II Android Development] ponczo:
Hi, i've done clean instal (2.8.2) with format everything and I still have FC on answering calls :(

BLN also not working (tryed latest siyah and dorimanx).

Sorry but I'm back to other rom and I'm waiting for an update.
[Galaxy S II Android Development] Bardak00:
Did you remove Phone.apk from Inverted folder before installation?

John, could you please do that yourself and renew build on storage?
[Galaxy S II Android Development] johnhany97:
Sorry I can't right now as I am too busy finalizing ReVolt JB 3.0 (IN ANDROID 4.2.1. !!!!) Coming soon especially for the S2 I9100 !!!
[Galaxy S II Android Development] larso69:
BLN works np for me on my I9100: download STweaks and set it up there.
[Galaxy S II Android Development] johnhany97:
Make sure you adjusted the settings in STweaks properly .....
[Galaxy S II Android Development] Catscratch:
I did it.

The "fixed" ZIP for i9100 2.8.2 can be found here:

http://www.multiupload.nl/DJ16KJ0K7Y

MD5: 40e3d06d6c6762f62ef5400b4efd53ee
[Galaxy S II Android Development] johnhany97:
Thanks very much for your help and contribution for ReVolt ROM
[Galaxy S II Android Development] Godyn:
I heard that! ;)

Looking forward.

I heard that Google still had many bugs in 4.2.1, so I'm curious if you get them solved.

Will it be AOKP? Compatible with Dorimanx kernel?
[Galaxy S II Android Development] johnhany97:
For now, Almost all the bugs were fixed .... It is based on AOKP and It is not FULLY compatible with Dorimanx Kernel yet ....
[Galaxy S II Android Development] Godyn:
Thx, looking forward, but maybe I'll wait until those Dori bugs are also fixed. The kernel really is awesome, long lasting battery and great performance and features.

Keep up the good work !
[Galaxy S II Android Development] sebyyy:
have problem with

installed this rom today and i am coming from RR rom.

First problem when the phone booted it mentioned the clock is error.

then when i tried to put apn, the phone process errro comes.

now when i get calls i cant take calls, when i take calls, calls are getting disconnected.

i did all as per the instalation guid. ecxept the format system... how to do that?
[Galaxy S II Android Development] larso69:
Please read the thread. There are remedies.
[Galaxy S II Android Development] Laurencito:
Download fixed version

The "fixed" ZIP for i9100 2.8.2 can be found here:

http://www.multiupload.nl/DJ16KJ0K7Y

MD5: 40e3d06d6c6762f62ef5400b4efd53ee

For Clock problem go to app manager and clear data for clock I think
[Galaxy S II Android Development] Catscratch:
I already asked some pages before, but is there any solution for the problem, that the ringtone only rings once? (own ringtone as mp3 or ogg)
[Galaxy S II Android Development] Moose0721:
Is anyone else having every app FC on them? This rom is brutal. I came from 2.6 where everything worked and now nothing works. I can't even use my phone because it FC's every app that's running and then freezes so I have to hard reset. WTF? Should I do a full wipe? Its getting very tiring having to wipe my phone almost every month or every time there's an update. Seems like the updates don't really fix anything they just cause new problems. 2.8.2 from 2.6, wiped cache, dalvik, battery stats, flashed, wiped cache, dalvik and battery stats again. Google apps crashing, youtube, exchange, fb, calendar, clock, beautiful widgets, nova launcher, maps, calculator... everything crashes. Constant popups. WHAT DO I DO?

oh and is there any reason why I have like 160mb left of app storage out of like 1gb..? Shouldn't I have more? I barely have any apps on here because my phone gets wiped out like every month. Is there a way to expand the system storage?
[Galaxy S II Android Development] Catscratch:
Did you flashed the fixed version?
[Galaxy S II Android Development] Hidjes:
You have to wipe your data: do a factory reset + dalvik cache + cache partition. Then flash and wipe cache again. Everything should work fine then. Only FC known after full wipe is the clock FC but the fix is known and is a few pages backwards. GL
[Galaxy S II Android Development] johnhany97:
Hey Guys, How is it going ? I have a surprise for the I9100 users ....... The FIRST ReVolt ROM Nightly for ReVolt JB 3.0 !!!!!!!!! Based on Android 4.2.1 !!!!

BUT FIRST !!!!!! I wanted to list the Nightly Rules for ReVolt ROM, If you follow them, I will respect you and support you, Other than that, You'll be ignored :P

Rules:

1-NEVER EXPECT A 100 % Perfect Nightly, It is a nightly -_-

2-Never change kernel that comes with it and expect support

3-Nightlies come WITHOUT Aroma Installer, but have the needed Apps for a Daily Driver ROM

4-They are NEVER FULL Builds, They are just to show you what is in progress of the work, and to help fix bugs before releasing a stable build ....

5-I won't be releasing DAILY / WEEKLY / MONTHLY Nightlies, They are released ONLY when I believe they are needed ....

6-Nightlies are BETA BUILDS, so DON'T COMPARE THEM WITH STABLE BUILDS !!!!!!!!!!!!

7-More could be added at ANY TIME !!!

Now that we finished that, I would like to say that Mainly nightlies are for people who want to have the latest thing NOT the most stable thing !!!

Installation Steps for THIS Nightly (WHATEVER ReVolt OR ROM You're coming from )

1-MAKE A NANDROID FIRST !!!

2-Wipe Data

3-Wipe Cache

4-Wipe Dalvik-Cache

5-Flash ROM

6-Flash Gapps

7-Enjoy

Link for Nightly 22122012 : http://goo.im/devs/ReVolt/ReVolt_JB_I9100/Nightlies/ReVolt-JB-3.0.0.zip

Link for 4.2.1 GApps : http://goo.im/gapps/gapps-jb-20121212-signed.zip

Don't Forget the Rules

Merry Christmas for all :)

Thanks in advance,

Johnhany97
[Galaxy S II Android Development] TheWierd:
Nice one but I'll pass on the nighty. Send me a nudge on Facebook when you upload the final version!

:D MERRY CHRISTMAS EVERYONE :D