yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] :
1. How to replace camera app in Sami 1.2 to Samsung camera app? Now I have two camera apps. I don't know how to uninstall first camera app.

2. I search app to change my lockscreen wallpaper. Can you help me?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hmm.. I suppose I can do that. I'll send him a PM soon.

1. Delete Gallery3.apk (this will remove both AOSP camera and gallery). Then download SamsungCamera.apk and SecGallery2.apk and place them in system > app folder. PS: I can confirm that Samsung Camera app works but some people reported that Gallery doesn't work. So please check if it works for you or not.

2. Only Samsung's Gallery app can be used to set and use custom lock screen wallpapers - so just follow #1.
[Galaxy S Advance I9070 Android Development] :
Gallery is broken ;(
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I will try to fix this issue. It might take a few days, so please use a third party Gallery app like QuickPic or try to find and use another SecGallery2.apk from HJ or any other (Samsung's firmware) based ROMs.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Samsung's Camera and Gallery app (fixed)

Samsung's Camera and Gallery app (fixed)

I'm glad to inform you guys that I've fixed the Gallery app's issue on my ROM. So now, if anyone wants to use it on Sami OS then please

download

and flash it!

PS:

- Installing this will remove AOSP Camera and Gallery app. And since its made by Samsung, expect it to stutter every once in a while.

- I have checked the apps myself (and they work perfectly) but I didn't get the time to try the zip file, so please try it and see if it works or not and then let me know.

- Sorry for not uploading and sharing any screenshots :p

[MENTION=5953846]acl1[/MENTION] you should find this useful. :good:
[Galaxy S Advance I9070 Android Development] :
Yeee, dude! you rock! It works

[IMG="1"]http://oi57.tinypic.com/2iizznr.jpg[/IMG]

[IMG="2"]http://s2.postimg.org/4nrxxvz2h/Screenshot_2014_11_20_16_02_06.png[/IMG]

[IMG="3"]http://oi58.tinypic.com/16c41lc.jpg[/IMG]

Now waiting for better UI statusbar in 1.3 ;) Thanks
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Good to know that it works. Thanks for confirming :good:

I'll try to work on status bar icons.. I took a closer look at my icons and noticed that the battery icons are the main ones that needs to be fixed.

But it will be very hard to edit battery icons because most of the png files in the software that I use to generate battery icons (from 0-100) are like this - so I can't do much about that. But I'll still try.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] :
I think signal (+ maybe clock and wifi) want too new life ;)

[IMG="1"]http://oi57.tinypic.com/333lpqd.jpg[/IMG]

[IMG="2"]http://oi58.tinypic.com/t01f6c.jpg[/IMG]

Fonts, color ... I don't know, look here (photo 1) better (ROM for Advance - Carbon)

If you can't make new battery, maybe make pack like in photo number one (clock to right side please and no /b fonts on clock) and add to first post.

Ok thats all. Waiting for 1.3. Thanks again for Gallery fix. Bye
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You're welcome.

I assume that you have the zip file for Carbon ROM. Can you please send me its SystemUI.apk to me?

(since its based on Android 4.4, it should be in system\priv-app\)
[Galaxy S Advance I9070 Android Development] [Antonio]:
Hi, I tried to Flash the Rom (for first 1.0, then 1.1 and 1.2 upgrades) but the phone doesn't boot, it goes to the recovery .

Currently I'm using kitkat 4.4.4 with twrp (slimkat rom)

I want to try this rom, do I have to use Odin or something else?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You are right. Since you're using KitKat, you'll have to Downgrade to Jellybean first. You can follow the instructions I posted in http://xdaforums.com/showpost.php?p=56986912&postcount=136 or you can follow what [MENTION=4769087]Toni5830[/MENTION] said (because its a little easier):

