yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sami OS 1.1 Update

Sami OS 1.1 Update​

This Post is OUTDATED!!

Click here to go to the updated Post!

As promised, here's the very first Update for Sami OS 1.0! Yes, I know I'm a "little" late because I had to finish my assignments first! Anyways here's a list of all the features of Sami OS 1.1:

- Fixed "Master Key" Security Vulnerability (thanks to [MENTION=2805784]mr.harsh[/MENTION])

- Slight framework tweaks to reduce random "sluggishness of TouchWiz UI" to some extent

- Modified ROM's overall Dark theming and added some visual elements from Android KitKat

- Replaced most of the System apps' icons with the icons from Kitkat (and a few from other sources)

- Ported and Added a Dialer widget from Samsung's JB 4.2.2 firmware for S3

- Enabled CRT Off effect (finally :p)

- Disabled "Battery Full" notification

- Disabled 4-Way Rotation hack enabled (now you can no longer use the phone while holding it upside down)

- Lowered Screen Auto Brightness levels to save battery life (to some extent, don't worry you probably won't notice the screen's lowered brightness)

- Fixed the rare "USB not recognized" message on Windows when phone was connected

- Removed "KioskMode" from framework-res.apk - thus reduced its actual size by 4.7 MB!

- Removed SyncmlDM.apk (its an useless system software updater)

- Added the infamous Popup Browser

- Couple of new build.prop tweaks

- Updated a new and improved ZipAlign and Vacuum script (which will automatically run every week instead of running at every boot - this speeds up the overall boot process)

- Changed some of the values in Services.jar with the ones from CM 10.1 (I'm still experimenting to find the best combo of values for better memory management and performance)

- Did some Miscellaneous Battery and Performance tweaks and enhancements ​

And that's pretty much it.. I know the list is short, but I'm still open to suggestions from you guys :cowboy:

Oh yeah, I'm uploading the ZIP right now and it'll take a couple of more minutes to finish upload.. Then I'll share the link on the First Page of this thread under "Updates" menu.. Thanks for your patience guys!

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

BAD NEWS GUYS!​

I just tried flashing the zip on my phone.. apparently my ROM's zip file won't install at all.. :(

I've tried a lot of things to solve this problem! But nothing seems to fix this issue.. And the worst of all, neither TWRP or CWM is telling me what or why its causing this!!!! :crying:

(Sorry, I will re-upload the zip as soon as I fix this issue :()
[Galaxy S Advance I9070 Android Development] darcik:
Great Sami :)

Btw, update need factory reset etc, like new install?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
No.. It will not require erasing of any Data :)

But you do know that my "zip" file is having issues.. that's why I haven't shared its download link.. I'll try my best to fix this issue asap and upload the fixed zip file :)
[Galaxy S Advance I9070 Android Development] darcik:
Nice. :cool:

Yep I know and I'm waiting for green light from you :D

Atm I'm going to bed. :laugh:

Btw, what about "my" arrows? :D
[Galaxy S Advance I9070 Android Development] iiD4x:
Good work sami , but i like AOSP Roms more , i tried yr first ver was good , Arabic added :D

i may use ur Rom if u released Multiwindow trick which u can found it here http://xdaforums.com/showthread.php?t=2350604

i didnt tried that btw , Good luck
[Galaxy S Advance I9070 Android Development] Heartstoler1991:
awesome work
[Galaxy S Advance I9070 Android Development] artupidah:
I use OnDemand + noop, and the battery is still drain to fast.

What's wrong with this, can you help me ?
[Galaxy S Advance I9070 Android Development] mhmod222:
bue phone icon
[Galaxy S Advance I9070 Android Development] darcik:
Check with CPU spy if phone going to deep sleep.

With Wakelock Detector you can check that applications do not allow for this.

Lol you mean blue or buy? :silly:

Btw Sami, everyone likes different icons, so not everyone will like what you use.

This man like yellow phone icon, that green, that blue, etc...

Do icon what you like and if someone like another icons

so can use themes for Nova, Apex or another launcher.

There are hundreds icons. :D
[Galaxy S Advance I9070 Android Development] mhmod222:
sorry i mean blue
[Galaxy S Advance I9070 Android Development] artupidah:
I use No Frill CPU in 200 -1000 MHz, and without Deep sleep setting.
[Galaxy S Advance I9070 Android Development] darcik:
After screen off, phone did not go to sleep?

Check what is your deepest_state /d/cpuidle/deepest_state

Ofc sleep state is if you off screen, if you are using phone whole time, he can't go to sleep.

And what is showing Wakelock Detector?

If you want help give more info, otherwise it will be only guesswork. :p
[Galaxy S Advance I9070 Android Development] artupidah:
Sori, its going to sleep of course :D.

Here is my WLD Screenshot...
[Galaxy S Advance I9070 Android Development] darcik:
Imo this isn't Sami OS fail. Try to recalibrate battery. Search forum, here is many topics about.

GT-I9070 ==> Tapatalk 2
[Galaxy S Advance I9070 Android Development] darcik:
Lol, really bad news, but dont give up. ;)

We hope for you! :good:
[Galaxy S Advance I9070 Android Development] kios36:
Excellent, thank you very much for your work
[Galaxy S Advance I9070 Android Development] AltamashAN:
Amazing work dude....

* Just for suggestion, will you make it of light color theme, cuz we have ( nearly all ROMs) of dark color.

Sorry for bad English.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I can try making an Additional White Theme but I most probably won't keep it White by default.. Because I (and most people I know) love and prefer Dark UI over Light(er) ones.. It looks more pleasing and elegant to me this way :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Anyone who flashed the update, can you please check if the "3G Status bar" bug is fixed or not?

Since I don't really use data on my phone, I can't tell if its fixed or not :o
[Galaxy S Advance I9070 Android Development] HeltonMax:
here works well 3g icon, but the wifi icon does not show arrows
[Galaxy S Advance I9070 Android Development] darcik:
Finally you did it. :)

