yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] jineshpatel30:
perfect utilization of night before exam ! :p

btw don't worry we all xdain do the same :silly: when we have mobile in hand we don't remember, what i need/have to do right now & what's going on around me :cyclops:

and thanks for fixing it in tight schedule !
[Galaxy S Advance I9070 Android Development] masud0869:
Hey Sami,

I want to install your Sami OS ROM . Please suggest me which version is best me.

awaiting for your cooperation.

Thanks in advance.:good:
[Galaxy S Advance I9070 Android Development] jineshpatel30:
they are not versions they are updates ;)

so you have to flash them all one by one...

go to recovery

do all wipe... /data , /system / cache /dalvik-cache , preload ( backup your important data 1st if you want to restore them :p )

then

flash sami os 1.0

then reboot system

then again go to recovery

then falsh sami os 1.1 ( DON'T wipe anything from now )

then reboot system

and so on upto sami os 1.3.1.

hoping this'll help ;)
[Galaxy S Advance I9070 Android Development] masud0869:
Thanks for your nice instruction.

but i want to know, is there any problem if i install update zip after install sami Os 1.0 without reboot system?

Thanks In advance.
[Galaxy S Advance I9070 Android Development] jineshpatel30:
most probably there is no problem :)

but it's recommended :p bcz there is 1% chance that you will get boot loop..if this mau happens don't panic and go to recovery and wipe dalvik-cache & do Factory reset and reboot ;)

it'll bootup
[Galaxy S Advance I9070 Android Development] masud0869:
Thanks.

:good:
[Galaxy S Advance I9070 Android Development] masud0869:
I Installed Sami OS ROM in my galaxy s advance and updated all version up to 1.3.1. i am using CoCore r09 TWRP kernel version.

i am satisfied:laugh: with performance but disappointed for battery life.:crying:

The battery life is significantly reduced compare to my stock rom. JB.

Is there any option to enhance the battery life with sami OS.

Please help and Thanks in advance.:confused:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I agree that battery consumption is a little high on my ROM and I have been trying a lot to lower it (without bringing noticeable performance reduction) but so far I haven't succeeded.

1. What governor and I/O scheduler are you using? (you can change to a more battery friendly combination like pegasus and sio)

2. What is your minimum and maximum CPU clock speed?

3. Also, check your battery stats to find out what is draining the most battery.

(both can be checked using No-Frills CPU control app)
[Galaxy S Advance I9070 Android Development] masud0869:
Thanks For Reply.

Governor- Odenmandq

I/O -cfq

200-800 MHZ

Most Battery Draining by Android OS- 29%
[Galaxy S Advance I9070 Android Development] Sami Kabir:
You can try using Pegasusq and sio with minimum CPU speed set to 100 MHz.

Also try Greenify (app). To some extent, it can help reduce battery consumption by hibernating apps that are running in background.

Sorry I can't be of much help.
[Galaxy S Advance I9070 Android Development] masud0869:
Thanks For your Nice Cooperation:good:

In my last two days experience when activate Nova Launcher it consumes huge amount of battery but performance is superb. without Nova launcher performance is little bit lower but battery is good. though not like stock rom but it is workable.

i think you will be able to find a proper solution of this battery issue. i have a good faith on your work.
[Galaxy S Advance I9070 Android Development] masud0869:
here i want to mention another issue that, is there any effect on battery killing for developer options ON?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
No.

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

To save battery you can use Greenify to hibernate apps and SDMaid Pro for apps management (cleaning cache, selecting which apps will auto-start on boot, removing unnecessary files, etc.)

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] masud0869:
Hey Sami,

Could u please help me to go back Stock JB Firmware?

actually the battery life in current rom totally make me disappointed. please.......

Thanks in advance.
[Galaxy S Advance I9070 Android Development] AsquareX:
download the ROM from Sammobile and flash it using Odin. Check YouTube for tutorials.
[Galaxy S Advance I9070 Android Development] #Henkate:
Do you use facebook app? That app drain much battery.

Also, if you want to have more battery flash Cocore E 8.2 ( if you have GT-I9070) or Cocore EP 8.2 ( if you have GT-I9070P).

Cocore E 8.2: http://d-h.st/Tq9

Cocore EP 8.2: http://d-h.st/kUv