Either way, please backup your important data since you'll have to wipe them before installing my ROM. And yes, thanks for your interest in my work :)

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] :
Now I'm test Sami OS so I can't send you systemui from Carbon ROM :(

I have problem with Bluetooth on Sami. I can send files but I can't receive a files: 100℅ and error > "file can't be receiced" or "file was not send" I don't remember.

Sry for English
[Galaxy S Advance I9070 Android Development] Sami Kabir:
That's okay, I already know that. But if you have the zip file in your PC then you can get it from there.

Sorry to hear this. I use Bluetooth to send/receive files every once in a while with/from other phones and laptops without any issues.

Try to reboot and/or unpair both devices and pair them again. That might help fix it.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] $4ND!P:
@ Sami Kabir i like your rom very much.. but in status bar i want clock on right side & notification & notification icon on left side and i dont want quick launch shortcut in notification bar...can u help me... :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Yeah, sure I can help you - but only after December 10th. Because my exams are going on right now. :o

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] silver_666:
Best

Best Rom for our devices
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Is this alright? :o

I have changed almost all the status bar icons, except for the Battery indicator.
[Galaxy S Advance I9070 Android Development] $4ND!P:
[MENTION=4879114]Sami Kabir[/MENTION] Can u make a status bar for me as i already requested to you...Thnx in Advance:)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Yeah, sure. Just give me 1 to 2 days. For now, you can use this SystemUI.apk. It doesn't have 3minit Quicklaunch Panel.
[Galaxy S Advance I9070 Android Development] SinWei97:
Ahaha...nice one bro! :highfive: but...can we try to make the block to center? i like center more than on the right...and the clock 's word....can dont use bold? :highfive:

just some suggestion
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I did what you asked and I have added a screenshot of it below. But in my opinion, it looks odd and it just doesn't feel right to me. But its for you, not me. So I hope that this is what you had on your mind when you asked me to do it. Please tell me if you like it or not.

If you like it, then I'll share it with you. But if you hate it, then please give me some tips for improving it and I'll try to make amends :fingers-crossed:

I'm glad that you liked it.

Everyone has different likes and opinions. I prefer the clock to be on the left and other things on the right, whereas you don't. I will experiment a little and see what happens. I am also looking for a way to make it changeable on real time (from within the Settings app). If I succeed on doing that, then we'll both get what we want :D
[Galaxy S Advance I9070 Android Development] $4ND!P:
Its look vry nyc...M realy thanxful to you..I want to try this...plz upload this file.. but i need little 1 changes in Battery bar ( But without quick launch on notification bar)..I want kitkat style battery bar instead of Circle battery bar..Thnx bro :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
SystemUI MOD

[MENTION=4586195]ND!P[/MENTION] and [MENTION=5060604]Patlcs[/MENTION]

As requested, here's SystemUI with 3minit Quicklaunch Panel disabled and with the clock on the right. It also features a white battery bar instead of the circle one. If you guys like it, then great! If you didn't, then please tell me how I can improve it :fingers-crossed:

Download the zip file from below this post and extract it. Then move it to system\app folder thus replacing the current one.

PS: If you guys like it, I'll add it as an add-on for my ROM on the first page of this thread.

View attachment SystemUI.zip

View attachment SystemUI_Reg_Clock.zip
[Galaxy S Advance I9070 Android Development] Patlcs:
the status bar is awesome. could you remove the bold font on the clock... it makes the rom feel like gingerbread.

P.S: after placing systemui.apk in sys/app with required permission, phone is now "talking". it is only present in touchwiz launcher, that is, if i swipe to the left it will say page xx of xx. And talkback settings is off
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hmm, that's really weird. I haven't done anything that could have caused this. I have tested it and my phone didn't do this. If you have your previous SystemUI.apk with you then install that and see if it helps solve this problem.

Oh, and yes, I have added another SystemUI with "regular" clock font. Look for it in my previous post.
[Galaxy S Advance I9070 Android Development] $4ND!P:
[MENTION=5060604]Patlcs[/MENTION] You are talking about which touchwiz launcher ????? My requested or any other one..???
[Galaxy S Advance I9070 Android Development] Patlcs:
The one u requested

---------- Post added at 02:45 PM ---------- Previous post was at 02:11 PM ----------

@Sami Kabir i don't think that you messed with something in systemui.apk ... i replaced the systemui.apk from SOS update 1.2 but touchwiz launcher is still talking even if talkback is switched off. i can't figure out what's the cause of this problem

