yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
@faria

Yes, you're right.

The permanent solution is to modify SysScope.

I know this will never end, samsung always will come up with new measures :@

That's why I'm disappointed in Samsung. They spend their efforts for such things rather than making their devices unbrickable :@

"SysScope.apk\smali\com\sec\android\app\sysscope\service\f" has been widely used in the code. Looks like returning result codes.

These lines are interesting

const/4 v8, 0x4

const/4 v7, 0x3

const/4 v6, 0x2

const/4 v5, 0x1

const/4 v4, 0x0

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "OK"

invoke-direct {v0, v1, v4, v4}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->a:Lcom/sec/android/app/sysscope/service/f;

above you see v1 is status message which is "OK" and v4 status code which is described above "0x0"

invoke-direct {v0, v1, v4, v4}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

this goes on

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "ADB_RUNNING_AS_ROOT"

const v2, 0x10001

invoke-direct {v0, v1, v5, v2}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->b:Lcom/sec/android/app/sysscope/service/f;

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "PARTITION_TAMPERED"

const v2, 0x20001

invoke-direct {v0, v1, v6, v2}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->c:Lcom/sec/android/app/sysscope/service/f;

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "ROOT_PROCESS_FOUND"

const/16 v2, 0x3001

invoke-direct {v0, v1, v7, v2}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->d:Lcom/sec/android/app/sysscope/service/f;

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "DANGEROUS_FILE_DETECTED"

const v2, 0x40001

invoke-direct {v0, v1, v8, v2}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->e:Lcom/sec/android/app/sysscope/service/f;

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "NOT_OFFICIAL_BINARY"

const/4 v2, 0x5

const v3, 0x50001

invoke-direct {v0, v1, v2, v3}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->f:Lcom/sec/android/app/sysscope/service/f;

Rather than trying to understand whole process code, just modifying the result codes to make always send "OK" and "0x0" would help.

I tried to do that with apktool but apk file was never compiled correctly.