I just reflashed Sami OS 1.0 and did update.

3G icon is OK but WiFi still without arrows :(

I noticed 2 bugs.

Im using Apex launcher and Dialer widget look like on first screenshot.

This isnt so important for me, I only report this. ;)

More important is bug on widget drawer, 2nd screenshot.

Always when I try to add widget from this drawer launcher crushed.

It was at version 1.0 also.

At built-in Nova launcher, it happens too sometimes.

On stock ROM, didn't happen with Apex and the same settings.

Anyway great work, tnx Sami :good:

Please do wifi arrows and I will be happy :laugh:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for letting me know.. and yes I did not enable the WiFi arrows... I will do it tomorrow probably and add it as an add-on

Thanks for your info :)

- Well try resizing the dialer widget.. it loads perfectly for me.. I don't know it doesn't for you...

- I don't use Apex.. so I can't tell for sure.. but this never happened to me on both stock launcher and in Nova

- I did not enable the WiFi arrows... I will do it tomorrow probably and add it as an add-on
[Galaxy S Advance I9070 Android Development] darcik:
This widget can't be resized.

I checked that is as is because Im using 5 rows of icons. ;)

If 4 rows - all is OK. But as I said this is not important matter for me.
[Galaxy S Advance I9070 Android Development] HeltonMax:
[MENTION=4879114]Sami Kabir[/MENTION] am facing a problem in the telephone does not ring any sound when the ringer volume is set to maximum, no audio is muted
[Galaxy S Advance I9070 Android Development] fbs:
"- Reboot to Recovery and wipe System..." ??? If you do that, THEN it will really not boot !!
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Oops, I typed it by mistake.. But either way it can be done if my ROM doesn't boot or has some other problems.. so that users can do that and then flash any other ROM or just flash Jellybean firmware using Odin :o

You're the Second person to tell me about this issue.. I will look into this problem asap.. I will also test in on my phone first :)

Its re-sizable for me :eek:

Its okay if you don't need it or use it ;)
[Galaxy S Advance I9070 Android Development] aravbb:
Sound is not working at max volume

You may have set the volume of ringtone, notification and others at max value. Just reduce volume to 1 step down and you will get ringer and other sounds.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Yeah, I probably never noticed because I never set my volume to max...

But still this isn't supposed to happen.. I'll have to find out what's causing it...
[Galaxy S Advance I9070 Android Development] darcik:
I noticed something else.

On version 1.0 I used buit-in alarm clock, suddenly it stopped work - any sound.

I installed Xtreme Clock from google shop, all was fine.

After update Sami OS to 1.1, suddenly Xtreme stopped to work,

I mean he wake, shake but no sound.

Nothing helped - reinstall, clear settings - nothing. :p

Suddenly buit-in alarm clock began to work. :cool:

Now I see here that is problem with sound.

Maybe some settings in build.prop or something else?

Or simply mess in Android, our device or the forces of evil? :D
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I think I know what's causing this weird "No Audio" problem.. I think its because of a smali file in framework.jar... I'll experiment with it tomorrow morning.. and see if it fixes this issue :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sorry for the delay.. but here it is.. Please try this and see if this fixes your problem or not.. I hope it does :o

Download this framework.jar and place (copy-paste) it to system > framework folder... Now do a Hot Reboot and wait for it to finish the Boot process... I just tried it out and it seems to fix it on my phone :)

DOWNLOAD LINK

: http://www.mediafire.com/download/o1wt7zx01774sga/framework.jar

( [MENTION=5583928]charnoha[/MENTION], [MENTION=5273792]darcik[/MENTION] and [MENTION=4891942]HeltonMax[/MENTION], you guys should check this out )
[Galaxy S Advance I9070 Android Development] darcik:
Changed, phone after copy file did self hot reboot. :eek:

Now all alarm aplications works fine. :good:

Didnt noticed any problem with sound.

Tnx Sami. :)
[Galaxy S Advance I9070 Android Development] HeltonMax:
All working ok now :p, thank you for this beautiful ROM for our phone Sami :)
[Galaxy S Advance I9070 Android Development] kios36:
excellent, thanks :good:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Another Add-On!

Ok.. a couple of you guys asked me to do this.. so here it is...

This small add-on will enable the Wifi "In and Out" indicator on Status Bar..

All you need to do is download this file and rename it to "SystemUI.apk" and then replace the original one with this one (in system > app folder).. Set the correct permissions and do a Hot Reboot!

(Note: Your Current Wallpaper might get reverted to the Default S_OS wallpaper)
[Galaxy S Advance I9070 Android Development] darcik:
Yes, tnx Sami :good:

I like these arrows.

Now I know, if phone is freezed by lag or maybe is blocking by downloading something. ;)
[Galaxy S Advance I9070 Android Development] Heartstoler1991:
how to configure portable WiFi hotspot in ur ROM ??
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sorry, I never tried it.. so I can't tell for sure.. How do you usually do it (on other stock based ROMs)?
[Galaxy S Advance I9070 Android Development] Heartstoler1991:
solved it .. using foxfi from play store
[Galaxy S Advance I9070 Android Development] darcik:
Do you mean sharing 3G internet for other devices using Wi-Fi/USB in local net?

This option is like in stock JB ROM, nothing changed.

Settings --> More settings --> Sharing internet --> Router Wi-Fi

(these menus are like it above, its my translation from polish. ;) )
[Galaxy S Advance I9070 Android Development] ajeshmanu:
i dwnlded the framework.jar to fix the audio.bt its a zip file. i couldnt find any .jar file
[Galaxy S Advance I9070 Android Development] darcik:
If you are using FF, probably browser changed file extension.

GT-I9070 ==> Tapatalk space
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thats OK.. just copy it to your phone and using Root Browser select "Rename".. then remove the ".zip" from the end..

Then follow the instructions to properly install it :)
[Galaxy S Advance I9070 Android Development] ajeshmanu:
Oookkk. So dats it....thank u for the quick reply
[Galaxy S Advance I9070 Android Development] jazzsonic:
I have downloaded and installed the ROM and its really amazing but I have a problem with the keybord especially with Arabic language its missing one letter . so I tried to use Samsung stock keyboard but it doesn't have Arabic support . please help

:(
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for installing my ROM.. and sorry for the issue you are having.. can you please show me a screenshot so that I can see what's wrong with the keyboard?
[Galaxy S Advance I9070 Android Development] jazzsonic:
the screenshot is in the attachment

if you can give me Samsung stock keyboard with Arabic support I will be thankful :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sorry mate I searched a lot on my PC.. I have some of the Keyboard apps from Samsung but none of them have Arabic language in them :mad:

For now please Download a 3rd party app from Google Play and use it temporarily.. I will try to get it from some other place and share it with you..

BTW if you have a backup of your System apps then you too can get the keyboard.. just look for "SamsungIME.apk" and put it in system > app folder.. and then Reboot.. :)
[Galaxy S Advance I9070 Android Development] roboneter:
I get stuck at galaxy s advance logo?

how to fix this.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
This is not supposed to happen! You did follow all my instructions step-by-step right? And please answer these questions too...