P.S: i found the bug but i can't resolve it. talkback seems to be off when viewed in settings but when i enter in talkback it is switched on and i can't disable it.

P.P.S: FINALLY!!! i could disable talkback... airdroid notification mirror service was the source of this problem. when i disabled airdroid service, i could finally disable it. :good:
[Galaxy S Advance I9070 Android Development] $4ND!P:
@ Patlcs : means its not a fault of SYSTEM UI..???
[Galaxy S Advance I9070 Android Development] Patlcs:
[MENTION=4586195]$ND!P[/MENTION] No... System ui is working great.
[Galaxy S Advance I9070 Android Development] SinWei97:
Chill Bro....We Can Solve This S**T xD and take your time....not to worry much about it ....it was just a little suggestion :P

OT:Im Gonna buy a new phone soon :) That why :p
[Galaxy S Advance I9070 Android Development] ladarjav:
Not able to install Sami OS 1.0

After installing SamiOS1.0 zip. System is not moving further when "Samsung Galaxy s Advance" logo is displayed.

Steps followed:

1. All steps on first post for installation. (Stock JB rooted.)

2. Used Cocore E 9 TWRP, cocore E 16 CWM. (No Luck!! :(:( )

NOTE: I Know first boot takes some time, but It was nearly 1 hr and no response(No further boot animation displayed or nothing else).:confused:

Need some assistance here.:crying::crying:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I am really very sorry to hear this. While or after installing my ROM, does TWRP/CWM show any errors or does the installation process complete successfully? If it doesn't show any errors then your downloaded zip file probably isn't corrupted.

The thing that intrigues me is that your phone is completely stuck at SGSA boot logo for more than an hour. It doesn't boot to system or Recovery.. It doesn't even doesn't fall into a bootloop. Strange.

For now, please use your previous ROM. I can't think of any valid reason for why this is happening. Sorry for the inconvenience :(

Maybe [MENTION=2991046]shut_down[/MENTION] can help you :fingers-crossed:
[Galaxy S Advance I9070 Android Development] Patlcs:
Hi [MENTION=219299]Sami[/MENTION] i am using ur rom for quite some time now and i found a problem.

My phone doesn't ring when i activate the alarm. Is this because of roaming or a bug?

Please reply quickly. Thanks
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for using my ROM.

Whenever I set alarms on my phone, it always works. I don't know if roaming mode is causing this because I never used it.

If you think it's a problem with the Clock app, then try this alternative now: http://xdaforums.com/showthread.php?t=2050947

I'm using this app because Google's clock app has some layout issues only on my ROM for some reason. But yes, alarm does work properly on both apps.

One more thing, I know it might be silly but please check the alarm volume in Settings. And also make sure that Alarms is unchecked in Blocking Mode settings.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] isaak:
I'd like to know if your patched services.jar in 1.2 is based on these instructions by zeppelinrox.

I use Nova launcher but it has an annoying homescreen redraw on my setup... could this patched file improve things?

Happy new year! ;)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hmm, yes. I supercharged services.jar using his instructions only. I have only one homescreen but yes, sometimes when scrolling through app drawer I also face this issue. Since services.jar is already patched, I don't think there's anything more we can do (sadly).

I think this is happening (to me) only with recent versions of Nova launcher (I am using 3.3).. with older versions (i.e before adding all those Android L stuffs) this launcher was always very smooth and speedy.

Possible solutions I can think of are:

- To enable Aggressive Desktop in Nova Settings

- Adding something like ro.HOME_APP_ADJ=1 to build.prop to keep the launcher in RAM all the time, so that there will be no redraws or stuttering.

And yes, Happy New Year to you too :highfive:
[Galaxy S Advance I9070 Android Development] isaak:
Both suggestions didn't help for that, although with Aggressive Desktop I have more speed.

However, I just changed scroll effect from None to Card Stack and it seems to help.

Probably Card Stack effect interferes with homescreen transition even when scroll effect is off... I have this suspect.
[Galaxy S Advance I9070 Android Development] alex_is_the_1:
Maybe try in terminal and reboot after?

$ su

# echo ro.HOME_APP_ADJ=1 >> /

