yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] PolishVodka:
Ok , so I will try again. Its good when recovery working because like you said, its easy to come back to another kernel.
[Galaxy S Advance I9070 Android Development] buffer overflow:
Yes, is working.After trying that kernel, i was able to get in Philz recovery and flash cocore kernel without problem, just as colleague [MENTION=4942685]jineshpatel30[/MENTION] made. :)
[Galaxy S Advance I9070 Android Development] Cassiusss:
That's right.

I've used JB-4.1-stock-CoCore-cwm-6.0.3.4.boot.cpio.gz, renamed to boot.cpio.gz and placed in the efs folder. I've tried it on a stock 4.1.2 firmware, so Mk Kernel should work with Sami OS too. ;)
[Galaxy S Advance I9070 Android Development] PolishVodka:
Here is mkaluza's kernel for stock JB, working:

http://www.mediafire.com/?x6gw3cg833x8k51
[MENTION=4879114]Sami Kabir[/MENTION]

Best and simple things to making UI really visible smoother (but cost of some battery) is tweaking CPU governor. I don't know which ones do you have on cocore but just np. for Conservative (I like it):

echo 70 > /sys/devices/system/cpu/cpufreq/conservative/up_threshold;

echo 30000 > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate;

echo 15 > /sys/devices/system/cpu/cpufreq/conservative/freq_step;

This really makes a difference. You can tweak every available governor for performance or battery saving.
[Galaxy S Advance I9070 Android Development] buffer overflow:
Yes, is working but without boot animation.i chose Pegasusqplus and Sioplus. UPDATE:CRT Off animation not working even if it is checked. :)
[Galaxy S Advance I9070 Android Development] isaak:
Maybe you were using a custom boot animation?

Then there is no kernel support.
[Galaxy S Advance I9070 Android Development] buffer overflow:
[MENTION=5449754]isaak[/MENTION] Not use custom boot animation, just stock. :)
[Galaxy S Advance I9070 Android Development] Cassiusss:
Have you noticed that with Mk Kernel on JB, the screen seems to be a bit brighter than usual? :rolleyes:
[Galaxy S Advance I9070 Android Development] buffer overflow:
Not realy because i like "the dark side" and that decrease brightness. ;)
[Galaxy S Advance I9070 Android Development] Cassiusss:
The screen is everything but dark... this will cause a faster battery drain... :(
[Galaxy S Advance I9070 Android Development] hastalafiesta:
Try to extract 4.1.2 ramdisk and put it in /efs, then flash mkaluza kernel.

I have followed this simple step to make it bootable on cm 10.1.

You can find the guide to extract it on mkaluza thread.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
it won't work like that in stock 4.1.2 but.................

moved here -> http://xdaforums.com/galaxy-s-advance/help/mk-kernel-stock-discussion-t3047609

sorry all of those guys whom i quote because you will get 2 notifications i moved it from here to separate thread...but i think it's best because this way Development thread to SamiOS remains clean :)

again sorry for inconvenience :angel:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
[MENTION=4942685]jineshpatel30[/MENTION],

Thanks for moving it to a separate thread.

BTW, I wanted to inform you that I was able to successfully fix that home button issue. :laugh: :good:

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] isaak:
[MENTION=4879114]Sami Kabir[/MENTION]

Do you have some suggestion for me about modding secmms theme properly?

I have a lot of troubles to find the correspondence between a single element visible on the screen and the code behind it.

Using uiautomator tool doesn't help.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
No, sorry. I only know how to add some features to SecMMS - never really focused on theming it (extensively). I guess you have to decompile it and manually edit individual .9.png and xml files to modify the theme to your liking.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
Nice !

It's completely gone ?

How did you do that ?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Its COMPLETELY gone! And I also managed to "properly" fix the lag - at least to some extent.

This line (below) is the one that causes this issue:

invoke-virtual/range {p0 .. p0}, Lcom/android/internal/policy/impl/PhoneWindowManager;->[B]goHome()Z[/B]
[Galaxy S Advance I9070 Android Development] Sami Kabir:
In case anyone's interested, a minor update (1.3.1) is coming soon. Hopefully it will fix memory management and performance issues in Sami OS 1.3.
[Galaxy S Advance I9070 Android Development] kuzo:
I can install version 1.3 directly or first I have to install the version 1?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You'll have to start with 1.0, then 1.1, then 1.2 and then (finally) 1.3