Note that you will not have overclock cpu and gpu.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
(I'm Assuming that you are using i9070)

So go to

http://live.samsung-updates.com/index.php?device=GT-I9070 and download a recent 4.1.2 firmware. Also make sure that Samsung drivers are also installed on your computer. You should also download and install Odin on your computer.

Reboot to TWRP and wipe your system, cache, dalvik-cache (and data) partitions. Now reboot to Download mode and using Odin install stock 4.1.2 firmware on your phone. This might take some time and will remove CoCore kernel and Root access. It will also remove all your apps and its data. So it'll be better if you use Titanium Backup Pro before doing any of this.

I'm sorry for the inconvenience caused by my ROM. I might not be able to reply any more for today because I have exam tomorrow. So browse through our phone's XDA forums if you need any more information.

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] masud0869:
Your Assumption Is right.

Presently I am Using Sami Os with CoCore E r09 TWRP.

I am Really impressed for your nice Cooperation. Again Thanks.
[Galaxy S Advance I9070 Android Development] kostaks3:
awesome job you have done,really great!

seems like a smooth rom,havent been into it for long..

Although the theme isn't really of my taste

Great job,really!!!
[Galaxy S Advance I9070 Android Development] glajmate:
Hi. :)

I've been using your rom and it's fantastic!

The only problem is that is lags sometimes.

Do you know something how can i solve lags?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hi!

My ROM sadly still suffers from memory management issues. That plus some "rogue" lines in my ROM's init.d scripts cause noticeable lags, stutters and/or complete hangup. The easiest workaround would be to just restart your phone..

I've got some questions..

1. I've noticed that newer builds of CoCore kernels occasionally slows my phone down (and I don't know why).. So which build are you using? (mine is r09)

2. What governor and I/O scheduler are you using? (you can try using ondemand + noop)

3. What is your minimum and maximum CPU clock speed? (mine is 100 MHz, 1.05 GHz)
[Galaxy S Advance I9070 Android Development] glajmate:
Now i'm using MK kernel, but i've used cocore also.

I use smartass with sio and the minimum is 500mhz, the maximum is 1ghz.
[Galaxy S Advance I9070 Android Development] MstfPsl:
Battery Drain

This is the best stable rom for I9070P[NFC]. But battery life is very bad. Please fix it.

Cocore R09

Governor: Pegasusq

I/O: Sio

Max:1000

Min:100
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thank you.

Yes, I'm aware of my ROM's battery and memory management issues. I'm trying to fix both of them and so far I've noticed some improvements.

Its hard for me find a good balance between battery consumption and performance - because I'm only limited to what I know :o

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] MikiGry:
I just came with nice idea.

Do you know a rom called LightJB 1.2 ?

Try to 'build' your rom uing only perfornance and battery tweaks that comes with LightJB.

I had been using that rom for a few months (with CoCore EP 8.2) and the balance was perfect.

Than try adding one new tweak and test. Next one and other one and so on.

Wysłane z Alianced-fonika 9.0...
[Galaxy S Advance I9070 Android Development] #Henkate:
[MENTION=4879114]Sami Kabir[/MENTION] : i didn't try latest rom version yet, so i don't know about lag/battery issues which people are complaining. I still remember the combo Sami OS 1.2 + cocore 8.2 and was so great, i didn't have battery issues ( battery didn't drain even 1% per hour in deep sleep) or lag problems ( except small lag which i think was the fault our hardware).

It also depends very much what apps are running in background, if users does use Greenify or not and so on... Every user has different apps. Some of them use facebook app ( the biggest battery drainer...) and so on.

Did you try cocore 8.2 with your latest version? How is it working?

Did you make changes from v1.2 to latest version regarding battery/performance? If tes, maybe you can revert these changes and see how it goes? Because 1.2 didn't have such problems in my opinion. However, Sami OS still rocks ! :)
[Galaxy S Advance I9070 Android Development] MstfPsl:
I understand. Still your rom is the best and you are the best developer for S Advance, I think. :victory:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thank you :o

- No I didn't try my latest build with CoCore 8.2. You are right, this build of CoCore was very stable and delivered really good battery life and the performance wasn't that bad either. I will give it a try soon.

- I bought a new battery for my SGSA and I am using Greenify with Power saving mode enabled most of the time. Using my ROM's latest build, my battery drops by about 4% when I wake up from sleep and look at my phone.. 4% is still high and I'm trying to cut it down to 2% or even lesser :)

- All these minor improvements were seen mostly after I reverted back to the old tweaks and values from Sami OS 1.1 and 1.2.. I am still experimenting with init.d scripts to see which values and tweaks provide a good balance between battery consumption and performance (memory management).

The good news is that app (and memory) management looks stable so far but the bad news is that it diminishes when I try to make it more battery friendly (or efficient).

Thank you! Yes, I know about LightJB :o