I have no time to figure out how apktool works :(

Can somebody who knows apktool better help us?
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
I can help you with the apk tools. this apks versions are from 4.1.1 or 4.1.2?
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
4.1.2

change each result code like from this

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "ROOT_PROCESS_FOUND"

const/16 v2, 0x3001

invoke-direct {v0, v1, v7, v2}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->d:Lcom/sec/android/app/sysscope/service/f;

to this

new-instance v0, Lcom/sec/android/app/sysscope/service/f;

const-string v1, "[COLOR=Red]OK[/COLOR]"

const/16 v2, 0x3001

invoke-direct {v0, v1, [COLOR=Red]v4, v4[/COLOR]}, Lcom/sec/android/app/sysscope/service/f;-><init>(Ljava/lang/String;II)V

sput-object v0, Lcom/sec/android/app/sysscope/service/f;->d:Lcom/sec/android/app/sysscope/service/f;
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
And additionally

change these lines from this

const/4 v8, 0x4

const/4 v7, 0x3

const/4 v6, 0x2

const/4 v5, 0x1

const/4 v4, 0x0

to this

const/4 v8, [COLOR=Red]0x0[/COLOR]

const/4 v7, [COLOR=Red]0x0[/COLOR]

const/4 v6, [COLOR=Red]0x0[/COLOR]

const/4 v5, [COLOR=Red]0x0[/COLOR]

const/4 v4, 0x0
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
Im not at home at the moment, meanwhile im uploading the apk tools with all the resources for the note2.

you can also reach me via skype or any other messaging service if you want.

I must stress that my knowledge of smali is limited.

Also you can send me the modified files and i can try to compile them later.
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
Here are the tools:

https://dl.dropboxusercontent.com/u/7696581/APK-Multi-Tool-note2-4.1.2.zip
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
Thanks but I already have this too.

The problem is signing the apk file. I can build apk file but it can't get installed.
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
Here is the modified one.
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
Since its a system app all you have todo is copy to the app folder and set the right permissions, Personally i never sign system apps that i modify.
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
the apk you posted does not run, the service aint running .
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
Can you decompile and compile SysScope.apk without modification, and test it.
[Galaxy Note II, Galaxy S III Developer Discussion ] faria:
A bit of remote desktop:D

I decompile your apk and recompiled , nothing, "its dead Jim".

Same thing happened with my own apk, i guess this one needs signing:(

Also all the modified apks fail to appear on Titanium Backup list.
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
There is a check routine in SecSettings.apk for checking SysScope is not modified.

Well done Samsung, I'm impressed :)
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
some conclusions

SysScope is run and checked by

1. BCService.apk (BroadCast Service, periodically starts SysScope)

2. SecSettings.apk

Both apk have similar functions such as SysScopeVerifier that is checking SysScope against modifications

.method private startSysScopeStatue()V
.locals 2

.prologue
.line 474
new-instance v0, Lcom/sec/android/app/sysscope/service/SysScope;

invoke-direct {v0, p0}, Lcom/sec/android/app/sysscope/service/SysScope;-><init>(Landroid/content/Context;)V

iput-object v0, p0, Lcom/sec/bcservice/BroadcastService;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;

.line 475
iget-object v0, p0, Lcom/sec/bcservice/BroadcastService;->mSysScope:Lcom/sec/android/app/sysscope/service/SysScope;

if-nez v0, :cond_0

.line 476
const-string v0, "BCService"

const-string v1, "mSysScope == null"

invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

.line 477
:cond_0
return-void
.end method

Still can't understand why we can't compile these apks with apktool :confused:
[Galaxy Note II, Galaxy S III Developer Discussion ] Aou:
Greetings [MENTION=4381049]0tt0m@n[/MENTION] - I'm coming from the AT&T Galaxy S4 where we have a locked bootloader and can't otherwise get rid of an annoying "Custom" boot screen by modifying the bootloader. After poking around a bit, [MENTION=4398886]scott14719[/MENTION] and I have determined that SysScope is certainly to blame for this "Custom" status. It appears we'll need to do the same as you: modify SysScope.apk, compile it, and get away with it (not let BCService or SecSettings find out about it).

Have you or your peers here found a solution to this yet, or have we determined this would be simply impossible?

Many thanks.
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
Rather than modifying SysScope, we need to edit SecSettings and BCService first. Both app are checking SysScope against modifications.

Apparently Samsung developers are better than I thought they were :D

The problem is that I can't compile apks with apktool and I don't know why.

We need to find a guy that knows how to work with apktool (especially system apks, signing etc)
[Galaxy Note II, Galaxy S III Developer Discussion ] Aou:
I never had much luck compiling any APKs using apktool, but I'm pretty novice in that area to begin with. ^_^

Also, I'm wondering if this thread may help you out?
[Galaxy Note II, Galaxy S III Developer Discussion ] bahtsiz_bedevi:
Thank you bud but I seriously tried everything on google that I found. None worked. I'm a bit tired of this :(

On the thread you've given to me, there is a guy has had the same problem and no answer given to him.

To everyone: if you ever find a solution, please try it first before you post here.

Just decompile and compile SysScope.apk and/or SecSettings.apk without modifications. Then install it on your device. If it runs, please post here along with details (links, steps) :)
[Android Apps and Games] Razow94:
Corners​

"4Corners" is an app designed to help you navigate your device and make calls while driving.

The app's screen is divided to four.The special thing about this driving app is that you can control the app in two ways, by pressing buttons or you can just press the middle button and voice recognition will be turned on and then all you'll need to do is to say the number of the corner of your wanted activity.

So lets say you want to get to your phone you just need to say "1" and it works the same inside the phone activity just say the corner of the contact you want to call. It designed like this so you wont need to look on the screen for a long time just press the middle button and say the number of the corner.

In "4Corners" you're able to get to your phone and make calls.

4Corners gets your favorite contacts list, so make sure you have some contacts marked as favorite.

When you make a call or receive a call the speaker will automatically be turned on.

There's also a very simple music player in "4Corners" with not so many buttons so you wont have to look too much on the screen.

Except these two you can get to "Google Maps" through "4Corners"(just make sure you have "Google Maps" installed) and "Google Voice Search" which will enable you to search your phone by voice .(make sure you have "Google Voice Search" installed)

Google Play page https://play.google.com/store/apps/details?id=com.carapp
[Android Apps and Games] -Falco:
Neat idea, would love to see this app grow. There are many things you can do to this app to make it awesome. Good luck with development.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have many app ideas, but don't have the skill or the time to learn how to make an app. if you would like to know an idea and attempt to make one, just message me.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Phone: Tmobile Samsung Galaxy s4 m919

Rom: Wicked v2

Kernel: Stock

Radio: Stock

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Android Apps and Games] Razow94:
Thanks :) and yes I hope to add more functions to it, I already have a few in mind.

