yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III General] universalsameera:
Recently when I slide my keyboard in my Kaiser, network connection disconnects, it says no network detected, insert sim. Then I go to settings and click turn phone off and then turn on, then the connection comes back but then I slide keyboard again and same thing happens. When I only use touch screen as my keyboard this doesn't happen. Please help!! Thanks :)
[Tilt, TyTN II, MDA Vario III General] myc:
Suspect the main flex cable is worn out and may need replacement.. "motion of sliding" caused issue
[Motorola Photon 4G] pbedard:
Can someone help me i uses *#*#4636#*#* it was a no go and i used tge build.prop n nothing
[Motorola Photon 4G] w0lf215:
Try a full wipe /system /data and reinstall.. Did the trick for me when I had that in past.
[Motorola Photon 4G] ashhanlove:
GSM is not working

Some of them have a question about using a international sim… Infact i have the same question… i have flashed my phone with multiple different roms still i cant get my Vodafone sim to work majority of the times i get this error message “com.android.phone has stopped working” i am not sure if anyone has answer. But i would really appreciate if someone could help us with that error message. Thanks again
[Motorola Photon 4G] DualSportDad:
Clear catch,dalvik and fa Tory reset. Flash jokers 3.2 cm9 from and g apps. Let phone boot up to setup screen. Reboot into recovery, clear cache and dalvik, flash jokers 4.2.1 or 4.3 and reboot.

This worked for me.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] .Hell.:
Hello everyone .

I am new to that forum and i just installed the ROCKET ROM for Galaxy Note N7000

Everything seems to work just fine and so fast the only problem i have is

that i want to read and write the Arabic language ,

So i was hoping people here could help me with that and the steps i need to do

Thanks in advance .
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
UAE rom have arabic support.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] .Hell.:
Yeah i do know it have Arabic support but i flashed my ROM to rocket ROM today and i love this ROM the only problem i have is how to make my phone read Arabic that's all cuz i can type it thro keyboard but not in right way not like arranged way as it should be
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] thermax04:
There is a thread here about Arabic patch, never tried it because Iam using official stock Arabic rom
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] 1902:
http://xdaforums.com/showthread.php...B1/2 -CL1+ Arabic Keyboards for Deodexed ROMs
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] .Hell.:
Thanks everyone for trying to help me out , especially " 1902 " his thread seemed to work just fine with me and all good thanks a lot man
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] MoHed:
Rocket from has its own rtl patch as a zip. Just look several lines down in the thread and you will find it. Flash it on top of rocket.

It works flawlessly.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] .Hell.:
Yeah i have found it :) thank you so much
[HTC EVO 3D] drbadass:
After they changed the way discounts are applied in Feb, my bill went up $5.

I called them today to complain. They offered me $80 to add on a year to the contract, which would not affect the upgrade I have sitting around on my primary line.

Mathematically, $5 increase for a year is $60, so $80 makes up for it.

Thoughts?

EDIT: I'm in a well covered 4G area, and planning on picking up (assuming it happens) the Evo ONE X phone we think is coming with my upgrade. No other upgrades on my account besides that one.
[HTC EVO 3D] Rydah:
Nah, you'll end up spending more as your locked in longer.

Sent From My HTC Evo 3D, On The Now Network By Sprint.
[HTC EVO 3D] Genjinaro:
As long at it doesn't mess with your upgrade date, no reason not to like it.
[HTC EVO 3D] adrand:
If you don't plan on leaving sprint anytime soon then do it. I always jump on those offers when they come along because i am perfectly happy with sprint and don't plan on switching anytime soon.

Good luck.
[HTC EVO 3D] GrandWorks:
Yeah I take that deal, unless I plan on leaving. One year, and it shouldn't screw with your upgrade at all...If you're staying, it's free money.
[HTC EVO 3D] atistang:
For what its worth, they offered the same thing to me, but @$100

Idk if they have a formula based on your monthly bill or what, but maybe you can get them to do that?
[HTC EVO 3D] ssexpress:
I had the same issue a while ago and got 120.00 been with sprint like 18 years:)
[HTC EVO 3D] Drachen808:
Is your contract up???

If you have say 6 months left on your contract, plus you tack on a year, then you will be paying 5 a month for 18 months. This would equal 90 dollars. I don't know where you are in your contract, but I just wanted to point it out to make sure that you take this into account.
[Samsung Galaxy Nexus] sloppy1:
This is official stock image build backed up cwm recovery fastboot flash. just unrar then drag folder to your backup folder inside your clockworkmod folder on your phone then open rom manager then click restore,then your back to stock,or just go into recovery and select restore ,if you use or dl it plz click the thx button ,it is not rooted nothing added or taken away , pure STOCK,,,,4.0.4 IMM76D ,,XXLA2,,,,, http://www.mediafire.com/file/ca2ixixe5wqr5dm/2012-03-30.16.49.54.rar
[Samsung Galaxy Nexus] iPathik:
Do you have to be on 4.0.2 to do that? or you can be on any custom rom and then just restore with that??
[Samsung Galaxy Nexus] Mikey:
doesnt matter, its a backup......which are images of your recovery and boot. System, cache and data images also.

So yeah doesnt matter.
[Samsung Galaxy Nexus] marvi0:
Hmm, this could be just what I need, can I just download this directly onto my phone? And what app do I need to unrar please.?
[Samsung Galaxy Nexus] sloppy1:
yes u can androzip from market will unrar it
[Samsung Galaxy Nexus] marvi0:
Cheers buddy trying it now will feedback. So basically after this i just have to use toolkit again to root right? So will this wipe?
[Samsung Galaxy Nexus] sloppy1:
id still do a full wipe to be safe and you will need to root it if you want to
[Samsung Galaxy Nexus] jcsww:
I'm going to give this a try also. What kernal is in this?
[Samsung Galaxy Nexus] marvi0:
Just to confirm, this has been the easiest way to flash for me, many thanks buddy.
[Samsung Galaxy Nexus] sloppy1:
im glad it helped you
[Samsung Galaxy Nexus] sloppy1:
3.0.8-g034fec9
[Samsung Galaxy Nexus] as0k:
What radio should i use to 4.0.4 roms?
[Samsung Galaxy Nexus] marvi0:
Arh good question, am coming from galaxy s2, so not sure, did you check in the dev thread? Am sure that's were the info is am going to check as well.
[Samsung Galaxy Nexus] Mawdo:
The stock radio is not that bad, i see no diffirence between the new radio and that of kk6 :)
[Samsung Galaxy Nexus] isa.ahmed:
this is not for Nexus or S2?

and this is will wipe all thing? and go to orginal one?

and this is for GSM or LTE?
[Samsung Galaxy Nexus] Bob@Desire:
Is it possible to flash this over Stock rooted 4.0.2 without user data wipe? :confused:
[Samsung Galaxy Nexus] terminal 7:
great

firstly thanks and all that - very happy :)

and please dont flame me but im amazed there are folk who dont know what RAR is , i cant imagine how you can get to the point where you feel the desire to root a phone but somehow havent heard the term unrar !!

again im not having a dig its just an observation, may be im just too old and rar is a format some folk have never come across :)

heres to WINRAR and other extracting tools :) LOL
[Samsung Galaxy Nexus] jcsww:
Like the other user stated, this has also been the easiest upgrade for me. Went straight from 4.0.1 to 4.0.4. Used the Nexus Toolkit to restore root, Clockwork, etc. I have tried flashing to 4.0.4 on two other occasions with other ROMs and had the odd issue. Thanks!
[Samsung Galaxy Nexus] sloppy1:
back up your 4.0.2 first and try you can always reflash
[Samsung Galaxy Nexus] feropont:
Thanks You.

Optimal option for to flash Stock ROM, and for rollback with the Custom ROM.
[Galaxy S II Themes and Apps] kahvitahra:
Additional

If you don't want that "Shutdown Method" text on top of that menu then:

-Open GlobalActions$99.smali

-Remove following code

const-string v2, "Shutdown Method"

invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

move-result-object v1
[Galaxy S II Themes and Apps] kahvitahra:
Problem? Check following posts for help.

When pressing restart/shutdown button and you only see title and "ok" and "cancel" -buttons, then see THIS post.

Hot reboot does not work? See HERE.
[Galaxy S II Themes and Apps] barikke74:
Hi, i tried to do this mod but not work....the option menu disappears and system reboot...

I renamed the file and his path in GlobalActions$15.smali but I can not make it work...
[Galaxy S II Themes and Apps] kahvitahra:
Hi!

You have to change those three files names then. In your case like 15, 15$1, 15$2. Then you changed that path in globalactions from 4 to 15? Great so far. Now you need to change every name called globalactions$10 to that $15 inside those three files i attached. You might want to use notepad++ for this. There's addon that can do this easily.

Maybe i rename those files to something else, since people have so big numbers on globalactions.

EDIT. I uploaded new source files. Now It's named $99, so i bet that none have that already existing. Edited tutorial also, so you name 4 to 99 in GlobalActions.smali :)
[Galaxy S II Themes and Apps] barikke74:
Hi kahvitahra and thanks for the quick response