Unfortunately I can't download it right now (or anytime soon) but I think the thing that makes LightJB "light" is because it only has the necessary tweaks and nothing extra..

That's why I'm trying to cut down on "unnecessary" tweaks in my ROM :)

Thank you for your kind words :o
[Galaxy S Advance I9070 Android Development] #Henkate:
I say that cocore 8.2 is the solution :D

I think i have it in my PC, and if i don't i can download it as i have good network speed, but upload speed is bad. So, tell me if you need something from it.

Before you change something, please give a try to cocore 8.2. It may solve battery problem.
[Galaxy S Advance I9070 Android Development] glajmate:
Hi.

When will you upload new updates?
[Galaxy S Advance I9070 Android Development] Sami Kabir:
In a few weeks :laugh:

I'm testing some new values in my init.d scripts.. I test every major changes for at least 2 days and then see how well (or how bad) my phone performs along with battery consumption.. So its taking quite some time :o

The goal of this update is to fix all the things that the previous updates broke.. So it won't introduce a lot of new features. Just refinements on the existing ones :)

Thanks for asking

!! :fingers-crossed::good:
[Galaxy S Advance I9070 Android Development] htoolay.syn:
Hello Sami,I want to install your Roms.I m now Revolution Rom GTl9070.How to start flashing?Now I downloaded Sami 1.3 rom.Can I flash this rom or Shall I flash your first rom 1.0,

Please reply me.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Hi. Thanks for your interest in my ROM. :o

Yes, you have to backup and then wipe everything before installing my ROM. You'll have to start with 1.0. Use your phone for a while, setup your WiFi networks and Google accounts. Then reboot to recovery and flash the updates in a chronological order (i.e 1.1, 1.2, 1.3 and then finally 1.3.1).

It might get a little tedious and I'm sorry about that. :o

Good luck! :good:

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] #Henkate:
[MENTION=4879114]Sami Kabir[/MENTION] : Last night i have noticed that there is an devdb update. What it is? :D
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Oh, I'm sorry! I just slightly updated my first post on this thread and that triggered the DevDB update. I wish there was an option to choose when to notify followers and when not to. :o

Thank you very much for your interest but please hold your excitement for two more weeks. :p

The update is ready. I'm still testing my init.d scripts because its very hard to find a good tweak value and so this always requires extra testing.
[Galaxy S Advance I9070 Android Development] isaak:
[MENTION=4879114]Sami Kabir[/MENTION] [MENTION=4471434]Force[/MENTION]

Samsung app works also in our firmware 4.1.2, just tested.

It just blocks incoming MMS, so it won't be detected by stagefright detector apps, because the faulty libs are still there and they can be always exploited with an unpatched browser or with other messaging apps like hangouts.

To improve things you can also use these workarounds, until you apply a definitive patch to fix it at 100%:

build.prop tweaks

https://blog.zimperium.com/how-to-protect-from-stagefright-vulnerability/

http://blog.exodusintel.com/2015/08/13/stagefright-mission-accomplished/
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks a lot for sharing this!.

This actually had me worried, even though I never use MMS and I make use of SMS very rarely.

On a side note, can you think of any reason why I can't send any SMS from my phone? I can only receive messages but I can't send any. I have been experimenting with a lot of things lately - mostly removing things that I felt is unnecessary and is just consuming memory (and CPU time) by running in the background. Sadly, I didn't keep a track of all the changes I made and today I found out that I can't send SMS messages from my phone. The reason why this went unnoticed is because I hardly ever use SMS - so now I can't tell for how long it was like this and why its happening.

Here's a list of apps I removed two days ago, but I don't think any of them is causing this...

AllshareMediaServer, AllshareService, DSMForwarding, DSMLawmo, MobileTrackerEngineTwo, SNS, Kies and PCWClients.
[Galaxy S Advance I9070 Android Development] isaak:
I have all that apps frozen with sdmaid..

Please try to install My Android Tools app (free edition). Then open it -> Service -> System -> Messages -> I keep all disabled except MessagingNotificationAlert, NoConfirmationSendService, SmsReceiverService, TransactionService, WapPushReceiverService.

Then go to Broadcast Receiver ->System -> Messages -> I keep all disabled except MessageStatusReceiver, PrivilegedSmsReceiver, PushReceiver, ReadChangedReceiver, SimFullReceiver, SmsReceiver, SmsRejectedReceiver.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Thanks again for the tip! :)

If you have the time, can you please go through this list of all the system apps I have removed recently from my phone and tell me if the lack of any one of those apps is causing the texting problem I'm having? :o

AllshareMediaServer.apk

AllshareService.apk

BluetoothMap.apk

Divx.apk

DSMForwarding.apk

DSMLawmo.apk

EdmSysScopeService.apk

FmmDM.apk

FmmDS.apk

Kies.apk

MAPServiceSamsung.apk

minimode-res.apk

MobilePrint.apk

MobileTrackerEngineTwo.apk

OmaDrmPopup.apk

PCWClientS.apk

PRUI.apk

sCloudBackupApp.apk

sCloudBackupProvider.apk

sCloudDataRelay.apk

sCloudDataSync.apk

sCloudSyncBrowser.apk

sCloudSyncCalendar.apk

sCloudSyncContacts.apk

SecExchange.apk

SmartcardService.apk

SNS.apk

syncmIDS.apk

SysScope.apk

wssyncmlnps.apk

I'm fairly certain that the removal of these apps isn't causing this but I'd like to know this from someone other than myself :)
[Galaxy S Advance I9070 Android Development] isaak:
To not leave any doubt, try restoring SyncmIDS, SysScope, SmartcardService, minimode-res, BluetoothMap (also called MAPServiceSamsung).

Hope it helps to exclude your problem.. otherwise you need to provide something else, as a logcat.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Sadly restoring these apps didn't help either (as I feared).

Logcat didn't show any errors but then again, I'm not good at understanding logcats. I didn't see any errors regarding messaging, so I don't really know what's causing this. Oh well, if I can't fix it then I'm going to have to live with it.
[Galaxy S Advance I9070 Android Development] isaak:
A titanium backup of your sms app + clearing data/cache + restore titanium backup is your last chance imho.

I gave up on jb months ago because there are better challenges to face.. time permitting, I hope to do something about broken video recording on cm 12.1.. that is the only obstacle to get official cm support, no matter how old this device it is. And this requirement would unlock the development of a nice rom I've in mind, a ton of features developed by other devs, and nightly builds for us. But they want a stable CM 12.1.

I just need to involve other devs into this before starting... including ace2 devs.
[Galaxy S Advance I9070 Android Development] glajmate:
Hi, when can we try out the new updates? :D

I can't wait for it..:victory:
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Very soon, I hope. Thank you for your interest and long patience! :o

The first thing I actually did was swap my Messaging app with another one. It didn't work. The messaging apps I have are from CM 11, 10.1 and 10. They all obviously worked before, but now none of them seems to work. I can receive messages but if I attempt to send any, it simply gets stuck at "sending" even though its going nowhere. I will try using Titanium Backup.

I also want to help you but unfortunately I don't have much advanced knowledge about Android or Linux. I don't even know any programming language and my work is only limited to what I know and learned. But still, I will try to help. :)

About video recording, you can take a look at this. It is a "temporary" fix for the camera made by PolishVodka for his Omni ROM port. Other than "camera fix" he doesn't really say whether it fixes the video recording problem or not. It may not even work on CM 12.1 but I think you can still take a look at it. :)

Good luck!

Edit: Please ignore the above paragraph. Someone said that it fixes the camera problem, so I assumed that its the video recording problem. I should have done more research before sharing this. Sorry! :mad:
[Galaxy S Advance I9070 Android Development] PolishVodka:
@Up

No, unfortunately no. It's for CAMERA, not CAMCORDER. This are only vendor files for Janice camera, which I was accidentally removed (not every of course, but too much and because of that camera not working).

Warning! This kernel WASN'T TESTED, FLASH ONLY IF YOU HAVE ODIN. JUST IN CASE.

Full credits to ChronoMonochrome, here is his latest kernel for Janice stock JB firmware. Support for CRT effect/init.d/custom boot animation's (thanks to cocaffe):

http://www.mediafire.com/?gm5qft8t6vq21a3
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Oh, I'm sorry. Thanks for letting me know!

Someone said that it fixes the camera problem, so I assumed that its the video recording problem. I should have done more research before sharing it.

Thanks for sharing!

I don't yet know how to make an Odin flashable kernel, so I think I will wait for someone else to test it and share their review first. :o
[Galaxy S Advance I9070 Android Development] Cassiusss:
PolishVodka meant that Odin is required in case of softbrick, but you can install the kernel just using a custom recovery! ;)
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Need Help

Can anyone please review these 3 scripts if you have the time? Thank you. :o

I have used them for a long time but it seems that over time, my phone slows down.. Can anyone please tell me how I can fix it?

01_tweaks

#!/system/bin/sh

echo '2048,3072,12288,14336,16384,18432' > /sys/module/lowmemorykiller/parameters/minfree
echo '0,1,2,4,9,15' > /sys/module/lowmemorykiller/parameters/adj
echo 0 > /sys/module/lowmemorykiller/parameters/debug_level
echo 16 > /sys/module/lowmemorykiller/parameters/cost
echo 0 > /sys/module/mali/parameters/mali_debug_level

busybox killall -9 android.process.media
busybox killall -9 mediaserver

echo 1 > /proc/sys/vm/overcommit_memory
echo 16384 > /proc/sys/vm/min_free_kbytes
echo 20 > /proc/sys/vm/swappiness
echo 0 > /proc/sys/vm/panic_on_oom
echo 0 > /proc/sys/vm/oom_kill_allocating_task
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

tune2fs -o journal_data_writeback /dev/block/mmcblk0p4
tune2fs -O ^has_journal /dev/block/mmcblk0p4

busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime /data

for k in $(busybox mount | grep relatime | cut -d " " -f3);
do
busybox mount -o remount,noatime,nodiratime,discard,commit=600 $k;
done;

for i in $(busybox find /sys/devices -name queue);
do
echo 0 > $i/rotational;
echo 0 > $i/iostats;
done;

02_kernel

#!/system/bin/sh

echo 'NO_GENTLE_FAIR_SLEEPERS' > /sys/kernel/debug/sched_features
echo 'NO_NORMALIZED_SLEEPERS' > /sys/kernel/debug/sched_features
echo 'NO_NEW_FAIR_SLEEPERS' > /sys/kernel/debug/sched_features
echo 4 > /d/cpuidle/deepest_state

echo on > /sys/kernel/mxt224e/touchboost
echo 500 > /sys/kernel/mxt224e/touchboost_delay
echo 600000 > /sys/kernel/mxt224e/touchboost_freq

echo 0 > /proc/sys/kernel/hung_task_timeout_secs
echo 0 > /proc/sys/kernel/softlockup_panic
echo 0 > /proc/sys/kernel/panic_on_oops
echo 0 > /proc/sys/kernel/panic

04_cleaner

#!/system/bin/sh

sleep 21600
sync
echo 3 > /proc/sys/vm/drop_caches
busybox rm -f /cache/*.apk
busybox rm -f /cache/*.tmp
busybox rm -f /cache/recovery/*
busybox rm -f /data/*.log
busybox rm -f /data/backup/pending/*.tmp
busybox rm -f /data/dalvik-cache/*.apk
busybox rm -f /data/dalvik-cache/*.tmp
busybox rm -f /data/local/*.apk
busybox rm -f /data/local/tmp/*.apk
busybox rm -f /data/log/*.log
busybox rm -f /data/system/dropbox/*.txt
busybox rm -f /data/system/usagestats/*
busybox rm -f /data/tombstones/*
busybox rm -f /sdcard/LOST.DIR/*

I cannot seem to find anything wrong with any of the lines on these scripts but I can't concentrate too hard or spend a lot of time because I am dealing with some personal problems for the past few weeks. :(
[Galaxy S Advance I9070 Android Development] #Henkate:
[MENTION=4879114]Sami Kabir[/MENTION] : Few days ago i saw in your signature SamiOS 1.3.2, and now 1.4 (final build). I'm excited :p
[Galaxy S Advance I9070 Android Development] Sami Kabir:
I am also excited :p

I got a job 3 weeks ago.. So I'm really busy nowadays. That's why I didn't release the update yet. I already uploaded it few days ago - just did not share with anyone yet. :o

Sent from my GT-I9070
[Galaxy S Advance I9070 Android Development] Sidman3278:
New Release!!!

I am egerly waiting for it.:good:
[Galaxy S Advance I9070 Android Development] Zouhuo:
Try the latest [MENTION=3329816]mkaluza[/MENTION] kernel (Dynamic governor) also works with Stock ROM.

I had a similar experience with the [MENTION=4832589]cocafe[/MENTION] kernel...
[Galaxy S Advance I9070 Android Development] #Henkate:
I always wanted to make my own rom and so far i cancelled it many times, this guy [MENTION=6218339]uncreator[/MENTION] made me an logo and it is awesome. Now im thinking to make a theme for your rom, with my own taste and i bet there would be people which would like it. Im not sure :D Anyway, the rom/theme i would like to look is with some kind of gray or white and a blue color. But there is a problem, this kind of theme would drain some more battery for our amoled screen i guess.
[Galaxy S Advance I9070 Android Development] Jaanto:
Can't wait! [emoji3]