data/local.prop

Sent from my XT1023
[Galaxy S Advance I9070 Android Development] isaak:
I always reboot after tweaking build.prop... I just don't understand the difference with local.prop, why creating a new empty file when I have build.prop in system?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Oops. Almost forgot the fact that ADJ/OOM values are hard-coded into services.jar (from Android ICS and above). So, adding "ro.HOME_APP_ADJ=1" to build.prop or local.prop will not help.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
that's what i was thinking when you suggested to add it :p then i thought you are saying so it should work
[Galaxy S Advance I9070 Android Development] Jaanto:
Edited, cause I didn't rtfm...
[Galaxy S Advance I9070 Android Development] isaak:
I'll try to update my stock services.jar according to your modded services.jar, but I wonder if I have to expect some new change in 1.3 about this.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sure, you can give it a try. If you're planning to supercharge it, then use Ultimatic Jar Patcher tool. It will automatically patch your services.jar.. You just have to enter some values. You can take a look at ProcessList.smali in services.jar if you want to do it manually.

I'm also experimenting with different values to see which one is better.
[Galaxy S Advance I9070 Android Development] arneldna:
Can you make the CRT Animation smoother like in HarshJellyROM ?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I suppose I can, but I'll have to know how Harsh did it - because there are many ways to get CRT off animation.

In my ROM, the fbdelay_ms value (in system\etc\init.d\10_crt_effect) can be edited to make the animation last longer or shorter. 350 is its default value - so increasing it to 400 (for example) might give the illusion of a little smoother animation by making it last a little longer.
[Galaxy S Advance I9070 Android Development] arneldna:
Apparently yes, that was how he did, I recall he metions the "delay" some where in his post...
[Galaxy S Advance I9070 Android Development] arneldna:
There was something else....the smooth CRT effect was not due to the delay, I see fbdelay_ms value is still 350 in the last HJ update, I have attached the services.jar from the HJ 5.2 if you wish to compare it with yours and [MENTION=2805784]BOOTMGR[/MENTION] can you please throw some light on this ?
[Galaxy S Advance I9070 Android Development] BOOTMGR:
Actually electron beam effect is controlled by surfaceflinger in JB. There is a flag defined in libsurfaceflinger.so which activates upon debug.sf.electron_frames property. More the value more smoother but longer animation. So set it in your build.prop accrodingly :D.
[Galaxy S Advance I9070 Android Development] isaak:
Unfortunately I don't have much free time to experiment the best combo of values, just the time to "reboot/wipe cache/wipe dalvik/fix permissions" when JB becomes unstable.

As a courtesy, could you add, in a future release, a changelog like this?

That would be the best moment for me to flash it. :p
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I also don't have a lot of free time to find the best combo :p