I did all that you said but it does not work

Now I try with the new source

Thanks again
[Galaxy S II Themes and Apps] kahvitahra:
If you still have problems, then please attach logcat, so i can see what causes it.
[Galaxy S II Themes and Apps] barikke74:
I do not work ...

I put the logcat, I hope will be helpful to

http://dl.dropbox.com/u/52103175/alogcat.2012-03-31-14-38-49+0200.txt

and this is the policy

http://dl.dropbox.com/u/52103175/android.policy.jar
[Galaxy S II Themes and Apps] kahvitahra:
What rom is that? is it ICS?

My bad that i have not been using ICS yet. Atleast your rom have build that global.actions differently. Your power off button is number $5. So instead of changing that 4 to 99, you should change 5 to 99. There can be something else changed also, but you can try just that if you like. Or since you have restart button already(?) then if i was you i would replace that button ($6) and then remove that shutdown from my files.

I should flash ICS and test this on it.
[Galaxy S II Themes and Apps] barikke74:
Yes, my ROM is ICS based...

If you try on ICS i wait your notice;)

Thanks for your time
[Galaxy S II Themes and Apps] uppon2:
Will test this out now :D
[Galaxy S II Themes and Apps] af974:
Moved to themes and apps.

Btw, nice work :)
[Galaxy S II Themes and Apps] barikke74:
I'm sorry but can not seem to make it work:(

I follow your instructions to the letter.....i don't understand:confused:

EDIT: ok ok.....finally I succeeded

Thanks 10000000
[Galaxy S II Themes and Apps] kahvitahra:
It should work. Tested it on couple of ICS roms. Attach logcat with error, then maybe i could help you.

Edit. Great man. :)
[Galaxy S II Themes and Apps] interpol2050:
I can't decompile android.policy.jar. It said it doesn't contain classes.dex. I opened it with winrar, it only has 1 folder META-INF. It's a SGS2 with ICS LP3
[Galaxy S II Themes and Apps] kahvitahra:
Your rom must be odexed then?

See THIS thread for how to decompile and odex those back.
[Galaxy S II Themes and Apps] interpol2050:
I tried to deodex android.policy.jar but got this error. Could you help?

C:\Users\Q*****\Documents\Samsung\Deodex-Odex>java -Xmx1024m -jar baksmali.jar

-c :core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:framework2.j

ar:android.policy.jar:services.jar:apache-xml.jar:filterfw.jar -x android.policy

.odex

UNEXPECTED TOP-LEVEL EXCEPTION:

org.jf.dexlib.Util.ExceptionWithContext: Unknown opcode: f1

at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont

ext.java:54)

at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio

nIterator.java:87)

at org.jf.dexlib.CodeItem.readItem(CodeItem.java:157)

at org.jf.dexlib.Item.readFrom(Item.java:76)

at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)

at org.jf.dexlib.Section.readFrom(Section.java:143)

at org.jf.dexlib.DexFile.<init>(DexFile.java:431)

at org.jf.baksmali.main.main(main.java:250)

Caused by: java.lang.RuntimeException: Unknown opcode: f1

at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:51)

... 6 more

Error occured at code address 28

code_item @0x12c04
[Galaxy S II Themes and Apps] kahvitahra:
DL latest baksmali/smali 1.3.2 and for ICS files you also need to use API Level: 15. So add "-a 15" command when baksmalin. See HERE.
[Galaxy S II Themes and Apps] interpol2050:
I did this: Deodex -> decompile -> modify -> compile -> reodex -> copy signature. No error occured and all seem fine as expected. I placed original android.policy.jar and patched and signed android.policy.odex to /system/framework but my SG2 stuck at boot animation. Any idea? ( I restored my SG2 btw )
[Galaxy S II Themes and Apps] Tornade69:
Re: [MOD] 4-Way Reboot - How to (GB) (ICS)

Thanks but already try this... The two lines was already correct and i have had to add the <clinit> but still not working...
[Galaxy S II Themes and Apps] Messi10:
when i press reboot i can see the menu but when i select something and i press ok phone freezes --> vibrates ---> reboots

logcat
[Galaxy S II Themes and Apps] kahvitahra:
Hello to all!

As you may have noticed, I have been taking time of from android modding. My GF have my gs2 now and she still used GB :)

I planned to update her phone to JB this weekend 'since official builds rolled out. Same time I will update these "how to" -files to JB.

In the mean time, I see you guys have "NoClassDefFoundError"

Fellow member xIC-MACIx did send me PM time age, when he reworked this 4way to JB for gnex. He said that shutdownthread.java have been relocated.

Old destination in ICS was

