yashsingh1/xdaforums huggingface dataset:
[Xperia SP Themes and Apps] BDFreak:
[16/06/2014][TUT]Bypass Signature Checking[4.3]

Here I will teach you How To Mod Your services.jar To Bypass Signature Checkin

Make sure you have a basic knowledge on how to compile/decompile .apk/.jar files.

Decompile services.jar

[*]Navigate to \com\android\server\pm

[*]Open PackageManagerService.smali file in file editor

[*]Search for .method static compareSignatures

[*]Original code looks like this (it can be different in different build of firmware)

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.locals 7
.parameter "s1"
.parameter "s2"

.prologue
.line 2612
if-nez p0, :cond_1

.line 2613
if-nez p1, :cond_0

const/4 v6, 0x1

.line 2632
:goto_0
return v6

.line 2613
:cond_0
const/4 v6, -0x1

goto :goto_0

.line 2617
:cond_1
if-nez p1, :cond_2

.line 2618
const/4 v6, -0x2

goto :goto_0

.line 2620
:cond_2
new-instance v3, Ljava/util/HashSet;

invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

.line 2621
.local v3, set1:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p0

.local v0, arr$:[Landroid/content/pm/Signature;
array-length v2, v0

.local v2, len$:I
const/4 v1, 0x0

.local v1, i$:I
:goto_1
if-ge v1, v2, :cond_3

aget-object v5, v0, v1

.line 2622
.local v5, sig:Landroid/content/pm/Signature;
invoke-virtual {v3, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

.line 2621
add-int/lit8 v1, v1, 0x1

goto :goto_1

.line 2624
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_3
new-instance v4, Ljava/util/HashSet;

invoke-direct {v4}, Ljava/util/HashSet;-><init>()V

.line 2625
.local v4, set2:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p1

array-length v2, v0

const/4 v1, 0x0

:goto_2
if-ge v1, v2, :cond_4

aget-object v5, v0, v1

.line 2626
.restart local v5 #sig:Landroid/content/pm/Signature;
invoke-virtual {v4, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

.line 2625
add-int/lit8 v1, v1, 0x1

goto :goto_2

.line 2629
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_4
invoke-virtual {v3, v4}, Ljava/util/HashSet;->equals(Ljava/lang/Object;)Z

move-result v6

if-eqz v6, :cond_5

.line 2630
const/4 v6, 0x0

goto :goto_0

.line 2632
:cond_5
const/4 v6, -0x3

goto :goto_0
.end method

[*]Replace the whole code with this

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9

const/4 v0, 0x0

return v0
.end method

[*]Save the file

[*]Recompile your services.jar

Please Note :

Take backup before doing anything.

Your rom should be DEODEXED

Use Notepad++ to edit files.

Please read the tutorial properly befor editing files.

If you found any mistake in this tutorial then please let me know.
[Xperia SP Themes and Apps] Sahaab:
Naming it as superuser mod might be more well known
[Xperia SP Themes and Apps] BDFreak:
Done. Hope it's now ok.
[Xperia SP Themes and Apps] professor_proton:
Works on ICS 4.0.4 :) thanks a mil
[Xperia SP Themes and Apps] Hamidreza2010:
thanks man

is a useful instruction
[Xperia SP Themes and Apps] abbas_2010:
working for app 4.1 on 4.3???(mean can use app 4.1 on 4.3)?
[Xperia SP Themes and Apps] Vivaz90197:
Good! 4 me fixing any app installing on 4.3

Wysłane z mojego C5303 przy użyciu Tapatalka
[Xperia SP Themes and Apps] Rajeev:
No
[Xperia SP Themes and Apps] Hamidreza2010:
hi

please update the 2st post ( i mean tut )

because in 4.3 build 205 , has different smali code from your tut

thanks
[Xperia SP Themes and Apps] BDFreak:
Changelog :

v2.0.0 :

Based On Build Firmware Number 12.1.A.1.205

Works On Deodex And Odex System

Tutorial Updated
[Xperia SP Themes and Apps] Marília de Oliveira:
Great great great great great great, I really needed that! thank you :good:
[Xperia SP Themes and Apps] 3du ibrahim:
I can install rom v.4 ExistenZ xperia sp???
[Xperia SP Themes and Apps] jancsessz:
eXistenZ already this mod
[Xperia SP Themes and Apps] Hamidreza2010:
[MENTION=5078388]BDFreak[/MENTION] please update this mode for build 207

thanks before
[Xperia SP Themes and Apps] jancsessz:
Already this mod from me :D

http://xdaforums.com/showthread.php?p=51849794
[Xperia SP Themes and Apps] Hamidreza2010:
Hhhhmmm

Please upload single file :cowboy:
[Xperia SP Themes and Apps] jancsessz:
Tomorrow upload okey?
[Xperia SP Themes and Apps] Hamidreza2010:
No problem dear ;)
[Xperia SP Themes and Apps] Glex01:
Is this superusermode on build 207 be installed?
[Samsung Galaxy S (4G Model)] joeherlev:
I have lost connection to GSM network and have no sms or call..

My EMEI is okay and signalbars are okay.

But only 3/4G and wifi are working..

My simcard works okay in other phones.

Please please help....

I have tryed to flash modems in odin.

I have now flashed latest kitkat baseband and bootloader.

:(
[Samsung Galaxy S (4G Model)] joeherlev:
View attachment 2524409
[Samsung Galaxy S (4G Model)] ariesgodofwar:
Check Settings --> More --> Mobile Networks

Check under Network Operators and "Choose Automatically" and see if that helps any.
[Nexus 5 Q&A, Help & Troubleshooting] UltimaAndroidFan:
Is it possible to add OpenCL to a rom or or kernel?

Thanks in advance.
[Nexus 5 Q&A, Help & Troubleshooting] cmadeye:
Yes, see https://maxlv.net/how-to-enable-opencl-on-nexus-5/ for more details.
[General Questions and Answers] xPnoyStar:
Hey everyone,

I'm looking for a tablet for studying, watching movies and surf a little bit on the internet.

Well, does that make sense??

By the way, I found three tablets that attracts me.

These are:

Google Nexus 7 (2012)

Asus Memopad HD7

HP Slate 7 Plus

Acer Iconia B1-710

These are the tablets. Hmm...

What I want:

PDF reading

USB-OTG

Unlocked Bootloader

Root

watching videos

audio jack of course

web surfing

Wifi

When your recommended tablet isn't listed, kindly write a post.

Thank you very much.
[Nexus 7 (2013) Accessories] Rmito92:
First of all sorry for my bad spelling I'm from Puerto Rico (I talk Spanish )

I'm new to this and I want to know what or which USB otg is good

(from what i read this cable is for connecting keyboards, pen drives, mouse etc.) Correct me if I'm wrong. The point is I don't know which one is the ideal for this things if somebody post amazon links I will appreciate it.

I found one in a old thread of nexus 7 but it cant be shipped to my country (Puerto Rico)
[Nexus 7 (2013) Accessories] mdamaged:
I got this one, great quality.

And I have this one so I can use an OTG device whilst charging (needs a kernel with OTG+Charge support).

Amazon says it ships to your country, with the exception of some hazardous products.
[Nexus 7 (2013) Accessories] mtiberio:
I use ebay. Paid $2 for one from china. Arrived quick, works
[Nexus 7 (2013) Accessories] Rmito92:
Mdamaged

So the second one need root right? The first doesn't ?
[Nexus 7 (2013) Accessories] mdamaged:
Well, you need an unlocked bootloader for the second (in order to flash a kernel that can support OTG+USB charging), and you would need to install (or boot to) a custom recovery in order to flash said kernel, that being said, root can be useful with both in order to use stickmount, but you do not need root for either for normal use.

So I'd get the second one, since it will function like the first one without a supported kernel, they are both OTG, it's just that the second one lets you plug in your charger to charge it at the same time (and your kernel supports it), and powers the OTG device, if the kernel you have is stock, for example, the second one will behave just like the first one.

I have both because I got the first one before knowing that OTG+Charge existed...and it never hurts having extras...I also use a powered hub with the second one so I can charge the N7, power whatever OTG devices (multiple) at the same time.
[Nexus 7 (2013) Accessories] Rmito92:
Very useful information thanks. I really like that double use but I'm going to get the first one since I'm going to do the basic stuff.

But I'll will consider the second one for a future use.

Thanks a lot. I just order it on amazon. Again thanks!
[Nexus 7 (2013) Accessories] mdamaged:
No problem, glad to help.
[Nexus 7 (2013) Accessories] Pandae:
I use these. The straight is great for keyboards and mice, two-pack for under $2.

http://dx.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774

This right-angled is great for keeping small USB flash drives against the tablet's edge, sometimes $3.99, today $1.99.

http://www.meritline.com/usb-micro-male-to-usb-female-adapter-for-samsung-i9100---p-95863.aspx
[JASJAR, XDA Exec, MDA Pro General] bigballs:
Hi guys,

Does anyone knoew if O2 are going to put Blackberry on the Exec?

I know we should have the MS Push Email Technology with WM 2005 but not sure if O2 have rolled that out either.

Any Info would be apprecaited

TIA

Kev
[JASJAR, XDA Exec, MDA Pro General] belfast-biker:
It's on it's way soon enough. (Push Email.... dunno what all the fuss is about though)
[HTC Desire X] hitmoky:
Hey everybody!

I've search a lot of threads but I can't find the information that I am looking for but I'm trying to unlock my bootloader through the HTCDev method, it all went great but I needed to update through a so called Rom Update Utility.

First of all, I'm not familiar with RUU's and my knowledge of rooting is only a simple Desire S. Second, I know my CID is HTC_Dutch (HTC__E11), and I can't find the RUU for that at HTCDev, I first tried HTC_EU because I didn't know my CID yet. I'm not sure what the do at this very moment.

The info I know:

PROTODUG PVT SHIP S-ON RH

HBOOT-1.15.0002

RADIO-10.09.45D.25

Additional info:

Name: HTC Desire X dual sim

Software: 2.28.401.1

In the case anyone needs more information, please tell me what and if it's advanced to get that information please explain how to get my hands on it.

Thnx for reading, hope someone can help me out. :)
[HTC Desire X] GtrCraft:
Next time search (better) here is all the stuff you need: http://xdaforums.com/showthread.php?t=2537913
[HTC Desire X] hitmoky:
Thread doesn't cover my problem.

I've look into that thread before but it doesn't cover my RUU problem, I first need to unlock my bootloader as listed in that thread for that I need to upgrade. If been trying to upgrade it with RUU HTC_EU (RUU gave me version 2.35.0.0), but I came upon an error with something about the wrong device ID with the description that I needed an other RUU.
[HTC Desire X] hitmoky:
Solved!

Apparently I missed the sentence "choose the option: All other devices", I thought it would be covered under the Desire* option at HTCDev. My apologies and thanks for the help!
[HTC Desire X] GtrCraft:
There is a thanks button for that :p

There aren't any RUU's for the Dual sim DX and don't try to install the single sim version. Data will not work anymore
[General Questions and Answers] mcprodriver:
I use an iPhone for work. My personal is a RAZR Maxx Hd. The only thing that I like about the iPhone is imessage and it's ability to send a message even if I only have wifi available.

I like the way imessage toggles between wifi and data seamlessly.

Is there an app like this for android?
[General Questions and Answers] amirTor:
I think that Hangouts in its current version (2.0.2) should give you similar experience-

If you decide to let it handle both SMS and online messages
[General Questions and Answers] mcprodriver:
I do hope hangouts. Yet, it will only do SMS over data. It will do wifi, only if I send to someone who has hangouts installed.
[General Questions and Answers] amirTor:
Actually, Hangout message can be sent to anyone with Google account (Gmail, Google+, etc.)

Thats what imessage does- just sends message to your apple account...
[General Questions and Answers] Mobe1969:
Hangouts isn't anywhere near as integrated as iMessage. Yes, it does do SMS and internet based messaging, but not seamlessly. Or I can't get it to. The SMS contact is distinct from the google contact. So you send it one or the other.but you can't just have a hangout with someone and then if you send a message when they are out of wireless or 3g it falls back to SMS. With imessage it sent wireless OR sms without you knowing. With hangouts you need to choose if you send it wireless or sms

Or at least I haven't figured how to get it to.
[General Questions and Answers] amirTor:
No, that basically how it works- the guys at google enabled the sms feature only 2 versions ago, so hopefully they will improve it in the future to be moe like iMessage (unless Apple already has a patent on it)

Anyway- a good idea for a starup ;)
[Galaxy S III Q&A, Help & Troubleshooting] Cylx:
Incall sound is very low. Its very hard to hear.. Please help
[Galaxy S III Q&A, Help & Troubleshooting] f0xy:
Your not giving a lot to go on...

What version are you using etc
[Galaxy S III Q&A, Help & Troubleshooting] Cylx:
I have 4.3 XXUGMK6

Is there any code for the service menu?
[Themer General Discussion] RED ZMAN:
The music players on the themes say that Beyondpod isn't supported, but when I get it to come on with the bluetooth controls, it works fine.

What do we have to do to get it listed?

Also, not shown in the Media smart category.
[Themer General Discussion] ThemerSupport:
Hi, it can be a bit confusing, but that list is simply a list of suggested players (in case you had no music players installed on your phone). Of course we couldn't show every player that's supported (there's a lot). We might alter this part slightly in later updates to make it more user friendly :)
[AT&T Samsung Galaxy S II SGH-I777] vanhelsing1616:
I am running cyanogen mod 10, and cant send sms. I have tried updating the sms,

checking the apns(still not sure if they correct), and changing back to factory firmware.

if some could post the att 2gb default apn and help me fix this that would be great. info is below.

Current smsc #: "+13123149810",145

APN:

Name: ATT

APN: wap.cingular

Proxy: not set

Port: set

Username: WAP@CINGULARGPRS.COM

Password: not set

Server: not set

MMSC: http://mmsc.cingular.com

MMS proxy: wireless.cingular.com

MMS port: 80

MCC: 310

MNC: 410

Authentication type: not set

Apn Type: default,supl,mms

Apn protocal: ip4

Roaming protocal: ip4

bearer: unspecified

MVNO type: none
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] jortegat7:
Hi guys,

An easy question, how can I "Unmount emulated device storage" (Not the extSD, the intern device storage)

Can't remember what I did, but I think that this is not correct.

Thank you by your time.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] jayc137:
That is your internal memory

Why would you want to unmount that ?
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] naufalhadyan:
AFAIK some apps depend on the internal memory, so unmounting it may give you FCs or erased data
[T-Mobile Samsung Galaxy S 4] mrej201:
how to unlock the simcard if im on 4.3 can i downgrade
[T-Mobile Samsung Galaxy S 4] Naddict:
http://xdaforums.com/showthread.php?t=2615841

Please do not post duplicate questions, wait for answers and always use search prior to posting, odds are there is an answer already.
[Android Q&A, Help & Troubleshooting] johnaaronrose:
My Android ICS phone has 42MB available (according to Settings->Storage). I am not able to install some new apps (e.g. O2 wifi, size 4MB) or update some existing apps (e.g. TouchPal X, size 19MB) though I have been able to install other small ones (e.g. Terminal Emulator, size 1MB and Cache Clear 5MB). I've tried using Cache Clear to clear the caches. I've tried 'pm set-install-location 2' to default the install location to external storage (currently it's 0 i.e. auto) but it's rejected it with the comment 'killed'. I've moved all the apps (that I'm allowed to move) to the sdcard. I'm not able to root the phone (ZTE V790) as I haven't found any instructions & software that works. I'm at a loss what to do.
[Android Q&A, Help & Troubleshooting] dragon_76:
You may have to do a factory reset on the phone. Without being able to access root, even if there was a filesystem error or an error with the flash memory, you wouldn't be able to fix it. When android does a factory restore, it checks the NAND for errors and will mark bad sectors.
[General Questions and Answers] vtoomas:
Hello,

I have just installed Xperia Ultimate HD ROM 3.0.2 and CTCaer 2.8 on my Xperia Ray (Urushi / ST18i).

I now have trouble using my Mobile-ID software on my SIM card. Is there a way to get this to work on this ROM?

Edit: SIM toolkit is the software I am missing.

It was working fine on the official ROM and on CM10.

Cheers.
[Pebble] kyleco:
I'm looking at the following 2 watch bands, and just wanted to check with the great community here to see if anyone can confirm/deny if these will work. They are both 22mm, but idk a whole lot about watches.

http://www.amazon.com/Black-Bracele...2&sr=1-9&keywords=22mm+black+metal+watch+band

http://www.amazon.com/Navy-Black-St...YFDM6A/ref=pd_sbs_watch_2/191-2870083-0749159

Any thoughts/comments/opinions?

Thanks,

Kyle
[Pebble] punktnet:
They do work as long as they are 22mm

Trimis de pe al meu GT-I9505 folosind Tapatalk
[Pebble] whmcal:
I'm guessing you haven't noticed, but there is an existing thread on 22mm watch bands. You probably will get more feedback if you posted your question there.
[Pebble] BBowermaster:
Navy Seals one will not work due to the the curved ends.
[General Accessories] EranY:
Hello

My device is XDA IIi (Alpine).

I got a bluetooth stereo with hands-free capabilities device qstarz BH-Q392S and I had my bluetooth stack updated with the needed profiles. I paired the devices and the stereo (high quality) and the hands-free profiles are working correctly. However, I have two buttons in my bluetooth stereo: "Next" and "Previous" that are used to change tracks. They are not working for me.

Is there a special program I have to install in order to make them work?

Did I miss something, or they cannot be used at all on Pocket PCs ?
[General Accessories] Jed D`Lagged:
The stack that you upgraded your device with, did they come with the headphones? I've got a pair of HP headphones and the track buttons don't work (on my magician) because the stack does not support it. If I had an HP device and installed the proper software the buttons would work.
[General Accessories] EranY:
Now it is working

First of all, my bluetooth stack was downloaded from: http://www.pdagold.com/forums/view_topic.asp?t=5012&fi=0

The buttons did not work with the normal windows media player, so I read that TCPMP has a support for buttons. After installing TCPMP I ran it, clicked "Options>Settings>Select Page>Advanced" and I checked the "Widcomm BT Audio button support" box. After restarting TCPMP the buttons worked !!! :)

I'm so happy! :)
[Upgrading, Modifying and Unlocking] 0lvin:
I have tried to create recovery from scratch by this action sequence in CM11 sources:

make otatools

build/tools/device/mkvendor.sh htc z4u recovery.img

source build/envsetup.sh

lunch cm_z4u-eng

fixes in device/htc/z4u/BoardConfig.mk (define cpu model and change partition sizes)

. build/tools/device/makerecoveries.sh cm_z4u-eng

fastboot recovery out/target/product/z4u/recovery.img

i have tried to use as recovery.img both images: boot.img and recovery.img from [Root]HTC Desire 500.

But without success - resulted recovery not booted and after select recovery in bootmenu - only several seconds showed message "entering recovery" after that turn off screen and several times blinked.

Also i tried to use rebuilt kernel from source (used source from HTCdev site + config from /proc/config.gz) with same result. May be i used wrong config?

Resulted BoardConfig.mk you can check there.

Do you have some suggestion what i do wrong or what instruction have used for create CWMRecovery_D500_Philz.img recovery?

Could you help with such problem?
[Upgrading, Modifying and Unlocking] myabc:
are there news? the philz is bugged!!!! :(
[Upgrading, Modifying and Unlocking] 0lvin:
I have rebuilt recovery from cm 10.1 with config from 10.1 branch in "0lvin/htc_z4u" repository on github.

This build have issues with output: when selected 'odd' row in menu - image on screen moved to several pixels left, but generally recovery looks as usable. :fingers-crossed:
[Upgrading, Modifying and Unlocking] 0lvin:
Update for recovery:

* fixed bug with frame buffer(moving left/right on odd row).

* fixed boot for cm 11.0 version - now it is booted without any visible problem to recovery build from 11.0 cyanogenmod branch.

* fixed compilation warnings that block compilation.

For build need make copy of local_manifests/local_manifest.xml to /.repo/local_manifests/local_manifest.xml
[Xperia SP Themes and Apps] BDFreak:
I have got many request for 5 Navigation Buttons SystemUI for JellyBean 4.3. That's why I have made this. I saw many 5 Navigation Buttons SystemUI in here and other sections. But I don't like their button icons. So, I have make two button icon and I think they look good.

Main Features :

5 Navigation Buttons

Perfect 5 Dots

Changelog :

v1.0.0 :

Initial Release

Bugs :

You Should Find And Let Me Know (I DIDN'T FIND ANY)

Download :

v1.0.0 :

5 Navigation Button SystemUI.zip

How To Install :

v1.0.0 :

JellyBean 4.3 Firmware Build 12.1.A.0.256

Your rom should be DEODEXED (Click Here To Deodex)

Goto THIS THREAD and install the mod

Download 5 Navigation Button SystemUI.zip

Place it in your phones sdcard

Reboot into recovery

Install 5 Navigation Button SystemUI.zip

Phone will reboot automatically

Enjoy

Please Note :

If you having any problem after installation then Wipe Cache Partition and Dalvik Cache and follow

How To Install

again.

Please don't steal any part of my work.

If you use any part of my work on your works specially the two icons I have made, then please don't forget to give me proper credit.

XDA:DevDB Information

5 Navigation Button SystemUI, a App for the Sony Xperia SP

Contributors

BDFreak

Version Information

Status: Stable

Current Stable Version: v1.0.0

Stable Release Date: 2014-01-19

Created 2014-01-18

Last Updated 2014-01-18
[Xperia SP Themes and Apps] dipesh1502:
Already made it bro

But appreciate your work:good:
[Xperia SP Themes and Apps] BDFreak:
I didn't get you clearly. Do you already posted this kind of mod or you have made for yourself?

I didn't find any thread with this kind of mod for 4.3.

If you made for yourself then that's a different story.
[Xperia SP Themes and Apps] dipesh1502:
I have made a sony soft key 5 button nav bar

But i dnt knw abt the two buttons you have mentioned as i cnt c your screenshot;)
[Xperia SP Themes and Apps] panjgoori:
thanks [MENTION=5078388]BDFreak[/MENTION] for this mod. was desperately waiting for it. [MENTION=5440906]dipesh1502[/MENTION] i also cant find your mod thread either. can you point me to your thread or post ? thanks.
[Xperia SP Themes and Apps] dipesh1502:
Here it is

http://xdaforums.com/showthread.php?p=49554668
[Xperia SP Themes and Apps] jancsessz:
Please resizing navbar.
[Xperia SP Themes and Apps] panjgoori:
thanks for the link. this mod deserve its own thread as it will be easier for everybody to find it. thanks dipesh and BDFreak for your mods. will give them both a try tomorrow. now its 1 am here. time to sleep.
[Xperia SP Themes and Apps] dipesh1502:
I will try to make thread tomrow
[Xperia SP Themes and Apps] BDFreak:
It's not depend on SystemUI.apk. You have to edit framework-res.apk for this.
[Xperia SP Themes and Apps] dipesh1502:
And it needs a framework wich prevents bootloop on editing it

For now you can try gravity box module to reduce nav bar size
[Xperia SP Themes and Apps] chellaviji.smpt:
[MENTION=5078388]BDFreak[/MENTION] bro

Thanks for this Mod. Works great.. But actually that Power button looks different.. Its not look like a power button is not it? Can u pls change it? I am not complaining... Just a suggestion only...

Great work
[Xperia SP Themes and Apps] BDFreak:
Actually I have drawn it as a lock button not power button. The middle part is key/key hole.

Anyways you can do it yourself. No need to know compiling or decompiling. Open the SystemUI.apk with winrar/7zip then replace the ic_sysbar_ebutton1.png and ic_sysbar_ebutton1_land.png with your liking PNGs in drawable-xhdpi folder. Done!