1. Was the installation successful? Or did it show any errors?

2. How long was it "stuck" like this (approx.)? Or was it a bootloop?

3. It should not be stuck like this for too long.. did your phone turn off or did it reboot to recovery mode later on?

4. And what ROM were you using before flashing mine?
[Galaxy S Advance I9070 Android Development] shut_down:
Flash first v1 then v2. If you did like that, do factory reset, wipe cache, wipe dalvik cache.

If that do not help, redownload zips, and retry.
[Galaxy S Advance I9070 Android Development] anantttt:
After flashing the zip you must have wiped /system.

Otherwise there is no way, the phone getting stuck at boot logo.

Remember, before installing, you can wipe preload and system. But after flashing the zip dont wipe them.

PS also while flashing , mount preload and system.

[MENTION=2991046]shut_down[/MENTION]

When we format data partition, the dalvik cache is automatically erased as dalvik cache is in /data partition.

So there is no need to wipe dalvik cache aftet a data wipe.

Dalvik cache is usually wiped when we upgrade to a new version without a data wipe.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Yeah.. but still it should have booted back to Recovery mode.. not stay stuck at the Samsung Galaxy logo..

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] shut_down:
My guess is that he installed just V2, without V1. But he will tell what he did.

Just telling I am stuck at bootlogo is not gonna help him. :cowboy:
[Galaxy S Advance I9070 Android Development] GæxD:
I test this rom tonight :)
[Galaxy S Advance I9070 Android Development] GæxD:
Intall CoCore Kernel :highfive:
[Galaxy S Advance I9070 Android Development] GæxD:
[MENTION=4879114]Sami Kabir[/MENTION] you have Wifi and Battery stock icons for Sami OS 1.1?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Not at the moment.. but I will make one and share it here in a couple of hours... :)

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] GæxD:
Thanks in Advance :)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You're welcome mate.. Okay.. here's how you should do it.. First of all, download this 2 files from here and from here and put them in your External SD Card... then follow this:

1.

For stock Wifi In and Out indicators...

- Rename "SystemUI + Wifi Indicator.apk" to "SystemUI.apk" and then push it to system/app folder using any Root Browser

- That's it... This should work.. I tested it before :good:

- Now Reboot to Recovery

2.

For stock Battery indicators...

- In Recovery mode.. flash Stock_Battery_Indicators.zip

- That's it... In theory it should work but I did not test it so please tell me if you succeeded or not! :o

Anyways I'm sorry I did not have the time to test it... so please BACKUP your System partition first, try it and let me know :)
[Galaxy S Advance I9070 Android Development] roboneter:
Fixed it. When i mounted my system. and after that formatted system. CWM automaticly unmounts system. So all i had to do is just mount system again after formatting it.

Using CWM.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Anyone who's still using my ROM.. I have a question... Compared to version 1.1 was the battery life and gaming performance better in version 1.0?

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] darcik:
Imo battery life was same or a bit better.

About games I can't say cause I'm don't play. ;)
[Galaxy S Advance I9070 Android Development] MikiGry:
Did anyone tryed this rom on P model ?

Can i use CoCore on it ?

Is roaming working ?

Are you working on update ?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I don't know mate. The ROM is originally made for i9070 only.. Someone told that he wasn't able to get Signal (reception) and got his baseband as "unknown"... I am working on an update but I can't tell if it will work on the NFC variant since I don't own one...

You can backup EVERYTHING and give it a try on a weekend, and yes its compatible with all CoCore kernels :)
[Galaxy S Advance I9070 Android Development] MikiGry:
I think it is because he didnt change tee folder. TESLA-MADAL make his ParanoidAndroid compatibe witch I9070P (in setting was displaying I9070P) ask Him about :o
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Even I thought that it will work with only the tee folder changed but that user told that he tried it and still wasn't able to get it fixed...

LINK: http://xdaforums.com/showpost.php?p=47056801&postcount=81
[Galaxy S Advance I9070 Android Development] MikiGry:
Hmm

Can you try to build it on stock jellybean for I9070P ?

I think it will fix no RIL problem.
[Galaxy S Advance I9070 Android Development] shut_down:
Try to install it like any other ROM you tried that is not for P. Just do stuff from guide: http://xdaforums.com/showthread.php?t=2191628