"com/android/internal/app/ShutdownThread"

New in gnex JB is

"Lcom/android/server/pm/ShutdownThread"

That is called from added file ( GlobalActions$99$1 ), so you guys should change that to correct one. You can baksmali services.jar and look is that shutdownthread.smali in that location for this phone also. I checked these and edited correct locations to above.

But as I said, I will also update these tutorial files for JB this weekend.

Cheers!

EDIT. Edited correct locations to shutdownthread
[Galaxy S II Themes and Apps] phenomarc:
Thanks for update the guide and the files!
[Galaxy S II Themes and Apps] Tornade69:
Is this working only for Samsung JB Roms ? I'm using AOSP 4.1.1 on my chinese Tablet. My shutdown menu (before mod) show only ok and cancel.

thanks anyway... nice mod!!!
[Galaxy S II Themes and Apps] alkhafaf:
Thanks for this great mod

I was just wondering, can you mange to make the pop up window (the one with the list of boots) appear even if I am on lockscreen ? cuz it doesnt appear until unlock the phone.

much appreciated

thanks
[Galaxy S II Themes and Apps] kahvitahra:
This is originally made for MIUI, so i believe you can make this work on any phone. There just can be some changes in resource ids and such, but should be very easy to spot errors. You can try and if you have error, then attach logcat here and I'll try to help.

Well, i think everything is possible, but this list view does not show during keyguard. It might be that this hole mod should have build differently for that and I have currently no interest/time trying to achieve that, sorry. :)
[Galaxy S II Themes and Apps] amro habib:
How Translate the 4 wayreboot to others language In framworke-res.apk

arabic & French

Restart

Hotboot

recovery
[Galaxy S II Themes and Apps] Josehg:
Look at the end of the code within «...»

Regards

Enviado desde mi GT-I9100 usando Forum Runner
[Galaxy S II Themes and Apps] Kathleen10:
thnxxxx
[Galaxy S II Themes and Apps] NuriJ:
--deleted--
[Galaxy S II Themes and Apps] Tornade69:
need help

Ok. followed all the steps for JB Roms. I have Ainol Crystal 7 tablet with JB 4.1.1 and i'm trying to add this mod in my rom. Working on this for few days now. still not Working.

Here's what i did :

-Decompile android.policy.jar with baskmali 1.4.2

-add the 3 files provide for JB Roms

-In file "GlobalActions$99.smali" there is id 0x1110008, i check my public.xml and had to change for 0x1110009.

-Id for ok and Cancel are matching

-in GlobalActions.smali, found that i needed to change line Lcom/android/internal/policy/impl/GlobalActions$2 to $99 (2 lines)

cause ids in following line match strings power_off

-Also looked in services.jar and ShutdownThread.smali is in good location

-paste the lines in GlobalActions$SinglePressAction.smali correctly

-recompile with smali 1.4.2

Now, i have no change at all. When i hold powerbutton, same menu as before : ok and cancel and if i hit ok, tablet shutdown immediatly.

No error concerning shutdown in logcat so i post full logcat (maybe miss something)

Logcat.txt download

modded android.policy.jar download

i've read the whole thread and now don't know what doing next.

Thanks for helping me...
[Galaxy S II Themes and Apps] kahvitahra:
Sounds wierd :/

I bet that there's something fishy in globalaction changes (2 to 99) 'cause if you make it to call different files, then it cannot function as before. After implanting this mod have you tried all other buttons in power menu that are those working like in stock?

What does that file globalactions$2 look a like? I could try to take a look of your android.policy.jar next evening if i have some time then.
[Galaxy S II Themes and Apps] Tornade69:
Yes it weird, Couldn't try other buttons in power menu cause i only have ok and cancel when holding power button. Same in stock rom. After mod nothing changes, cancel button is cancelling and hitting ok , shutdown tablet.

in GlobalActions.smali the $2 lines look like this :

new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$99;

const v3, 0x1080030

const v4, 0x1040137

move-object/from16 v0, p0

