yashsingh1/xdaforums huggingface dataset:
[Android Themes] xenreon:
Hi guys,

Today I'm going to share a method with which you can add apps shortcuts to your SystemUI, well it's called Onclick method and it's not mine it's sir [MENTION=3862405]SpaceCaker[/MENTION]'s and as I got he's permission to make a separate guide on it I'm posting this, I said separate because this guide is already there on he's 4.2.2 status bar guide but I thought a separate guide would be more helpful for some people so I'm posting this with permission so let's begin

Requirements:

Brain

Patience

Experience

Apktool or anything like it

How to:

1. Decompile your SystemUI.apk

2. Go to smali/com/android/systemui/SystemUIService.smali

3. Now add this:

.method public settings(Landroid/view/
View;)V
.locals 5
.parameter "view"
.prologue
.line 99
.line 100
:try_start_0
new-instance v1, Landroid/content/Intent;
invoke-direct {v1}, Landroid/content/Intent;-
><init>()V
.line 102
.local v1, intent:Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-virtual {v1, v2}, Landroid/content/
Intent;->setAction(Ljava/lang/String;)Landroid/
content/Intent;
.line 105
const/high16 v2, 0x1000
invoke-virtual {v1, v2}, Landroid/content/
Intent;->setFlags(I)Landroid/content/Intent;
.line 107
const-string v2, "com.android.settings"
const-string v3,
"com.android.settings.Settings"
invoke-virtual {v1, v2, v3}, Landroid/content/
Intent;->setClassName(Ljava/lang/String;Ljava/
lang/String;)Landroid/content/Intent;
invoke-virtual {p0, v1}, Lcom/android/systemui/
SystemUIService;->startActivity(Landroid/
content/Intent;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_
0 .. :try_end_0} :catch_0
.line 109
.line 112
.end local v1 #intent:Landroid/content/
Intent;
:goto_0
return-void
.line 115
:catch_0
move-exception v0
.line 117
.local v0, e:Ljava/lang/Exception;
invoke-virtual {v0}, Ljava/lang/Exception;-
>printStackTrace()V
goto :goto_0
.end method

4. Now you can edit 3 things in it and they are:

1. The Onclick title: "settings" above here or in easy words the one below between "****"

.method public "anything"(Landroid/view/View;)V

2. The package: const-string v2, "anything"

3. The activity: const-string v3, "anything"

4. So now you need to edit these 3 things to whatever you want, give your Onclick a title, change the package and than the activity, do note you have to edit both and you can add any shortcut with this but if you're adding user installed apps shortcuts than make sure you have the app installed

5. Now add this to res/layout/"wherever you want "

android:onClick="anything"

This is what adds the onclick method to something

6. Now recompile your SystemUI.apk, sign, push, reboot and enjoy a shortcut which will save some valuable time of yours

Credits:

[MENTION=3862405]SpaceCaker[/MENTION]
[Android Themes] xenreon:
Use this app to get the activities:

https://play.google.com/store/apps/details?id=de.szalkowski.activitylauncher&hl=en

If your browser has problems with coping the code from the first post download this and copy:

https://www.androidfilehost.com/?fid=673368273298942983

Screenshot:
[ZenFone 2 Q&A, Help & Troubleshooting] NyxHouse:
Hi! Im sort of new at this thread and Im a definite nooob when it comes to android stuff

I've tried to flash a pre rooted system.img as well as stock img which i got from a thread in this website

I've made sure to follow the guide thoroughly and have managed to flash the droidboot, recovery and boot img perfectly fine

But everytime I try to flash system.img the cmd prompt always says:

FAILED<command write failed <Invalid argument>>

The fastboot.exe I used has the latest version and Ive tried several times but still get the same result. I also placed all the img files in the same folder with the flashtools. Ive extracted system.img from its .zip as well

Does anyone know how to fix this?

Thanks a lot in advance :)
[ZenFone 2 Q&A, Help & Troubleshooting] vivix:
Does

fastboot devices

gives you list with devicess connected ?

I think you havent installed properly drivers so fastboot cant install files.

I understand that everything you flash in bootloader mode on the fone.

Not in debugging mode when phone is turned on.
[ZenFone 2 Q&A, Help & Troubleshooting] NyxHouse:
The phone is indeed in bootloader mode and properly connected and recognized by pc.

Entering

fastboot devices

Shows the phone as well.

Can you please elaborate more on the drivers I need to install? Is it for the usb connection or for something else?

Thanks a lot for the reply:D
[ZenFone 2 Q&A, Help & Troubleshooting] ilos:
try this flastool version.
[Lenovo P780] yuvgokulr:
Hi Experts,