[MENTION=4879114]Sami Kabir[/MENTION] that user wrote "yea well I replaced the tee folder with 7zip" - this means he replaced files before installing your ROM, on its ZIP. Maybe it needs to be replaced on the phone, after instalation is done.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I can try BUT the Dark theming in my ROM is quite deep and intensive.. even most of the system apps are modded and themed, whether its noticeable or not.. so it will take a lot of time :/

I don't know mate.. But yeah maybe.. or maybe its because of some other file in my ROM..

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] danhughes1961:
Very Nice ROM - but do you have stock Camera/Clock

Hi ,

I've had this ROM installed for the last few days and it is super quick and stable, and looks great as well - will be checking out the battery life over a normal day and will report back.

Couple of queries, do you happen to have the stock clock and camera ? I really don't like the new clock and i find the camera settings far too fiddly. I tried to re-install the stock versions myself but i guess since they are not deodex'd they are incompatible with this ROM ?

If you have them, that would be great - if not then no problem !

Thanks
[Galaxy S Advance I9070 Android Development] Sami Kabir:
They are compatible.. If I have them on my PC then I'll upload it and share it with you.. :)

And thanks for installing my ROM :good:

[EDIT]

Okay I've uploaded them.. Please check under Add-Ons section to Download them.. And yes, please delete Clock.apk and Gallery3.apk from system > app folder to get rid of my ROM's default Clock, Camera and Gallery app :)
[Galaxy S Advance I9070 Android Development] danhughes1961:
thanks mate, very hospitable of you- the clock and camera are great :good::good: but looks like the gallery wont work, it doesn't read in any pics - old or new - just shows the folders (with correct numbers of pics etc) but no pics are able to be loaded - maybe it's not compatible...anyway, no worries - i can use the new gallery, it was the camera and clock were the main things ! Cheers.
[Galaxy S Advance I9070 Android Development] shut_down:
Have you tried to reboot phone? Maybe it is not cached still. And maybe do wipe cache and wipe dalvik cache.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks for the info mate; I'll give the stock Gallery app a try.. see what's wrong and try to fix it.. If I succeed I will let you know.. :cowboy:
[Galaxy S Advance I9070 Android Development] danhughes1961:
No worries, it's not a big deal (i did try reboot and wiping the caches also). On another topic, do you recommend not running any kind of battery saving apps on your ROM ? On stock i always ran juice defender and it helped quite a lot i found, but have seen on other ROMs people recommending not to run them. Anyway, think i will run for a few days without - then with and let you know. Cheers
[Galaxy S Advance I9070 Android Development] mykimouse:
Hi Sami, Sorry i haven't tried your rom yet, but does the dark theme for system apps persist even when they are updated from play store?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Um no; most of the System apps are Samsung's proprietary apps and only those are themed.. Other system apps are not themed (as far as I know) but even f they are they will be gone as soon as they are updated...
[Galaxy S Advance I9070 Android Development] fbs:
Why 4.1 roms don't come with its "own" kernels ? :(

in init.d/03_tweaks we have a "typo":

and..

I've installed cocore 8.6.4, but some init.d scripts don't seem to be run.

...Like: inside that 03 we have "echo "16000" > /proc/sys/kernel/msgmni;", but cat /proc/sys/kernel/msgmni shows 959
[Galaxy S Advance I9070 Android Development] MikiGry:
CM 10 , Canilla , CM 10 SanNex has their own kernels :D

Wysłane z mojego GT-I9070P przy użyciu Tapatalka
[Galaxy S Advance I9070 Android Development] shut_down:
Because they need permission from developer that made kernel. And you already have one kernel on phone, it is kept after install.

P.S. Your init.d is not working. Either you did not made it well, or init.d is not working well. Try manual set from terminal.
[Galaxy S Advance I9070 Android Development] nowfalsalahudeen:
[MENTION=4879114]Sami Kabir[/MENTION] touch screen freezes after pressing lock buton .this prob occures only after screen roation on.

if screen rotation off it can never happens..here is anyway for fix it..
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sorry mate, but I never faced this problem on my phone before.. Which version of my ROM are you using and also which kernel are you using mate?
[Galaxy S Advance I9070 Android Development] nowfalsalahudeen:
kernal cocore 8.8 with oc

sami os 1.1

plz help..only problem is while unlocking the display is on.but dont respons ..after rebooting(long press on power button) it will be solved.but every time this will happens..the screen rotation off..there is no prob