You have to reboot after installing 1.0. The rest can be installed one after the another in recovery.

It is a little tedious process. I'm sorry.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] buffer overflow:
For memory managment i use this app Zram Settings Free.It seems to be very usefull and OK, and for performance issues, that zip package (Performance fix) improved small lags. :)
[Galaxy S Advance I9070 Android Development] isaak:
[MENTION=4879114]Sami Kabir[/MENTION]

Can you port this in your rom?

http://xdaforums.com/showthread.php?t=2451555

Download is in the second post.

:p
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Exactly what feature(s) do you want me to port from that ROM? If I think I can do it, then I'll definitely give it a try.

...

Because my exams are near, I just want to release the 1.3.1 update asap and then take a break till May 28th.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] promen:
nice work, waiting for 1.3.x

btw can u add option to enable auto USB MASS STORAGE when connecting ? ; s
[Galaxy S Advance I9070 Android Development] Jaanto:
A couple of posts back you gave us a fix to flash over 1.3 for performance issues, which I flashed. Can we flash 1.3.1 without a hassle?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I'm having some problems with my phone. If anyone can help me, then please read this post.

- - - -

Do you mean something like this?

(Its disabled in my ROM, but I guess I can enable it back)

I tried it earlier, but I couldn't succeed. I'll give it a try again - but not now, as I have to prepare for my exams.

Yes. While installing the 1.3.1 update, all those files will be replaced/deleted any way.

- - - -

I have no Internet at home (since almost 2 weeks). So, my work on the update has slowed down quite a lot.
[Galaxy S Advance I9070 Android Development] Jaanto:
I appreciate your work ;)
[Galaxy S Advance I9070 Android Development] $4ND!P:
[MENTION=4879114]Sami Kabir[/MENTION] Good job bro & Thnx for the update :)
[Galaxy S Advance I9070 Android Development] Balathruin:
Nice work! :good:

Started using and searching bugs/problems. Only one for now, the lock screen ink doesn't work.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You're welcome :o

Thank you. :D

Lock screen ink effect? I never added that to my ROM. If you meant Ripple effect, then the last time I checked, it was working :confused:

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] charnoha:
Thanks for your hard work Sammy awesome job!
[Galaxy S Advance I9070 Android Development] Balathruin:
The Hungarian translation has the ink effect's text. In English it's ripple. For me the background goes white and there is no effect at all.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You're right. Thanks for letting me know. :o

I have no idea why this isn't working any more. I'll try to find out what is causing this.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] Balathruin:
One other thing: I had to enable touchboost, becouse the scrolling and the animations are really laggy and the reaction is slow. The CPU min. is 200MHz, max. is 1GHz with interactiveq and row, CoCore version is R22-Beta.

Touchboost settings: 600MHz and 250 delay
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hmm. I have no such issues, but thanks for letting me know.

I'm using r09 build of CoCore E kernel. My CPU frequencies are 100 MHz (min) and 1.05 GHz (max) with OnDemand governor and noop I/O.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] Balathruin:
USB Mass Storage is not working. SystemUI crashes.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Oh, yes. I completely forgot about this. I am so sorry. This problem has been in my ROM for a while now and I never really understood why this happens. I'll try to come up with a solution. For now, please connect your phone as a media device. Sorry for the inconvenience.

If anyone can please help me solve this issue, then please take a look at this error message from my logcat:

04-16 13:51:27.436 E/AndroidRuntime( 4250): android.app.RemoteServiceException: Bad notification posted from package com.android.systemui: Couldn't create icon: StatusBarIcon(pkg=com.android.systemui id=0x10806f2 level=0 visible=true num=0 )

.......

Oh and about Ripple Effect, I found something interesting.. If you replace the current libWaterRipple.so file (in system > lib folder) with this one View attachment libWaterRipple.zip (this one is from Sami OS 1.2), then the problem will get solved. But somehow for some reason, instead of seeing a ripple effect, you will see ink effect. I have no idea why :rolleyes:
[Galaxy S Advance I9070 Android Development] Jaanto:
The phone flies! Thanks Sami!
[Galaxy S Advance I9070 Android Development] isaak:
I think you need to regenerate a bad icon reference (search id 0x10806f2 in SystemUI\res\values\public.xml).
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for your reply!

