yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] EddyOS:
I've got a stock build in my kitchen waiting on just the multi-boot meu so if you wanna send me the file(s) I can test it for you?

Out of interest, should this conflict with any mods to SystemUI.apk? Reason I ask is all I really want in a 4.2 build is the fixed Quick Settings and this APM but what I've done so far crashes SystemUI.apk on loop :(
[Samsung Galaxy Nexus] Fuzzy13:
I mainly want "hot boot" added to the menu. I use a script with a shortcut on the home screen to do this now but I would love to have the option in the actual reboot menu. Could you share with me on how to make it happen? Which smali file to edit, what to add etc.... It would be amazing if you could share some info with me.

Thanks for your time and work. :D

Edit. Well I found the actual guide on Google Docs for creating an extended boot menu from start to finish. Im going to replace the bootloader option with hot boot. My only question now is what do I call for the hot boot option? I'l idg around in your jar file to see if I can what I need to add and replace on the bootloader option.
[Samsung Galaxy Nexus] xIC-MACIx:
Thanks, I'm back at school so I had my roommate test for me lol.

This mod does not have any dependencies on SystemUI, so good to go there. (this only uses android.policy.jar) If by Quick Settings, you mean the mod in the dev section, then your issues could be caused by the "lockscreen widgets" addon in the Quick Settings thread b/c the lockscreen code is located in android.policy.jar also.

Okay, not sure what progress you have made, but you can also check out the original thread HERE. There is someone in that thread who replaced bootloader w/ hotboot.

The two places you should look is "GlobalActions$SinglePressAction" for the text strings that show up in the menu & "GlobalActions$10$1" for the commands to reboot to 1 of the 4 options.

I don't know a whole lot about the specifics b/c these source files added have been relatively unchanged for almost a year; even longer if you consider that MIUI devs used the same source for GB lol. What I am getting at here, is AOKP implements this feature in a different way, so I would figure out where the options are called in AOKP code.
[Samsung Galaxy Nexus] Fuzzy13:
Thanks for the reply.

Yeah Im seeing that the AOKP rom is very different. I get the idea of how it works in the mod but Im not sure how it works in the AOKP ROM. Im still learning how to read smali so its a process as I go. I get the gist of everything but it can become overwhelming.

Thanks for your help
[Samsung Galaxy Nexus] xIC-MACIx:
Lol yeah, they use the same source, but when AOKP & CM compile w/ all of their features, its a whole other animal from stock AOSP; line #'s, public hex and tons more it different from stock.

I've always said smali is basically java vomit, same basic layout...completely different syntax lol.

Edit: I also forgot to add earlier that hot reboot uses the "pkill" applet, if you found the reboot commands in AOKP smali files.
[Samsung Galaxy Nexus] xIC-MACIx:
Multi-Reboot for Jelly Bean 4.2 is now fully working for me! Uploading now! :good:

NOTE: I had to update my busybox applets to get hotboot working, if you have issues, update busybox!!

Edit: Volume Skip mod working also! All files and combos for this mod are updated!

- Mac
[Samsung Galaxy Nexus] EddyOS:
APM working fine in my stock JOP40C ROM, although I don't like the order...any chance of just doing one like this?

I'd try and do it myself but can't seem to find a decent guide on decompiling the android.policy.jar file in 4.2

Good job, btw - much appreciated!!

---------- Post added at 03:09 PM ---------- Previous post was at 02:22 PM ----------

OK, got android.policy.jar decompiled but have no idea what I'm doing now! I can see the lines you've added but I tried to remove/reorder and I've broke so back to my Nandroid I go for now!
[Samsung Galaxy Nexus] xIC-MACIx:
Hmm...the only difference in the order with that one is the "hot boot" being added? lol I also removed the title & icon box, which I can most definitely show you how to add back!

I actually love having the hot boot option for themeing purposes and/or a quick system refresh. With it being right under reboot, any accidental presses of it will result in about a 10-15 second delay vs. hitting recovery or bootloader and having to wait 1 min to get back into Android.

If you would like to remove hot boot:

-Open up GlobalActions$SinglePressAction to find the string array for the options. (When you remove an array value, make sure to fix any possible numbering gaps)

-Next, GlobalActions$11 GlobalActions$11$1 GlobalActions$11$2 might need further editing, such as any calls to the string constant you just removed, I don't think it will be needed so just try editing GlobalActions$SinglePressAction first.

- If you want the title & icon header, I can look through my files and see how it is implemented, it's been a while since I first put this mod together.
[Samsung Galaxy Nexus] EddyOS:
Hot boot isn't something I use but wouldn't mind removing it for my own use. I'm also used to having recovery before boot loader but that's just from using CM10! I take it it'll still work in 4.2.1?
[Samsung Galaxy Nexus] SilentStormer:
Thank you so much! This is an essential piece of my Android experience as it isn't always convenient to take out your device in order to change tracks. I've been waiting for this and I'm so glad you got it to work. Keep up the great work, I'm really grateful for the effort put into this :D
[Samsung Galaxy Nexus] xIC-MACIx:
Yeah, I get

it, CM10 has been my DD for a while now!

If you need any help editing the menu, just PM me or post here.

Thanks! I'm glad its working too, much easier to skip tracks when I'm driving or my phone is in my pocket!
[Samsung Galaxy Nexus] EddyOS:
This look about right? There are bits I'm not sure of because they appear to mention 4 options whereas I want 3...this is quite new to me but willing to learn!! :D

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

const/4 v0, 0x4

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

const/4 v1, 0x0

const-string v2, "Reboot"

aput-object v2, v0, v1

const/4 v1, 0x1

const-string v2, "Recovery"

aput-object v2, v0, v1

const/4 v1, 0x2

const-string v2, "Bootloader"

aput-object v2, v0, v1

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

return-void
.end method

.method protected constructor <init>(II)V
.registers 4
.parameter "iconResId"
.parameter "messageResId"

.prologue
const/4 v0, 0x0

.line 534
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 535
iput p1, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIconResId:I

.line 536
iput p2, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessageResId:I

.line 537
iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessage:Ljava/lang/CharSequence;

.line 538
iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIcon:Landroid/graphics/drawable/Drawable;

.line 539
return-void
.end method

.method protected constructor <init>(ILandroid/graphics/drawable/Drawable;Ljava/lang/CharSequence;)V
.registers 5
.parameter "iconResId"
.parameter "icon"
.parameter "message"

.prologue
.line 541
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 542
iput p1, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIconResId:I

.line 543
const/4 v0, 0x0

iput v0, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessageResId:I

.line 544
iput-object p3, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessage:Ljava/lang/CharSequence;

.line 545
iput-object p2, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIcon:Landroid/graphics/drawable/Drawable;

.line 546
return-void
.end method

.method protected constructor <init>(ILjava/lang/CharSequence;)V
.registers 4
.parameter "iconResId"
.parameter "message"

.prologue
.line 548
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

.line 549
iput p1, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIconResId:I

.line 550
const/4 v0, 0x0

iput v0, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessageResId:I

.line 551
iput-object p2, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mMessage:Ljava/lang/CharSequence;

.line 552
const/4 v0, 0x0

iput-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->mIcon:Landroid/graphics/drawable/Drawable;

.line 553
return-void
.end method
[Samsung Galaxy Nexus] xIC-MACIx:
You need to change the constant in the first part of the method that contains the string function to reflect the number of strings you want:

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

const/4 v0, 0x4

Like I said before, simply removing the string you want could do the trick without having to edit the reboot methods in GlobalActions$11$1. (Essentially just hides the hot boot option)

Back when I did this on GB for my ROM, removing options gave me issues. If that doesn't work, look into the above mentioned reboot methods, you would be looking for "rebootOptions" static value throughout the code file & the command used for hot reboot in GlobalActions$11$1:

const-string v3, "pkill"

Smali is absolutely unpredictable; I am still very far from completely understanding how this language works. If I had to do any smali edits from scratch I would be soo lost lol. The thread I have listed in the OP is a solid source for more info on this particular mod & and looking through other users will really help.

Oh and if you want to get a better handle on the Smali language, look at the index/glossary & infos of the Jasmine language I found HERE and HERE

- Mac
[Samsung Galaxy Nexus] jacksita:
XIC-MACIx

I have a problem, I decompiled my android.policy.jar but I could not put the extended menu option. Could you help please?

I enclose my android.policy.jar

android.policy.jar
[Samsung Galaxy Nexus] xIC-MACIx:
I'm not at home right now, could you tell me what ROM you are running?
[Samsung Galaxy Nexus] jacksita:
android 4.2
[Samsung Galaxy Nexus] Spidergio:
The download link doesn't work. Can anyone post the file in dropbox or another? Thanks in advance.
[Samsung Galaxy Nexus] adrianr514:
bump
[Samsung Galaxy Nexus] klinker:
xIC-MACIx

Can you tell me how to make a call for an other png i want to use for reboot. I don't like that alert triangle png :)

Will be also gret to have the screenshot option.
[Samsung Galaxy Nexus] xIC-MACIx:
edit: PM Sent

Idk what was up with Dev-host

today, but it is back up now..

You will find it in GlobalActions.smali. Just search for "GlobalActions$11" in that file and you will find 2 public number values. The first value is for the ICON and the second is for the STRING.

The reason I used an existing image was to make this mod more universal by not touching the framework-res.apk. Just add the image you want to framework-res.apk & use its public.XML in place of the existing icon one.

Not adding any other features to this, sorry :/
[Samsung Galaxy Nexus] klinker:
Yeah i know there is no reboot icon in stock framework so you have to use what there is. Well, tnx a lot for the info and no problem for screenshot, there are many apps for that, but was realy usefull to have it in the reboot menu.

:good:

Work like a sharm on crespo :good:

Tnx a lot for the help :highfive:
[Samsung Galaxy Nexus] boykioy:
hi, is it possible to make one including volume wake mod and power menu?
[Samsung Galaxy Nexus] lfdmp:
Hi.

Not working here.

Galaxy Nexus GSM

Android 4.2.1 Version I9250XXLH1 JOP40D from google. Is it deodexed o my problem is this?

Root and CWM 6. Installed Busybox too.

Downloaded from link in post #1. Flashed with CWM and nothing new apears when power button is pressed but Power off, air plane mode and sond controls.

Thank you any way!!!
[Samsung Galaxy Nexus] PCWright86:
Tried flashing multi reboot only for 4.2 in recovery and all i got was constant boot loop. Went back into recovery and fixed permissions, wiped cache and dalvik and still boot loop. Thankfully i had a backup. I am running aokp mr 1... It is 4.2... Could a theme possibly be causing this. I tried the 4.1.2 while on 4.1.2 and it did the same.
[Samsung Galaxy Nexus] xIC-MACIx:
This mod is only compatible with

stock

AOSP builds/ROMs. AOKP, CM and others like them already have their own reboot menus in addition to many features that depend on the android policy jar file. (The same jar file this mod depends on) Flashing this breaks said features and as a result causes the boot loops you describe.

Sorry for the confusion, I've added a more clear note that this is only for stock ROMs. This mod is essentially one that holds us recovery-addicts until CM/AOKP catch up with new versions of Android.

- Mac
[Samsung Galaxy Nexus] yogeshmha:
will this work on nexus 4?
[Samsung Galaxy Nexus] xIC-MACIx:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

It should, both the GNex and N4 use the same AOSP code. Make a nandroid or backup your android.policy.jar so you can restore it.
[Samsung Galaxy Nexus] Pumpino:
Me too. Is it not supposed to work with stock? Most custom ROMs already include the extended power menu. I guess I'll stick with Cataclysm if I want this power menu.
[Samsung Galaxy Nexus] xIC-MACIx:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

I haven't updated to JB 4.2.1 yet, so I

guess something was changed for V4.2.1

I'll check it out.
[Samsung Galaxy Nexus] klaidliadon:
Tried extended power menu on my Deodexed 4.2.1 JB GNex.

Works like a charm! Thanks :D

Is there a way to change the triangular icon to a circular arrow like ↻
[Samsung Galaxy Nexus] xIC-MACIx:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

Yeah, just add the image to framework-res.apk and then add said image's public.XML hex value to android.policy.jar. (I know those are rather vague directions, but there a multiple how-to's to do the above.

The reason it's the alert triangle is so framework-res.apk does not have to be modified. (Just uses an existing image, i.e. the triangle) That makes this mod more universal considering people usually flash other mods in addition to mine.
[Samsung Galaxy Nexus] iHeWho:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

Although I'm a very late to put this mod on my GNex, I must still thank the op for the great work. Many thanks
[Samsung Galaxy Nexus] mistertwo:
Not sure if anyone else has tried this with 4.2.2 but I'm getting boot loop.
[Samsung Galaxy Nexus] agritux:
not work with 4.2.2 :(
[Samsung Galaxy Nexus] boykioy:
Of cource you get a bootloop , is not for the 4.2.2 yet. By the way OP any plans for update?
[Samsung Galaxy Nexus] GSMachinst:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

+1 on update??
[Samsung Galaxy Nexus] xIC-MACIx:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

Yeah guys, definitely won't work w/ the new version of JB.

So, DO NOT flash over 4.2.2 yet!

I can definitely take a look at 4.2.2 code & see what it will take to update this mod as usual!

Will take a day or so; got a new Mac lappy & a lot of my windows tools aren't supported. Specifically a diff tool like WinMerge.

If anyone gas a good Mac diff tool lemme know!
[Samsung Galaxy Nexus] albsat:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

It would be just great to have this mod for latest rom. If you could add screenshot option as well, that would simply fantastic. Hope you find time. Thanks
[Samsung Galaxy Nexus] iHeWho:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

Boot loop here as well. But only wiped cache before flashing bigxie 4.2.2. Maybe full wipe helps? Although I doubt it
[Samsung Galaxy Nexus] albsat:
Re: [4.2 UPDATE][MOD][JB][4.2][4.1.2][4.1.1] Multi-Reboot Power Menu & Volume Skip Mo

The mod is not ready yet for 4.2.2.

We all hope that the author will find time and bring it again for the latest rom.
[Samsung Galaxy Nexus] xIC-MACIx:
Updated for 4.2.2! - Right now I have uploaded the

reboot mod only

while I finish up the rest.

As usual, let me know if there are any issues!

- Mac
[Samsung Galaxy Nexus] Dirk64:
AW: [MOD][UPDATED to 4.2.2][All JB Versions] Multi-Reboot Power Menu & Volume Skip

Thanks very much, you made my day!
[Samsung Galaxy Nexus] modifii:
Re: [MOD][UPDATED to 4.2.2][All JB Versions] Multi-Reboot Power Menu & Volume Skip

Just a request, can you please make Volume Wake for 4.2.2?
[Samsung Galaxy Nexus] vaeevictiss:
i have a LTE GNex, but i am currently in London for work so obviously i have no signal. Im just being bored so i figured i would update my aokp build 37 to the new milestone. Are there any issues that can arise not having service? I imagine not because im guessing everything i need to do can be done over wifi.

just wanted to make sure when i get back to the states it will link right up with the Verizon towers.
[Samsung Galaxy Nexus] beekay201:
Yes, it will. No worries.

Sent from my i9250
[Sprint HTC EVO 4G LTE] luigi311:
can someone do a little tutorial on how to use IRC and get it to connect to the EVO LTE irc im new at that whole concept XD thanks :)
[Sprint HTC EVO 4G LTE] SoraX64:
Go here and most of the work is already done for you. Just put in what you want your name to be and then fill out the CAPTCHA.
[Sprint HTC EVO 4G LTE] luigi311:
im in thanks man :) lol im a bookmark that page XD
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jediruss:
I installed samsung/att version of ICS via samsungs website using Kies last nite now i guess that overwrited the previous root that I had done. Now I can't uninstall any bloatware. Is there a way to reroot it now that it has ICS on it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Mike:
Search is your friend.

Yes you can root it. Flash cwm touch in Odin and then flash the superuser zip followed by the su binary.

Sent from my Skyrocket i727 running Sky ICS

PS: If I was able to help you then hit thanks :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
goto the link in my sig, in downloads section of that post it shows what and how to odin cwm and which root method to use
[Samsung Galaxy Nexus] funkdified:
Until the OTA release of JB I was running an unlocked/rooted Galaxy Nexus with custom recovery, franco kernel, and the standard 4.0.4 rom. I was pretty happy with my setup, but then I was alerted to the JB release which I wanted.

So, I reflashed stock/unrooted/OEM locked... and got the OTA release of 4.1.1

Luckily google re-downloaded all my apps, I restored images/etc, and I used SMS backup+ to get back my SMS history and call logs.. BUT, there were still problems.. I had to re-customize my desktop icons and widgets, and I lost lots of other app data. I EXPECTED THIS to happen, but it's still frustrating. Luckily my phone is only two weeks old, so it's no major.

Anyway, moving forward I would like to unlock and root my phone again.. and I'm wondering, what are the best practices for restoring your data.. I don't want a JB update in a couple weeks to cause me all this pain again.