I need your guidance. I would like to remove Animation Effects & motion in Lenovo P780 Jelly Bean 4.2.1 version.

I could find the animation option in developer mode in Kitkat version but in Jelly Bean In Developer mode there is only 3 option

1. USB Debugging

2. Stay Awake

3. Allow Mock Location

where can I find other option like animation, CPU processing, etc..

Thanks

YuvGokul R
[Lenovo P780] dyingdemon999:
you can install mtk engineering mode apk
[G2 Q&A, Help & Troubleshooting] shahab uddin:
after hard search not found result of brick with

no download mode, no recovery , no fastboot, no dload, no qhsusb_bulk

phone came to me stuck on lg logo.

not connecting with pc with any condition.

waiting for hard help

tnx,
[G2 Q&A, Help & Troubleshooting] shahab uddin:
nosolution for this crap?
[G2 Q&A, Help & Troubleshooting] aranurea:
Can you at least get into a ROM? Or is that not possible?
[G2 Q&A, Help & Troubleshooting] shahab uddin:
already mention in 1st post

phone stuck at LG logo only
[G2 Q&A, Help & Troubleshooting] shahab uddin:
came some one give me testpoint solution of this phone?
[8525, TyTN, MDA Vario II, JasJam ROM Development] zfs:
Why I can not revise the registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\FontLink\SystemLink?

I added a font to windows/font, and add a new registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\FontLink\SystemLink,

however after reboot, the added key does not appear, even revised key is covered to its original value.

why it happened? How can I fix it?

OS:WM6.0
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
After editing the registry, do not soft reset. Instead, turn off your Hermes (press and hold power button until a dialog box appears asking you if you want to turn it off; tap 'yes') and back on.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] zfs:
Thanks,tadzio
[Verizon Samsung Galaxy S6] QA Bot:
Q&A for [Root/Guide] How-to Root (Simplified)

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Root/Guide] How-to Root (Simplified). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Verizon Samsung Galaxy S6] lampclip:
The only thing keeping me from getting this phone is lack of root and the locked bootloader. However, I might be able to survive without a custom ROM if I can at least have root.

Would I have to buy this phone ASAP in order to use this root exploit before Verizon/Samsung try to patch it? If they do patch it, would there be a way to downgrade to a vulnerable version of the OS so I could apply this root in case I don't get the phone before they patch it?
[Verizon Samsung Galaxy S6] StrumerJohn:
You should be able to ODIN backwards and still root.
[Verizon Samsung Galaxy S6] senoma314:
Will adaway trip Knox?

Once I root using this method if I install adaway will it trip Knox?
[Verizon Samsung Galaxy S6] sd0070:
Has anyone been able to do the "switch to supersu" part? I'm wondering if it can be done on a mac?

Galaxy S6 (Verizon)
[Verizon Samsung Galaxy S6] StrumerJohn:
No, you will not. Unless something touches the bootloader or recovery partitions, you're fine.
[Verizon Samsung Galaxy S6] hopesrequiem:
Yeah it was easy once I setup adb again. Copy paste. Just go slow
[Verizon Samsung Galaxy S6] krypto1300:
It was pretty easy on my Win8.1 laptop. Although, one command toward then didn't work for some reason. It just gave me a permission denied error. The process still worked and I'm on Supersu now without any problems.
[Verizon Samsung Galaxy S6] sd0070:
EDIT: I seem to have it almost working, but when I try to push SU to my device it says my device is not authorized and to check the confirmation on my device. There is no confirmation on my device. Debugging is checked. A serial number (my device) appears in the cmd prompt when I run "adb devices". What am I missing?

EDIT2: I just unchecked/rechecked usb debugging and I got the prompt to authorize. Everything is working now :)

Galaxy S6 (Verizon)
[Verizon Samsung Galaxy S6] Rippley05:
Edit**

All is well. Thanks guys!
[Verizon Samsung Galaxy S6] eylonabitbul:
work?

It works?

If so, can someone please do me a favor?
[Verizon Samsung Galaxy S6] jreyno10:
I flashed back to complete stock with Odin and I keep getting app not installed errors and can't install the ping pong app. What am I doing wrong?
[Verizon Samsung Galaxy S6] voldyy:
Just got a notification about an OTA Samsung software update. If I install it will the root stay?
[Verizon Samsung Galaxy S6] Tulsadiver:
Root won't stay, or at least I've never seen an update where root remained, but the reports are that it is rootable. I haven't tested it yet.
[Verizon Samsung Galaxy S6] s197:
Correct the OTA can be rooted
[Verizon Samsung Galaxy S6] krelvinaz:
I've had my S6 since close to noon today. Nice device.