Searching 0x10806f2 in public.xml in SystemUI was the first thing I did. I found no match. Then I looked in public.xml in SecSettings and once again found no match.

Can it be because I used APKTOOL for decompiling my apk files?
[Galaxy S Advance I9070 Android Development] isaak:
I suggest you to use Fileseek for this purpose (this is a powerful search by content):

http://postimg.org/image/ugs04230d/
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I use Windows Grep but okay, I'll give Fileseek a try. Thank you.
[Galaxy S Advance I9070 Android Development] MikiGry:
If this logcat is related to this mass storage bug it is soooo simple (or tricky :D). Open System.UI apk from your rom and full stock system.iu apk with winrar. Open (in both) folder in which statusbar icons are stored and select in winrar to compare theze two folders. I think your system.ui apk will have some extra .png , but one with name connected to 'mass storage' will be missing in yours system.ui and extra in stock system.iu . Rest procedure U know.

+ i found the way how to silm a bit system.ui apk and framework-res.apk. Search insisde the for images like stat.sys.(...) H+/4G/LTE and delete them. Our phone is never going to support any of the mobile data types mentioned up.

Wysłane z Cyano-fonika 11 nightly...
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thank you. I'll give it a try. :D

Update

: I compared the SystemUI from my ROM and from HarshJelly. My ROM's SystemUI has a lot of "extra" png files but there are no missing png files. :(

...

About reducing the size of the apk files, I too actually thought about this but I didn't do it. If I delete any file then apktool will generate a new public.xml while recompiling the apk file.

So I'll have to check/compare (and probably change) the "0x7f..." codes in various smali files - if there are any mods or features of my ROM that rely on the codes from the old public.xml file.

That's why instead of deleting them, I made them small and transparent png files. So each file now occupies a few bytes. I did this for many system apk files. :D

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] jineshpatel30:
[MENTION=4879114]Sami Kabir[/MENTION]

Are you aware of latest firmware from sammy ? idk what r improvements but it has build date of 2015 !!

http://samsung-updates.com/details/41782/Galaxy_S_Advance/GT-I9070/UPO/I9070UBLPL.html

mirror for faster dl if you are interested in looking into it

https://mega.co.nz/#!7FEW3KyA!-yyv4xrpDwmJAjpfWrSgv8wS9bCMbZqiVzBo2p7J2JU
[Galaxy S Advance I9070 Android Development] Sami Kabir:
(copy-pasted from my Facebook post :p)

I don't want to download it now - but I'll give it a try some time later. Honestly, I don't think there will be any (noticeable) improvements but its good to see that someone at Samsung thought about this 3 year old device...

My exams are going to start after 2 weeks - so I'm trying to stay away from my "other activities" :p

...........

If anyone else would like to give it a try, then please do tell me how your experience was.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
preciously ;)

me too..lol :p
[Galaxy S Advance I9070 Android Development] Jaanto:
That's interesting...
[Galaxy S Advance I9070 Android Development] Jaanto:
Any news? :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hi!

My exams are going to start in a few days, so I have temporarily stopped working on my ROM. I will resume from next month onwards but there really is nothing much to do.. I have tried many times to fix the "USB Mass Storage" bug but nothing seemed work. :(

And besides CM12 is finally here and a lot of people (including myself) are eager to try it out. My ROM doesn't stand a chance against AOSP based ROMs. This plus the fact that there is very little demand for this ROM, I have decided to slow things down.

There really is nothing much to do. Because of my lack of time and knowledge I can't introduce any new "eye-catching" features to this ROM (at least for now). Android 4.1.2 is slowly getting very old.

Anyways, I am working on a small (1.3.2) update but as I said earlier, I have stopped because of my exams. Thanks for your interest :)
[Galaxy S Advance I9070 Android Development] #Henkate:
Dude, even if jb is old, there are people and will always be people which stay on jb 4.1.2. Right now I'm on AOSP by Jteam, but i would go to your rom anytime (i have a backup also :D ). I already miss that smoothness. Im my opinion, i don't see an point why i should upgrade to lollipop. I don't get anything special, performance will downgrade comparing to kitkat probably ( on our phone). Just for an theme? No, thanks. Maybe i will try lollipop in future just to see how is working, nothing more.