Thanks!
[Samsung Galaxy Nexus] martonikaj:
Titanium Backup will restore apps and data. If you use a custom launcher, some give you an option to backup your homescreen locations. When it comes down to it, there will still be some things to setup again.

If you stay stock then another update won't wipe your device... only switching ROMs will.
[Samsung Galaxy Nexus] funkdified:
Thanks

Thanks for your response. Titanium Backup looks perfect. I found I wasn't able to upgrade to the new OTA without going back to full stock (lock, unroot, OEM lock, etc)... is it possible to update from stock ROM even while being rooted, etc?
[Samsung Galaxy Nexus] martonikaj:
Bootloader lock/unlock state doesn't change your ability to receive and apply an OTA.

If you're rooted, you can still apply the OTA, it'll just break root. Some people have success using "OTA root keeper" apps that "hide" your root while you OTA then restore it after.
[Samsung Galaxy Nexus] OtavioMalzone:
Hi everyone :)

First, sory for my bad english, I'm from Brazil.

1-If possible, could somebody make a tutorial to how to edit the systemUI and framework

to I can make the navbargo to 36 dpi.

2- There is any way to hide the statusbar and the navbar in the stock lockstreen?

3-(THE MOUST IMPORTANT) Could somebody make a flasheable .zip just to change the navbar to:

36dpi;

stock gray fastglow;

3 stock icons;

the 3 dot menu icon on the right, it just shows up when need it (like stock).

(gnex 4.1.1, deodexed, JRO03C)

thanks for your help :p
[Samsung Galaxy Nexus] JaiaV:
http://xdaforums.com/showthread.php?t=1746283

Ask the OP of this thread.
[Motorola Droid RAZR] rmurer:
so had to get a new phone through insurance..which im guessing is a refurb. Didn't come with the ICS update on it so i did it basically as soon as i got the phone. Other day needed to use the GPS and for some reason wouldn't connect at all.

Any ideas or work arounds or should i just have it replaced again? Downloaded a gps app or two to reset the cache i guess... dunno if that did any good.
[Motorola Droid RAZR] rmurer:
anybody?
[Motorola Droid RAZR] pedrotorresfilho:
I had the same issue with GPS and got a replacement. They first changed the Razr motherboard. I didn't like it and asked for another one.

Razr GPS is really good, if it isn't working fine that's because its broke.

Cheers
[Android Q&A, Help & Troubleshooting] gianpiero8282:
Hello everyone,

I recently purchased a tablet (ACHO C908 and a key E1750 huawei 3G (which, as indicated by the dealer turns out to be compatible with my tablet)

My problem is that when I connect the stick to the tablet is not riconoscita (even the little lights will not turn blue).

Someone can help me?

Thanks in advance
[Desire Q&A, Help & Troubleshooting] YevgeniyK:
All,

i installed S-OFF for my HTC desire, that seems to work. however, power button does not work in recovery mode - it switches between menu and REVOLUTIONARY screen

Does anyone know how to resolve it?

Thank you

Yevgeniy
[Desire Q&A, Help & Troubleshooting] eddiehk6:
assuming you're using clockworkmod recovery flashed when you s-off using revolutionary.

press the trackball to select within recovery.

now that you are s-off, i recommend installing 4ext touch recovery (see my sig) as it's better in many ways. download the 4ext app and flash it
[Desire Q&A, Help & Troubleshooting] YevgeniyK:
Thank you. Trackball works.
[Galaxy S I9000 Q&A, Help & Troubleshooting] qimiber:
Hi ! i have samsung galxy S i9000 with 2.3.5 android version. how to unlock it . can you help me ???

Respect for all . thank you
[Galaxy S I9000 Q&A, Help & Troubleshooting] nyloncrack:
https://play.google.com/store/search?q=unlock galaxy s&c=apps
[Galaxy S I9000 Q&A, Help & Troubleshooting] drakester20:
U should root your phone before you use that app... M not sure though...

If my post helped, don't mind hitting THANKS ;-):cool:
[Galaxy S I9000 Q&A, Help & Troubleshooting] Gambrin:
On my Galaxy S (about a year ago) I followed the detailed guide by Virnik0 at (cannot post links yet)

xdaforums.com - slash - showthread.php?t=818556

(Search General forum for "[HOWTO] manually flash Samsung Galaxy S with JVQ firmware" )

The ROM in that thread may not be 100% up-to-date, however the description is very detailed and gets you started.