Now the confusion..

I have been waiting for an OTA to get to OC3 but now I'm not sure I don't already have a newer build than that??

Under build number I've got: LRX22G.G920VVRU1AOE2

I am guessing this is newer than LRX22G.G920VVRU1AOC3 which is in a lot of recent posts.

Edit

well yes I have the newest already. Just used PingPong root to root it. Had to do it a couple times before it took but works great.
[Verizon Samsung Galaxy S6] Flip35:
Same here but I keep hearing to update to the ota using Odin or samsung smart switch...if u take the ota and root the new ota let me knw. I'm about to update ota through my settings, I knw I will lose root but I keep seeing the ota can be rooted using ping pong again
[Verizon Samsung Galaxy S6] DroidXrei:
Have there been any findings about what a possible root for OF1 COULD look like?
[Verizon Samsung Galaxy S6] krelvinaz:
Sure, when the process is complete you will have root and when you reboot the phone it will say custom on the slash screen.

Other than that it is still a little fuzzy.
[Verizon Samsung Galaxy S6] mark-in-dallas:
OF1 has the patched kernel and cannot be rooted nor can it be downgraded back to AOE2 or AOC3
[HTC Pico (Explorer)] maheshhraut:
So I have HTC explorer running on mini cm9.1.

Now every time I reboot my phone all my data including downloaded apps,contacts,messages,settings get deleted. Its just like factory reset.After rebooting if I add Google account I get the msg as browser , gallery, play store, trebuchet stopped working.

Interesting thing is it still remembers my WiFi password.How come all the data in my pbone including google account gets deleted after reboot but it remembers my wifi password?

If anybody has any solution please help me.Tired of importing contacts,adding accounts and redownloading apps.

Thank you.
[Samsung Galaxy Gear] mike208:
Recently my galaxy gear has started telling me the battery is critically low as soon as it comes off the charger and shows a full charge. It reboots often spontaneously. Sometimes won't connect to the phone. All kinds of dumb stuff. I tried resetting several times. But at this point, I know I have the best buy protection plan on it, so I figure why not trade it in on something new.

I'm just not sure which way I want to go. I have been leaning more toward the LG G watch R and Moto 360, but want to make sure I am not ignoring other good models. I am currently using a Samsung note 4 edge, so I have most options available to me., but again I have been focusing more on android wear as opposed to Samsungs devices.

I like the LG G watch R, minus the possibility for burn in, the more expensive price tag and the slightly smaller screen. And everybody seems to dislike them now that they aren't doing wifi on the R. Should I also look at Urbane? It's even more expensive, but I feel like my galaxy gear was like $250, so I do have some money to put toward it I guess.

The 360 has a bigger screen and wireless charging, but has the flat tire, the older processor and smaller battery and while my wife likes it, I'm not in love with the cylinder on a strap look. Everyone says it looks classier than the sporty LG. But something about a big round thing on a small strap looks weird to me. I almost wish it had the Strap connectors(not sure the official term) like the LG has. I did just see it looks a little better with a metal strap as opposed to the leather ones.

I haven't looked at the zenwatch as much, something about the round screens were appealing to me. But maybe I should look into it more.

And then there are samsungs, gear live, grea 2 neo, and gear S, should I be looking at them? I don't need the gear S's standalone ability.

Maybe I will get biased answers here. But I figured it was a good place to start since I didn't really see a general smart watch forum.

Thanks!
[Verizon Samsung Galaxy S6 Edge] elliwigy:
Hey All!

I did not see any threads with these downloads/instructions so I figured I would start one up now with root around the corner!

This thread will be the go to thread for anything related to the Galaxy S6 Edge (VZW.) It will include stock ODIN tar files, debloat tools, firmware files and links to other tools that work with our device such as Flashfire or Multisystem once they are out. I will also be creating and developing my own ROM which will also be linked here (will also have it's own thread in the Android Development thread.)

Included in this first post will be instructions for various processes as well as any tools that are required for most functions such as ODIN, device drivers etc.

PS: I am currently downloading the stock tar file for OC3 for the Verizon S6 Edge and I will then upload it to AFH for others to have access to. I will also be creating a ROM from the TAR file so hopefully as soon as root is available and multisystem/flashfire I will post the process and we will have a ROM ready to roll!

Tools/Necessities:

1) Samsung Smart Switch (replaces KIES, use this to backup+restore data etc.)

2) Samsung Mobile Drivers

3) ODIN

ODIN Flashing Instructions:

1) Ensure drivers are installed and ODIN is installed

2) Download the .tar files you wish to use to the PC (If they are in .zip format, just unzip them to get to the .tar or .tar.md5 file/s inside.)

3) Backup all data using the PC if you need to (if flashing a full ODIN tar, it typically wipes the entire system on the device. If just flashing firmware only it typically does not wipe system but a backup is always recommended.)

4) From powered off device, hold the Home + Volume Down + Power button until the "Download Mode" screen appears

5) Once the screen is on, press Volume Up to enter Download Mode

6) Open ODIN on the PC and Press the AP slot and navigate to and select the .tar file you are going to be flashing

7) Connect the device after ODIN checks the .tar file and once the device is recognized press Start in ODIN. (DO NOT UNPLUG DEVICE DURING THE ODIN FLASH.)

Download links will be in Post 2!
[Verizon Samsung Galaxy S6 Edge] elliwigy:
Downloads

Tools:

-Samsung Drivers

-Smart Switch

-Odin 3.10

ODIN Packages:

-G925VVZW1AOC3_REV02_USER_LOW_SHIP.TAR.MD5.ZIP

MD5: 6a29c894cb31551b86d5003acc2b0aad

(The OE2 tar does not wipe internals like OC3 but still always backup before using!)

G925VVRU1AOE2_G925VVZW1AOE2_VZW.ZIP

MD5: 3f39aa914b056d268ad09e3dc49c1c3b

OF1 and OCG (Thanks to Deuces)

WARNING: Read his OP but OF1 and OCG are NOT rooted and NOT downgradeable at this time so only use these if youre not rooted and know what you are doing as we are not responsible if you lose root!

OC3 and OE2 are rootable and downgradeable so use those first if youre able to!

http://xdaforums.com/showthread.php?p=62616382
[Verizon Samsung Galaxy S6 Edge] elliwigy:
ROM Thread

Extreme Syndicate

Current Build Is v8:

-Alliance Framework v1.1

-Extremely Debloated

-Rooted + Busybox

-Zipaligned

-Deodexed

-V4A

-Custom Boot Animation

-Based on OE2

-Native Tethering

-DL Booster

-Removed CD Installer

-RAM Management Fix (partial)

-Removed Persistent Wifi Notification

-Smart Manager

-Quick Launch + Music Player Feeds

-MORE!

Link to Thread:

http://xdaforums.com/showthread.php?p=60824588
[Verizon Samsung Galaxy S6 Edge] RedTerror98:
Trying to reinstall firmware through Smart Switch.... messed up my system permissions by accident and now it is not booting past splash screen. I can handle it with ODIN, but in the meantime while downloading the .TAR I was messing around in Smart Switch and it gives an "Unsupported Device" message when i connect my Verizon S6 Edge.

Both Kies3 and the SmartSwitch.exe included in this post give same "Unsupported Device."

Anyone have any suggestions as to what PC client I am suppose to be using? Really just asking out of curiousity at this point.....ODIN files are almost done downloading.

___________________________________________________________

And OF COURSE, THANK YOU OP! Awesome collection of info and files here. Thanks for the hard work!
[Verizon Samsung Galaxy S6 Edge] elliwigy:
its probably not recognizing it because partition/system is messed up..

i have the vzw s6 edge pit file if you need it but it is also in the full odin tar.. i recommend once you have everything up and running you use smartswitch to backup your phone.. it backed up everything imcluding my text messages for me so when i used it to retrieve the stock tar it restored everything right back!
[Verizon Samsung Galaxy S6 Edge] elliwigy:
and fui, you need to use smartswitch now for our device as kies did not work for me
[Verizon Samsung Galaxy S6 Edge] blulite:
Trying to Odin back to factory. I've got a 128GB edge. When I start the flash it hangs on "Partition". Do I need to check the "re-partition" button in Odin. If so, do the PIT files change between the different sizes of the phones?
[Verizon Samsung Galaxy S6 Edge] elliwigy:
its possible pit file is different.. what version odin you using? if 10 doesnt work try the 3.9 odin
[Verizon Samsung Galaxy S6 Edge] blulite:
I tried both odin 9 and 10 (same result). finally clicked the "re-partition" button in 10 and the reload took fine. i just checked the phone and it shows 128gb. currently going thru a restore, will post more info as i find it.
[Verizon Samsung Galaxy S6 Edge] TechBSwift:
Have you tested the tar file in odin?

Sent from my SM-N915V using Xparent Green Tapatalk 2
[Verizon Samsung Galaxy S6 Edge] elliwigy:
yes actually lol. few times trying to get my rom to flassh with flashfire.. apparently flashfire wont flash full rom.zips without a custom recovery (at least i cant figure it out.) other simple zips work however..