You can tell me your ideas, I would like to get some more criticism.
[Android Apps and Games] Razow94:
Ok so send a crash report when it crashes so I can check why it crashes.

Regarding your contacts, make sure that their phone number is marked as a mobile type.

You probably see the same contacts twice because he has two phone numbers marked as mobile.
[Android Apps and Games] Razow94:
I fixed these bugs and it will be on the next update.

For now the phone will work properly if you'll change your contact's number type so your contact will have only one mobile.

I also recommend to you to go over the information page and arrange your favorite list and edit your contacts as written.
[General Monetization] PhilipL:
Hi

I'm developing an application and wondering about putting it on the Google Play store, more out of interest to see if I can make a little bit of cash, I'm not expecting riches, but some cash flow would help serve to encourage me to do more Android development.

On going through the registration I need to set up a Google Merchant account, no problems with that, however I need to provide a public business address and website address, and like I suspect is the case with the vast majority of app developers with it being more a hobby from a back bedroom, I don't have a business address or business website, so it will default to my home address. The terms also suggest that if I don't supply a URL my account might be suspended.

I'm also a little nervous about about my home address in case it is made public, and wondering if it is worth going to trouble of getting a domain name for the URL.

What have other people done? I notice some paid apps have a broken website URL, and I can't recall making a purchase on the Play store where I have seen the developers or business address displayed to me.

Any info gratefully received.

Regards

Phil
[General Monetization] ballzak:
A hosted website with a custom domain costs nothing nowdays. You'll need it anyway for marketing, etc.
[General Monetization] lexman098:
Bump. I'm in a similar situation. Wondering what you did about the address? I don't want to give people my home address just because they buy my app.
[General Monetization] rufflez2010:
For the domain I just created a weebly website for free. Super easy and it doesn't have to be high quality. How many people actuality visit your website?

I have my home address. When I start my company that's where I will be based from anyway.
[General Monetization] Nuck@GWG:
I am in the same situation, a private person releasing an paid app. The deal with the public adress just got to me.

I read somewhere about a guy who entered fake information as the "public" adress, this isn't appealing to me though.

If i buy an apple at the local supermarket it's not like the name and homeadress of the apple grocist is on the store recipe.

Is there any way around this since I'm not really that keen on showing my home adress public..

Or is it "just" the other way around? That I can see the users information but the user cannot actually see the developers information..?
[General Monetization] nibbcnoble:
Just give them something.

Just give them any address. It's no big deal. give them the address of a highway rest area. As for the website, you'll make more money than it costs you per year to own a domain just by having a domain. Just use a blogger website etc.. and then hook it up with a domain. Just having the website to support your game/app whatever is very important. :fingers-crossed:
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] bongski55:
I tried link2sd but I get this notice

What can I do?

Thanks
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] k2wl:
if u have my or balli's rom then u have init.d support ..

so flash this through cwm http://d-h.st/AGR. it will convert internal in to external and external in to internal sd.

if u didnt have init.d support then u have to enable it. and flash above file
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] bongski55:
I am on stock rooted fw. How to enable init.d support?

Edit.: ok found the zip to enable. Thanks.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] muntinlupa:
Now storage is swapped to 14gb . But still link2sd does not work same message as above
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] k2wl:
if u have flashed the above file...then ur external storage is swapped to the internal sd. so now install all app or games u want. they will get installed in external sd.

there is no need for link2sd ...:)
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] muntinlupa:
Ok so for now there is no way to move previously installed apps to sd card?
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] mlipocky:
I have flashed your zip file, the applications are still on the internal SD
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] bongski55:
It will not automatically do that. You will have to open ext2int application and configure it.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] rejocie001:
Use Gl to sd application.. It has a great developer support... This external to internal application last updated on Nov 2012.so there are so many bugs like duplications of files... Obviously applications install in phone memory only data files will move to the sd card. If you want to move only applications. Use link 2 sd... But data files cannot be moved using link 2 sd application..

Sent from Gt-I9082 stock AMCD firmware
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] bongski55:
I tried GL to sd before and since it is for Gameloft games(hence the GL name) and I don't have gameloft games installed it showed a blank screen on startup in addition to the "mount" and "unmount" buttons.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] rejocie001:
Reinstall the application again and try... Email to the developer he will surely help u... He helped me a lot. It's not only for gameloft.. All games and large data applications supported... I have installed 75 applications among these 21 are hd games... I purchased the pro version of Gl to sd applications so it will automatically mount at boot. Check screenshots..

Sent from Gt-I9082 stock AMCD firmware
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] mlipocky:
:good: Your answer has the price of gold!!!! That's exactly what I wanted - to move the application data.

The cyanogenmod I installed yesterday has driven me crazy! In the LG's original rom I used automatic script with `mount --bind` command, it worked perfectly, in cyanogenmod it has very a strange behavior. Although I could see in `df` it was bound and could see the files from external storage at that location, but the applications still wrote to the internal storage somehow transparently in the background. Don't ask me why and how it was possible, but it made me angry. Now I'm keeping the cyanogenmod in my phone. :)
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] bongski55:
Yes I have tried to reinstall today and still shows blank list of applications. meantime using ext2 int, my sd card which is now the internal storage has been reduced from 14gb to 11 gb so far --- evidence that my installed applications have installed on the sd card and not on internal memory of the phone(which is now the external).

I am happy with it so far.

As for gaming I use my galaxy note for that. Also the note has "move to sd" natively.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] escape_artist:
moviding game and app data

how to move game data in cynogen mod 10.1 i tried gl to sd didnt wrk

any way to move apps and game data .

thanks
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] rejocie001:
Gl to sd will definitely work...
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] escape_artist:
gl2sd

yea but then the game doesnt start can yu tell me detailed procedure for doing this
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] rejocie001:
Game doesn't start means.. Check the game properly mounted... There is an option about mounted games in gl to sd apps... Check all your game data in obb or data folder..
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] xenon92:
So for running a game that has been moved through gl to SD, I have to mount it first through gl to SD and only after that game will run otherwise it will crash. Am I understanding you correctly?
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] rejocie001:
Yes of of course.. There is an option in application settings . Mount at boot.. Check that option also...
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] thihanlin:
is it working with galaxy mega? 4.2.2 official and rooted.

thanks adv
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] donnie.darko:
Better use the Clean Master app to move app data to your microSD.:o:o:angel:
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] Vipuljain_in:
Hi,

I am facing similar problem of apps not loading on ext sd card and internal memory is full.

will it work on Panasonic P55 with ver 4.4.2

Thanks in advance
[Samsung Galaxy Express GT-I8730 Guides, News, & Di] aureljared:
Recoveries

TWRP 3.1.1 (UNOFFICIAL): Download

TWRP 3.0.2+ (OFFICIAL): twrp.me

TWRP 3.0.1-0: Download

TWRP 2.8.7.0 (f2fs): Download

TWRP 3.0.0-0: Download

TWRP 2.8.7.0 without F2FS support: Download

TWRP 2.8.6.0: Download

Stock 3e recovery: Link

CyanogenMod / Lineage

Lineage 14.1 (Android 7.1.x) by [MENTION=5344004]kotzir[/MENTION]: Thread

CM 13.0 (Android 6.0.x) by [MENTION=5344004]kotzir[/MENTION]: Thread (EOL)

CM 12.1 (Android 5.1.x) by [MENTION=5344004]kotzir[/MENTION]: Thread (EOL)

CM 12.0 (Android 5.0.x) by [MENTION=5344004]kotzir[/MENTION] and [MENTION=3366478]jek20[/MENTION]: Thread (EOL)

CM 11.0 (Android 4.4.x) by [MENTION=5344004]kotzir[/MENTION] and [MENTION=3366478]jek20[/MENTION]: Latest Build (10/20/2015) (EOL)

CM 10.1 (Android 4.2.x) by [MENTION=4622338]szezso[/MENTION]: Thread Post (EOL)

GApps

Beans GApps (recommended)

OpenGApps

Other

Q&A: use the Q&A tab above

Prerooted TouchWiz ROMs: Thread

Baseband downloads: Thread

Root method: Download

Alternative root method: Framaroot (Gandalf method)
[Samsung Galaxy Express GT-I8730 Guides, News, & Di] aureljared:
Tutorial for Motochopper:

1. Download the ZIP file. Extract somewhere.

2. Install Samsung USB Driver for Mobile Phones. Download here.

3. Connect your phone, make sure USB debugging is ON.

4. Rightclick run.bat, run as admin.

5. Follow the instructions on the command prompt, press enter when prompted to reboot.

EDIT 10/06

Framaroot has been reported to work with gandalf method. Link to thread (thanks to [MENTION=3003427]alephzain[/MENTION])

You should now have root.
[Samsung Galaxy Express GT-I8730 Guides, News, & Di] aureljared:
Installing recoveries directly on your phone

Installing a recovery without a PC can be annoying and sometimes confusing. Here's how to do it anyway (make sure you do know what you're doing):

Both ways require you to download a recovery and put it in your sdcard.

The n00b-Friendly Easy Way

1. Install Flashify from Play Store, open it, and grant Superuser permissions.

2. Wait for it to finish reading recovery info.

3. Select Recovery image, browse to your recovery image, and press Yup!

4. Flashify will now install your recovery. It will prompt you afterwards. You can either reboot to recovery or choose to flash more stuff (or exit the app).

The Geeky Dangerous Way

CAUTION! Using a terminal is extremely dangerous and you might just brick your phone if you enter a bad command.

Note: I will be referring to my recovery image as /sdcard/recovery.img.

1. Install Terminal Emulator from Play Store, open it.

2. Type su, press Enter, and grant Superuser permissions.

3. Type

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18

YOU MUST TYPE THE COMMAND EXACTLY AS SHOWN. You have been warned.

The last word in the command is mmcblk (zero) p (eighteen)

The command varies with every phone, but the command above is what works with ours.

4. You can either type "reboot recovery" or exit the app.
[Samsung Galaxy Express GT-I8730 Guides, News, & Di] aureljared:
How to restore to a Stock ROM:

1) Reboot to STOCK recovery (Vol Up + Home + Power). TAKE NOTE OF YOUR 3-CHARACTER SALES CODE, LOCATED AT THE BOTTOM OF RECOVERY IN YELLOW TEXT. You will need the code later on. Wipe data three times and reboot to download (Vol Down + Home + Power, press Vol Up when prompted)

2) Download your stock ROM from SamMobile. Find the firmware that matches your sales code.

3) Download Odin 3.07 and install. Also install Samsung Drivers if you haven't already. Connect phone to PC. Make sure Kies.exe or KiesTrayAgent.exe is not running (check in Task Manager)

4) A blue box should appear in Odin. Click PDA, browse for your .tar.md5 file you downloaded from SamMobile, and wait. Odin will freeze. This is normal. DO NOT CLOSE ODIN IN ANY WAY. When Odin unfreezes, uncheck Auto Reboot, and click Start.

5) Odin will commence flashing. When it finishes, disconnect phone from PC, press and hold Power, and go thru Initial Setup.
[Samsung Galaxy Express GT-I8730 Guides, News, & Di] aureljared:
Reserved