But yes, I'll try. :good:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
(I replied here in order to avoid another off-topic post in Cocafe's thread)

Thanks for your kind words of appreciation and encouragement but please don't expect too much from me - you might get disappointed :p

I still have a lot to learn about Android, so my work and output is only limited to what I know - which turns out isn't a lot (sadly :(). And this lack of free time has made it almost impossible for me to just sit and understand how a certain feature or function works and what needs to be done in order to make it work. I also have the "problem" of doing things slowly (for the sake of "perfection"). So this also results in taking up twice (or even three times) the usual time it would take for me to produce and release updates and bug fixes.

And [MENTION=4942685]jineshpatel30[/MENTION], sorry I still couldn't find a proper solution for the home button problem :( But I'll let you know if I do.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
he he :D :p

no problem :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I think I might have found something.. I'll give it a try now and let you know :)

EDIT: I replaced the old method with this one and it

still didn't work

.

Pressing home button to wake screen still minimizes the running app :(
[Galaxy S Advance I9070 Android Development] jineshpatel30:
Are you sure it's due to changing something in policy.jar ? This may be Stupid question but did you tried to check with "stock policy.jar"

And finally is there any chance this wake is related to "framework" ?

Btw don't worry too much about this thing ...if you've done with all other things you want in 1.3...release it...we can manage this issue :)
[Galaxy S Advance I9070 Android Development] MikiGry:
I can remember this bug. It happened first in LightJB rom (i saw some users complaining about it)

I havent expiried it in LightJB or in SamiOS 1.2. Have u dried taking logcat ?

Mebay it is bacause somehow ram is getting full and phone does sth to clear the ram and result is minimalization of currently running apk ?

Wysłane z Cyanofonika 12 beta...
[Galaxy S Advance I9070 Android Development] Sami Kabir:
That's what I was thinking a few hours ago.. This problem has been there in my ROM from the very beginning and since its been a long time since I worked on (and released) Sami OS 1.0, now when I look at it's changelog, fixing the home button lag seems to be the only thing that fits (but I can be wrong).

I'll try the tip you gave me tomorrow. I'll see if I face this issue with stock android.policy.jar too or not. I have a test tomorrow and I should start preparing for it now :p

The 1.3 update is nearly ready. I just have to make some finishing touches here and there and also find and implement proper values in services.jar for better RAM management and multitasking. Sadly, I couldn't find any proven way to increase gaming performance yet - so I'm looking for that too.

Hmm. Maybe.. But read this post.. According to this person's comment, it seems like its a "side-effect" of this thing. But if it is, then why did only a few people complain about it? :confused: Maybe people have a longer screen off timeout value or use the power button to wake their phone's screen or maybe they don't have a problem with this? :confused:

I don't know if a logcat would help in this scenario or not. Plus I still don't understand logcats :p
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=4879114]Sami Kabir[/MENTION]

I dont know how to 'read logcats' too. I understand them like if it says many time sth like failed to load or thread not ready , than app fc i know one thing. Something is definitly broken [emoji13]

Wysłane z Cyanofonika 12 beta...
[Galaxy S Advance I9070 Android Development] ladarjav:
Finally Installed!!

After very long time again I tried installing Sami OS 1.2.:highfive:

don't know what was the issue. but it's installed now so I'm Happy :o:D

Waiting for 1.3 update... :fingers-crossed:
[Galaxy S Advance I9070 Android Development] jineshpatel30:
i'm uploading 2 files 1st minfree & init.ds which i usually use with harshjelly and it works "almost" perfect for me to multi tasking and games.

i also want to remind you what i said some time ago about too many init.s in sami os... i hope you remembered and took a look at what init.d are really helpful for performance...it has almost every thing in superchargev6 but i personally feels that almost 70% of superchager init.ds aren't helping our device much that we should include them to delay startup time or increase startup lag !

and 2nd file is host file...well about that it's standard adway host file + added host from luckypatcher + some annoying ads on web and apps added by myself & similar items removed and useful file server are also removed by manual check ;) :silly:

i made it and updating it for myself but if you like it you can include it in your rom ( don't add it to existing host file of sami just replace it...it's better trust me :p :D by adding it you will increase load on cpu while browsing ..i made good effort to make it optimal in every aspect :)

Edit : btw 1.3 soon ?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks a lot for your contribution!

- I've removed some unnecessary lines of codes from the existing scripts and also double-checked the remaining ones. They looked important to me, so I decided to keep them. I've also removed LoopySmoothness script because I didn't notice much improvement/difference in performance with and without it.

- I've compared your 01_ui script with my script(s) and most of the codes and their values seem to match (which is good :laugh:).

- I too came up with a new hosts file - generated by AdAway, slightly edited (added a few entries) by myself. If compared, your hosts file is 1.3 MB and has 45357 entries whereas mine is just 889 KB and has 30390 entries. So yes, (in theory) your one should block more ads but mine will exert a little less load on CPU while browsing the web.. I've used mine for months and so far I haven't encountered any ads while browsing or while using apps/games which have ads in them. This is a little tough decision to make (experience vs performance) :p

- Yeah. I'm planning to release the 1.3 update next week or the week after that. I'm just testing my work now - and the only noticeable problem I'm having is with web browsing. The browser app tends to consume a lot of RAM and so trying to multitask slows down my phone.
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=4879114]Sami Kabir[/MENTION]

It is browser fault. Try to use opera and u will see that there isnt that much ram consumpition anymore.

Wysłane ze SlimSamber-fonika 4.4.4...