And a cm12 theme for your rom maybe will attract more people. Even if you can't add an new "eye-catching" for now, your rom still have "eye-catchig" features for me :D if you remember my review.. :p

Good luck with your exams and i hope that this rom/thread won't be dead soon and that one day i will can use your Sami OS for PC. Help me get rid of windows aka. fat turtle ( so slow) :D
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thank you!!

[MENTION=4471434]Force[/MENTION] and [MENTION=6058022]Jaanto[/MENTION]
[Galaxy S Advance I9070 Android Development] Jaanto:
Your ROM is the only ROM that's smooth and fits perfectly with this samsh*t phone (to hell with Samsung for leaving us with a broken final update!!!) and I would choose it over any other ROM that gets released for it in the future, unless you're really serious about pulling the plug, which, eventually you will. I still need to finish the old contract for a year and then get my girlfriend a new phone. In the meantime I'm greatfull for all the energy you put in this, without expecting anything in return. You sir, are a great dev.

Good luck with your exams, I'll try not to bother you in the mean time! ;)
[Galaxy S Advance I9070 Android Development] jineshpatel30:
I'm Back :p finally my final BE exam over & technically i'm mechanical engineer now :p :D

So i tried Lollipop by hasta & polish both and in my honest opinion they are not for daily use :(

then tried some of older CMs and i cought some bugs and u knw i can't stand a bug :p

so decided to to go back our Simple & most stable JB with HarshJelly but then i realized i used it more than 1-1.5 yr and should change and you have fixed Home button problem on 1.3.1 so there is nothing that always annoys me so i flashed SamiOS from scratch..and you know what i'm very happy :D yah there are Mass transfer n ripple effect bugs so it's not solid stable as HJ but i don't care about those bugs bcz i don't use it in anyway.

Plus imo harsh is beast in changing TW rom and amount of effert you put in this ROM for themeing & learning is incredible & i think when some one themes and changes default behavior there are always chances of some minor bugs :p from my personal experience in modding & themeing only SystemUI i got several problems in single apk :p

so keep it up your work :D

and as always i have some requests... :p

1. I like ICS animations more than Lollipop bcz i feel Lollipop one is laggy especially in launching TW apps...so i need ICS one back ASAP :p ....as per my knowldege it cab be change by chnaging policy.jar/service.jar but i don't know what other changes you made in 1.3.1 in those files...if you din'd made any other changes in those then just tell me what to replace to get ICS one back...if you replaced other things as well in those file then plz give add-on to revert ICS animations ;)

2. if you can , add double tap status bar to sleep

3. persistent notification of USB debugging

4. Blocking mode notification/ notification icon in status bar so we can know blocking is enabled bcz i forgot it many times :p

5. (edit) toggle for turing off message about "connected to xyz wifi network" & "safe volume in earphone"

last 4 are present in HJ so you can ask Harsh for help ;)

finally Thanks for latest 1.3.1 , it fixed all the bugs i reported before :D

and stay tuned for more requests from me :p :p

btw is your exam over ? if not best of luck :D

(Edit : Too many emojis , eh ? i know but i like them )
[Galaxy S Advance I9070 Android Development] Sami Kabir:
[MENTION=4942685]jineshpatel30[/MENTION]

Thanks for trying my ROM again and for your reply!

My exam starts from tomorrow onwards.. My last exam will be on 28th (of this month). This week I have 3 :p

I'm sorry, I didn't fully read your review/post. But as soon as I get some free time, I swear I will :p And you will get a proper reply from me.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=4942685]jineshpatel30[/MENTION] [MENTION=2045426]samika[/MENTION]bir

+ for ICS animation

I know that i dont have that phone , but ICS animations were perfect for your rom.

Wysłane z Omega-fonika v24...
[Galaxy S Advance I9070 Android Development] arneldna:
Usb mass storage work around..!!

I actually found it long back....apologies for not letting you all know till now..!

For all those who need the USB Mass Storage mode very badly,

Ensure you have all Samung USB drivers installed.

Steps:

1. Reboot your device in Recovery mode.

2. Connect your Phone to your PC/Laptop using the USB cable.

3. Wait for the computer to detect your device and BAMM..!!

Your phone is now working as a USB device.

Both SD and ExtSD partitions tested and working fine..!!!