but i did use it at least 3 times lol. first time had a bit of trouble but if i select anything but auto reboot it would fail so only selecting auto reboot in odin it flashes for me each time
[Verizon Samsung Galaxy S6 Edge] elliwigy:
also to add, the tar file is the exact same tar that smart switch downloaded and is literally untouched.. it was already in the exact format and name and everything and i simply uploaded it without doing anything to it
[Verizon Samsung Galaxy S6 Edge] heffe2001:
The supplied tar file worked for me yesterday when I inadvertently removed a system file I shouldn't have after rooting.. Got me back to stock, re-rooted and I was good to go..

Used the Odin and tar files attached here without any problems.
[Verizon Samsung Galaxy S6 Edge] equake:
Any way to quickly unRoot without ODIN flash stock TAR?
[Verizon Samsung Galaxy S6 Edge] blulite:
Anyone know how to just restore the system.img? As opposed to a full system wipe that is contained in this tar file? Folks have posted both "wipe" and "no wipe" versions from previous Galaxy SX versions.

thanks.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
to my knowledge i do not think its possible to edit the tar file since we have a locked BL we xan only flash md5 verified tars...

the ones in past could have been an update.tar.. for example when we get a update can use smartswitch to download the update.tar which wont wipe because its an upgrade vs. a full odin recovery tar
[Verizon Samsung Galaxy S6 Edge] theresin:
You guys notice how many freakin Knox apks are in here? Both in system and priv-apps ... pretty crazy stuff. I've got a few small utilities in the works that I should have finished by the weekend (UI tweaks, etc) .. but I'll leave the ROM building to those more capable.

Still can't believe how quickly we got root... those poor souls with Note 4s have been waiting forever.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
i saw them lol. rom is for the most part ready but no way to flash it lol.. so i cant even test it
[Verizon Samsung Galaxy S6 Edge] tcollum:
Quick question.

Maybe I'm missing something, but I see two versions floating around. In the ping pong thread, and on my device, I see G925VVRU1AOC3, and here I see G925VVZW1AOC3. Can you clarify this for me? Thanks.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
not sure.. i have the ru one and i have vzw s6 edge 64gb black.. you?

fyi, i will be uploading the new update this weekend along with (hopefully) Extreme Syndicate v1 for the VZW S6 Edge if all goes well.. i think i know what my problem is ;)
[Verizon Samsung Galaxy S6 Edge] lucky_strike33:
Looking forward to it!!
[Verizon Samsung Galaxy S6 Edge] tcollum:
I have the ru one as well, 64gb white. OP shows the other filename though, with VZW in it.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
strange.. maybe theyre the same.. i am on tar used in op and mine says the ru so who knows
[Verizon Samsung Galaxy S6 Edge] jamiejames:
I looking for someone who has flashed the stock VZW firmware on a RU1. Just wanting to be sure its the same.

Sent from my SM-G925V
[Verizon Samsung Galaxy S6 Edge] elliwigy:
i used this odin file more than once and looking at my about phone it says RU1.

it is stock tar vzw s6 edge oc3 formware.. it works. trust me! not sure why the few letters are dif.. but the odin tar doesnt have the ru1 but when flashed about phone has the ru1
[Verizon Samsung Galaxy S6 Edge] jamiejames:
I really appreciate your response. I wasn't brave enough to just try it. You were using Odin 3.10.6 correct? The reason I ask is because I've seen a few post where that version didn't work.
[Verizon Samsung Galaxy S6 Edge] Argyrus:
Could you please fix the download links? I get a 404 when I try and visit them.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
which links? i know misterxtc is leaving dev work so i will fix those links soon and upload them to my afh site
[Verizon Samsung Galaxy S6 Edge] elliwigy:
yes, i used latest odin 3.10.. i only have auto reboot checked and works evety time for me
[Verizon Samsung Galaxy S6 Edge] jamiejames:
You rock. TY
[Verizon Samsung Galaxy S6 Edge] Argyrus:
All of them. I try to download any of the downloads from the link and I get 404.
[Verizon Samsung Galaxy S6 Edge] elliwigy:
Updated Links in Post 2. I uploaded the necessary applications/software to my own AFH so all should be good now!

I also updated ROM status in post 3... Still having issues so I think I might have to wait for someone to release a working ROM.zip for our device before I can mess with it since I can't figure it out for the life of me.. I have a ROM ready to go but the flash has issues afterwards that I can't seem to resolve.. See post 3 for more details...
[Verizon Samsung Galaxy S6 Edge] elliwigy:
I'm going to give the ROM another go tomorrow fyi