invoke-direct {v2, v0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$99;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V

the two ids referring to Power_off and Global_action_power_off maybe the mistake is here... i search for shutdown string in public.xml and can't find it.

saw another post from a guy with A700 tablet. http://xdaforums.com/showthread.php?t=1980076. he made the mod based on your thread. I had a look at his android.policy.jar and look like he have same kind of shutdown but cannot find what i missed...

Anyway when you have time... no rush for it... and thank you very much for bringing this to us...
[Galaxy S II Themes and Apps] kahvitahra:
Ahh, now i see. Your powerbutton only shutdowns phone. Then you should change that globalactions differently i think. You should search call for long pressing that button. It could be in phonewindowmanager.smali. I'm just quessing here. :) differing that guys files (who did this mod for your phone) to stock files would go long way.

edit. I ment phonewindowmanager.smali..
[Galaxy S II Themes and Apps] kahvitahra:
Tornade69: Looks like your rom have skipped power key to have any functions in it. That is why there is only shutdown form. Many other options are build in your globalactions, but those are not used. This all could be enabled, but there's same changes needed to achieve that. This same thing is build also in GS2 phone. It's called "factory mode" in this phone and when it's on power key function is same kind of as yours.

Now to your problem. After you press power key - have you tried to click on that "Turn Off Tablet" text or what ever there is. NOT clicking ok or cancel buttons. This way that guy you linked on your post have it working.

There is also other ways to do this, like enabling hole globalctions dialog/ changing long press on power key function to open straight this 4way reboot.

Also for GlobalActions$SinglePressAction.smali you could add "shutdown" and change "download" to "bootloader", since your phone have bootloader mode(?) http://xdaforums.com/showpost.php?p=34410843&postcount=14

Tell me your findings after trying this. :)
[Galaxy S II Themes and Apps] Tornade69:
Thanks to you. I try to hit the text in the box but the only clickable area is the OK or the Cancel. I've search for Factory mode but i don't think my tablet is stuck in this mode because if it was that case, By long pressing powerbutton tablet will shutdown directly without waiting for ok or cancel. i think tablet manufacturer made it that way, that's it...

For now i will take a look at the code from the guy who made it for his tablet and try to find what i'm missing here and maybe PM him.

For me the best should be Hold powerbutton (longpress) and gouing directly to powermenu... i'll working on it but don't have lot of knowledge in coding.

i'll let you know if it success or not...

many thanks.
[Galaxy S II Themes and Apps] nguyenson_44:
Good

This thread is useful for me.

Thanks!
[Galaxy S II Themes and Apps] kahvitahra:
Okay. I'm still a little confused that do this other guy have same tablet that you do or not? sorry for stupid question :D

He did not change anything other than you did. So his rom is working little differently i think.

Oh, it was click on power that brings this dialog. I was looking for press code.

Those click/press on powerkey codes are in phonemanagerwindow.smali. So from there you could change that to directly call powermenu.

I hope you have some luck with this. :)
[Galaxy S II Themes and Apps] S0bes:
In this post show how translate to other languages: http://xdaforums.com/showpost.php?p=34161253&postcount=165

You should just replace your code with zcop code and in GlobalActions$SinglePressAction replace name of items to your language symbols.

For example, for Russian language you should make this code:

# direct methods
.method static constructor <clinit>()V
.locals 3

const/4 v0, 0x5

new-array v0, v0, [Ljava/lang/String;

const/4 v1, 0x0

const-string v2, "\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430"

aput-object v2, v0, v1

const/4 v1, 0x1

const-string v2, "\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0440\u0435\u0441\u0442\u0430\u0440\u0442"

aput-object v2, v0, v1

const/4 v1, 0x2

const-string v2, "\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0430"

aput-object v2, v0, v1

const/4 v1, 0x3

const-string v2, "\u0420\u0435\u043a\u0430\u0432\u0435\u0440\u0438"

aput-object v2, v0, v1

const/4 v1, 0x4

const-string v2, "\u0412\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435"

aput-object v2, v0, v1

sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;

return-void
.end method

Screenshots:

But in this code:

const/4 v2, 0x2

sget v1, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootMode:I

if-eq v1, v2, :cond_111

const-string v1, "recovery"

goto :goto_18

:cond_111
const-string v1, "download"

I changed goto :goto_18 to goto :goto_0 . Because before of it I had some issues
[Galaxy S II Themes and Apps] nguyenson_44:
Oải...

Uhm... Difficult 4 me...
[Galaxy S II Themes and Apps] Benowit:
:good: Work fine on my Acer E350 Tank you
[Galaxy S II Themes and Apps] cleverior.ipul:
Nice guide bro :good:

last night i tried this mod on my samsung galaxy pocket and it works !

Sent from my command prompt
[Galaxy S II Themes and Apps] anurag.dj2u:
will it work on Motorola xt910 aka droid razr
[Galaxy S II Themes and Apps] cleverior.ipul:
Hai bro, if i just want to add button Reboot, Hot Boot, and Recovery only, Which code should I delete ?

I've tried to delete this code in GlobalActions$SinglePressAction.smali

const/4 v1, 0x3

const-string v2, "Recovery"

aput-object v2, v0, v1

but shutdown method to be FC. What should i do ?

oh ya, sorry if im not good in english. :D