Good Luck...and don't forget to press the Thanks button.!
[Galaxy S Advance I9070 Android Development] jineshpatel30:
+1 for this :)

i also found this but forget to share.

and you need "Android Generic Driver" as well for this to work. Don't worry about it just keep your internet connection on while connecting mobile to PC in recovery mode and it will download them automatically ;)

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

No problem :)

take your time.

And best of luck for exam...give your best !
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Congrats!:laugh::good:

I told you earlier that I will give you a proper reply when I get some free time.

I finally got some

:p

Thank you for trying my ROM again, your review and for sharing your requests! :laugh:

1. Yes. In my opinion, ICS animations are better (the best actually!). I tried to bring some of the stuff from Lollipop on our phone and so at that time, for me successfully replicating Lollipop's animation on my ROM was a major success. So I decided to replace ICS' ones with Lollipop's ones.

No. All you have to do is replace a few folders (and the files inside them) in framework-res.apk to get back ICS animations. The names of the folder are: anim, anim-land, anim-port, animator and interpolator. If you have my ROM's zip file then take these folders from framework-res.apk and replace the existing ones in 1.3.1's framework-res.apk.

2. "Double tap status bar to sleep"

I'll try to add this. Is there a way to make it optional? I mean can I add a toggle switch in Settings app? I'll have to do some research on this.

3. "Persistent notification of USB debugging"

Try and see if it works after adding "persist.adb.notify=1" to build.prop

(http://www.droidiser.com/2013/07/remove-usb-debugging-notification-android.html)

4. "Blocking mode notification"

After I enabled Blocking Mode on my ROM, I used it for a while and found the icon on status bar quite annoying. I felt like it took space unnecessarily - so I disabled it. I'll add it back. :p

5. "Toggle for turning off message about "connected to xyz WiFi network" & "safe volume in earphone""

I'll try to add this. I tried to do this earlier, but it didn't work. Looks like I'll have to do some research on this.

And once again, thanks for everything!

(post added)

Thanks [MENTION=5008436]arneldna[/MENTION] for sharing your tip!

I actually knew about this but I didn't share it. I don't know why it didn't come to my mind earlier :p
[Galaxy S Advance I9070 Android Development] jineshpatel30:
:good:

http://xdaforums.com/showthread.php?t=2646909

this may help..actully i tried to do this on stock rom but even after doing it correctly it didn't work :p anyway give it try...

also there is xposed module for this ;)

well this is not wise-versa type..i mean you can reomve notification by just adding 0 but you can't get notification by just adding that like i think some change in system files are required for that..btw when you start working on this kindly check this by your self 1st bcz i use very muh debloated rom so there is chance that it may not work for me but it works for you if that'll be the case, inform me :p

you can ask harsh for this bcz it's already present in HJ tweeker so it'll be easy to get help ;)
[Galaxy S Advance I9070 Android Development] MikiGry:
[MENTION=4879114]Sami Kabir[/MENTION]

http://xdaforums.com/showthread.php?t=2304658

For AOSP statusbar. And just a little warning. There was one user who tryed that on I9070. U will have to play around some valumes to make mobile data icon perfect.

Wysłane ze SlimSaberd-fonika 4.4.4 ...
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for sharing :)

But I think that the current status bar icons on my ROM looks better ;)

- - - - - - - - - - - - - - - - - - - - - - - -

[MENTION=4942685]jineshpatel30[/MENTION] Good news! I found these 2 threads...

- For removing "Connected to xyz WiFi network" toast: http://xdaforums.com/showthread.php?t=2449683

- For removing the high volume safety toast: http://xdaforums.com/showthread.php?t=2226069 (its for Android 4.2 but I think it'll work for 4.1 too)

For me, I like the "Connected to xyz WiFi network" toast. It allows me to take a quick glance at what WiFi network my phone is connected to when I turn on WiFi. The high volume toast can get a little annoying but I usually don't even notice it :p
[Galaxy S Advance I9070 Android Development] jineshpatel30:
you can give toggle for that :p :D
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I would... if I could :p

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] Sami Kabir:
UMS Fixed!!

I FINALLY FIXED the USB Mass Storage Issue on my ROM!!!

(its 3:48 am on Bahrain. I need to sleep asap. Need to wake up early to start revision for my upcoming exam!)

Screenshot/Proof: