yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] danierakes:
The best i ever got on cm10 is 3days jellybam rom with kernel by nipstcl...screen on 5 hours...

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] Siddhant Shankpal:
[MENTION=4349695]loSconosciuto[/MENTION] I don't get these things as i'm not from this field..:P sorry!!

anyways just keep on going.. we all owe u for ur great work..:) Thanks! :good::highfive::cowboy:
[Samsung Galaxy SL i9003] shaktishekhar:
help !!

[MENTION=4349695]loSconosciuto[/MENTION] Can you tell me how can i change vm swappiness which is 40 as default i wanted to change it i tried multiple scripts but non of them worked out in the rom there is no /etc/sysctl.conf than how to change it help :confused:

if i type cmd in terminal after booting "echo "0" > /proc/sys/vm/swappiness" than it works but when i put the same in init.d script it wont why ?

tried this also

#!/system/bin/sh

if [ -e /proc/sys/vm/swappiness ]; then

echo "0" > /proc/sys/vm/swappiness

no result

i made the file in etc sysctl.conf

and types

#!/system/bin/sh

#sysctl.conf file

vm.swappiness= 0

than also didn't worked
[Samsung Galaxy SL i9003] LoLaTiOn:
You can change easy this with Performance Control or ROM Toolbox bro no need this
[Samsung Galaxy SL i9003] shaktishekhar:
?

and from where i can get this performance control i have rom toolbox it changes i agress but temp after reboot it reset i need to set the value on boot like init.d is there any way to do that ?

I got that performance app but it apply on boot after os boots up as a start up app i want it to apple wile booting without any app support is it possible
[Samsung Galaxy SL i9003] loSconosciuto:
[MENTION=4588282]sgatechwork[/MENTION]

My bad. Flash v4.0-test2, the kernel is the same used in my last build.

The swappiness value is changed from init.latona.rc, I was testing something and forgot to revert the changes when I built the ROM.

Anyway:

#!/system/bin/sh

if [ -e /proc/sys/vm/swappiness ]; then
echo "0" > /proc/sys/vm/swappiness
[COLOR=red]fi[/COLOR]

(probably it does what you need even without "fi", but it's just wrong. Checking the existence of /proc/sys/vm/swappiness is not that needed)

and sysctl.conf does nothing if sysctl -p is not executed.
[Samsung Galaxy SL i9003] LoLaTiOn:
Juste line only because there is no contition only one execution in init.d floder

you can look viewing a few good example taken SlimBean good in this domain

echo "0" > /proc/sys/vm/swappiness;

You can test this bro

#!/system/xbin/ash

. /system/etc/liberty.bsh

# Always zipalign
zipalign_apks

# Enable Syscntl
sysctl -p /system/etc/sysctl.conf

# Fix Permissions
fix_permissions

# VM
echo "3000" > /proc/sys/vm/dirty_expire_centisecs;
echo "300" > /proc/sys/vm/dirty_writeback_centisecs;
echo "8192" > /proc/sys/vm/min_free_kbytes;
echo "1" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "70" > /proc/sys/vm/dirty_background_ratio;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "5" > /proc/sys/vm/vfs_cache_pressure;
echo "0" > /proc/sys/vm/overcommit_memory;
echo "4" > /proc/sys/vm/min_free_order_shift;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/block_dump;
echo "0" > /proc/sys/vm/oom_dump_tasks;
echo "3" > /proc/sys/vm/drop_caches;
[Samsung Galaxy SL i9003] shaktishekhar:
Ya ok i will try this way :D

btw bro i tried this

# Enable Syscntl

sysctl -p /system/etc/sysctl.conf like i tired to enable sysctl through script than i put value in sysctl but it did not effect :o nothing happend as on gamerz rom sysctl is working finei guess dont know how i tried copying script frm gamez roms but again failed
[Samsung Galaxy SL i9003] shaktishekhar:
Ya i saw that but how can i apply the same on this qwerty cm 10 ? :good: guide me with that or just share the files in zip ... with the changes u did in gamerz rom :victory:
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] i will try adb way
[Samsung Galaxy SL i9003] shaktishekhar:
Removed
[Samsung Galaxy SL i9003] Gondya bhau:
ya..i learnt that the hard way too

never run zipalign while the phone is running...its supposed to be run at boot only....

EDIT :

and BTW when you quote anyone....unless needed, delete the code from the quote....its just a waste of space....
[Samsung Galaxy SL i9003] shaktishekhar:
ya i removed :D ok i understood y i get multipl fc
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4473033]LoLaTiOn[/MENTION] i would like to tell u some imp thing like ur swappiness is 0 as per loSconosciuto said 0 means waste of ram bec zram makes a ram disc and keep compress its own data and swappiness 0 is not good in that case ya but when using a swap part of sd than swappiness matters as am using class 10 sd with 128 mb swap partition with 60 default swappiness 2nd thing i would like to tell u is in your rom ur using script for zipaligned apk for data/app and system/app but i think in cm 10 zipaligned is automatically happening i mean there is no need for zipaligned bec when i did zipalign and i go through logs i saw already zipalign means using zipalign script on boot is wastage of cpu ... :laugh:
[Samsung Galaxy SL i9003] imjustafq:
sometimes the wifi switch got stuck when i wanna turn if off. makes me unable to turn it on again. the only solution is through reboot. is this a common problem? i'd notice this since the build 0425 if i'm correct..
[Samsung Galaxy SL i9003] shaktishekhar:
this never happend with me :eek:
[Samsung Galaxy SL i9003] LoLaTiOn:
[MENTION=4588282]sgatechwork[/MENTION]

If I put it is for a good reason

If you install multiple applications

the hen you restart it is very good for performance

If the zipalign and already make it shoed a symple verification

I think overalls to all novice users

After multiple use and install some applications reboot you see a net improvement

your cpu shook slower to open the Application

it's worth checking at startup and let it do the work

You have a bad reasoning in what you say

yes ok

I responded to your request only bringing you the solution

do not mix all I leave the setting at 10
[Samsung Galaxy SL i9003] shaktishekhar:
Plz tell me !!

btw can any one tell me why the VideoEditor.apk is not working when i open and click on create project than the circle loading animation comes n doesn't goes it keeps on rotating nothing happens why where as in cm 10.1 its working fine :confused: [MENTION=4349695]loSconosciuto[/MENTION]
[Samsung Galaxy SL i9003] LoLaTiOn:
This is because it remained Labour supply one or two files

media_codecs.xml and (media_profiles.xml ?)

example compared to only one other section

ro.product.model = MB526

ro.product.brand = MOTO

ro.product.name = MB526_DFP

eg in media_profiles missing

after line 73 add this

<!ELEMENT VideoEditorCap EMPTY>
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>

at the end add this (need to find good values, but you can use)

<!--
The VideoEditor Capability configuration:
- maxInputFrameWidth: maximum video width of imported video clip.
- maxInputFrameHeight: maximum video height of imported video clip.
- maxOutputFrameWidth: maximum video width of exported video clip.
- maxOutputFrameHeight: maximum video height of exported video clip.
- maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
used to limit the amount of memory for prefetched YUV frames.
For this platform, it allows maximum 8MB(1.3MB per 720p frame x 6
frames) memory.
-->
<VideoEditorCap maxInputFrameWidth="1280"
maxInputFrameHeight="720" maxOutputFrameWidth="1280"
maxOutputFrameHeight="720" maxPrefetchYUVFrames="6"/>
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.
E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
and level 2048 means OMX_VIDEO_AVCLevel4.
Please note that the values are in decimal.
These values are for video encoder.
-->
<!--
Codec = h.264, Baseline profile, level 4
-->
<ExportVideoProfile name="h264" profile= "1" level="2048"/>
<!--
Codec = h.263, Baseline profile, level 0
-->
<ExportVideoProfile name="h263" profile= "1" level="1"/>
<!--
Codec = mpeg4, Simple profile, level 5
-->
<ExportVideoProfile name="m4v" profile= "1" level="128"/>
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4473033]LoLaTiOn[/MENTION] so is it possible to fix video editor working in out cm 10 ? is there any way to fix ? like pushing missing files into rom ?
[Samsung Galaxy SL i9003] LoLaTiOn:
I do not want to tire me find a hack

I personnaly prefer to withdraw the application and use a third party application rather than tired our developers to fix this frankly useless feature on a phone
[Samsung Galaxy SL i9003] androman1507:
Hi friend, today i flashed your rom starting with a clean flash. You are right, the problem of loops to recovery is solved. Flash rom from stock cwm(v 5.x) boots again to new recovery without any loops where you can flash the rom again. This problem is already solved in previous build. I am sure of that as i had flashed old build with clean flash,too. No loops to recovery at all....:good:
[Samsung Galaxy SL i9003] simratcs:
I have to say that the latest build is very nice.It gives much stable battery life than earlier builds.And one thing that i noticed is that in this latest build the wifi doent disconnects very often,it disconnects but then connects itself in 3-4 sec. IMHO i felt this :thumbup::cool::D
[Samsung Galaxy SL i9003] loSconosciuto:
I was asked to add a system setting, available in ICS, to switch memories.

I don't know why it wasn't added in JB, probably no one cared about it. However, even though the setting is not there (I'll see what I can do for it), the code for the switch is already implemented, you just have to:

1) Flash allow-mountpoints-switch.zip (it will modify ro.vold.switchablepair in your build.prop) EDIT: You have to flash this only once. After that, the commands here below are enough.

2) Open terminal emulator and

to make the internal memory the primary memory:

su
setprop persist.sys.vold.switchexternal 0

to make the external SD the primary memory:

su
setprop persist.sys.vold.switchexternal 1

3) Reboot

[MENTION=4751551]androman1507[/MENTION]

Thanks. However that means the flash didn't continue after the reboot but you had to restart it (correct me if I'm wrong), which is not what should happen.

I've just tried to do a simulation using a dummy zip and it worked as expected...

If it's not too late, may I ask you these (I think it's /sdcard, but look also in /emmc)?

/sdcard/cyanogenmod_bml.log
/sdcard/cyanogenmod_mtd.log

PM those files or post them here, it's the same for me.

[MENTION=4473033]LoLaTiOn[/MENTION] (regarding the tweaks):

05freemem is useless, it doesn't work in ICS and newer, 06cpugputune is not for us, 09governor makes ondemand more aggressive (probably the cpu is most of the time at the max speed and why does it remount /system!?), 90userinit is already available in CyanogenMod and then I got bored... too many changes

[MENTION=4588282]sgatechwork[/MENTION]

VideoEditor.apk

I've never opened that app, but you are right, is not working. I don't know if it was broken since the beginning or it's because of a change I made, I've never tried it. I don't know what's wrong with it, not that I care that much.

zipaligning

CM10 is not zipaligning anything. If an apk is zipaligned, it remains as such until you modify its content. It had always been like this. I post zipaligned stuff and most likely every market app is zipaligned, so you don't need scripts with my builds.

The problem are modded apks. Most of the time users change images inside their apks and don't zipalign them after that. Scripts like the one used by LoLaTiOn solve this problem with not so much penalty. If you know you have only zipaligned files, get rid of the script.

PS: you could have left your post and remove only the quoted part. I could read it thanks to Gondya bhau's quote.

[MENTION=4934219]imjustafq[/MENTION]

Re-read my previous posts, I've posted about this issue (tiwlan_drv.ko is the module for WiFi).

Switch to ondemand if you are currently using ondemandboost (which I set as default governor by mistake). I still don't know if it will fix the problem, I'm still testing it. If it happens even with ondemand, please report. If it happened while using ondemand (with no boostpulse interface), report.

[MENTION=4822003]simratcs[/MENTION]

I'm sorry, but nothing was changed on that side. It's just a coincidence.
[Samsung Galaxy SL i9003] abderrezak:
i ask now for powersave mod if you can add it on the kernel ....
[Samsung Galaxy SL i9003] androman1507:
[MENTION=4349695]loSconosciuto[/MENTION]

Yes, I had to start flash again but no loops to recovery at least. I have attached data you asked for. Bot log files as in zip so just extract it.Hope these are ok...
[Samsung Galaxy SL i9003] MR.Volkf:
[MENTION=4349695]loSconosciuto[/MENTION] since CM10 Alpha 4 by dhiru,video editor didn't work :eek:
[Samsung Galaxy SL i9003] loSconosciuto:
What's new:

Added option to safely swap memories: Settings > Storage > (press menu) Storage configuration [1] (reboot required)

Fixes for the BML to MTD conversion. If you'll flash this build over a stock ROM, please tell me if after the reboot the flash will automatically restart.

Adding ARM compiler flag optimizations (no huge differences. I used this for almost a week and I had no issues)

[1]: Toggle the option if you are already using my build. Most likely you'll have your SD swapped after you've flashed this build. I kept as default primary storage the internal memory, because that's what I use.

Download:

cm-10-20130512-UNOFFICIAL-galaxysl.zip

Patches updated and reorganized.

build.sh now handles the build of both CM10 and CM10.1 (I'm not releasing cm-10.1, I just reorganized some old patches that I recently updated.).

build.sh will automatically handle the two roomservice.xml files using symlinks. If you have your own roomservice.xml, rename it or it will be deleted by build.sh.

The build of hostapd is not fixed, but if you use a prebuilt hostapd and add tiap_drv.ko WiFi tethering will work correctly with android-wifi-tether.

[MENTION=4733729]rodero95[/MENTION] feel free to use the patches. There are the fixes for WiFi (wpa_enums + signal + SSID) and OMX.

[MENTION=5097638]abderrezak[/MENTION]

Do you mean the CPU governor called "powersave"? If yes, then no, I won't add it.

Use performance and set the maximum frequency to 300MHz. Trust me, it's the same.

[MENTION=4812476]MR.Volkf[/MENTION]

Good to know, at least it wasn't any of my changes.

In cm-10.1 it works...

EDIT

It was reported that "MY MAXIS" (and maybe others) users get "No service" in the notification panel instead of the carrier name. This is an Android bug, it happens since ICS and it was fixed in Android 4.2.2.

Flash noservice-framework.zip to fix the problem, I built it using 4 patches taken from Android 4.2.2. I don't know exactly which one of them fixes the problem, maybe all of them. Everyone can flash this.

I added the patches here.
[Samsung Galaxy SL i9003] danierakes:
Can i flash this ‘noservice-framework.zip' on xgamerz rom?

edit: flash it over xgamerz and its working

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] shaktishekhar:
Reply urgent !!!

Bro i am already on ur your rom 9th may update with

means swap sd

what is BML to MTD conversion ? just a log ? file or something els

ARM compiler is good

does this new release contains wpa_enums + signal + SSID fixes like wifi random disconnect bec i have noticed when wifi disconnect mostly at the time of high cpu or low memory usages like when i open skype fring heavy software's which contains kernel process also for calling support than wifi disconnect or in case of some compatible apps made for gb runs in jb than it goes off i tried using static ip app from PS i hav noticed than disconnection become very less

and does noservice-framework.zip included into new update al ready and final ques http://xdaforums.com/showpost.php?p=40150261&postcount=223 what r these update pathes can i just patch my rom with the new update 12may without downloading the whole rom with all changes if yes than how can i apply these paches from recovery or pushing into rom ? :rolleyes: :eek: and i removed my modded "vold.fstab" to do it in a official rom way
[Samsung Galaxy SL i9003] RonnYap:
Thankz a lot :good::good::good:

My Celcom appeared

@ danierakes

flash this ‘noservice-framework.zip' on xgamerz rom should be no problem.

View attachment 1958096
[Samsung Galaxy SL i9003] danierakes:
Thanks losco

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] MR.Volkf:
losco have you tried Deep Sleep Battery Saver? it's seems not working :rolleyes:
[Samsung Galaxy SL i9003] cukierkas:
Just got new original battery for 18€. Will see how phone will behave now:)

Previous battery was swollen, switched down on higher load and appeared empty. Was using phone with USB cable connected :) and screen time on 2g with calls only was only about 1.2 hrs :)

Sent from my GT-I9003
[Samsung Galaxy SL i9003] danierakes:
Mine 6hrs screen time with 3g always on,and yes its new battery..:)

gαℓαχγ ร3 9300

gαℓαχγ รℓ 9003

χρεяïα ทε๑ ν
[Samsung Galaxy SL i9003] loSconosciuto:
[MENTION=4588282]sgatechwork[/MENTION]

BML/MTD: lmgtfy. This is a good one.

wpa_enums + signal + SSID: I was talking about cm-10.1, my builds include those changes since two months...

wifi disconnecting: there's no way for me to debug the problem, it's working fine here. That means you should at least post some logs (dmesg and logcat) and even with them I'm not sure I can do much. You don't need an external app to set a static UP by the way.

noservice-framework.zip: it's not included, I wouldn't have posted it as a separate zip.

files changed: I'm not winzipping ROMs, I can't tell you what you have to replace nor I won't try to figure that out, even if I could. You should understand the difference between building (what I do) and porting a ROM. Unless I intentionally focus myself on something, as I did for the carrier name bug, I can't say exactly which file changed, not that I'm interested.

Patches: those are source code modifications, you can't patch an existing build.

SD swap: my vold.conf is on Github. Follow this, the logic is inverted with my last vold.fstab (try the commands and you'll understand what I mean if it's not clear).

I try this again: could you please add some commas, points or, in case you unconditionally hate them, line breaks between a sentence and another?

It's a common problem with Malaysian carriers then... I'm gald it's solved now.

[MENTION=5149202]danierakes[/MENTION]

You got the answer, but you shouldn't ask me, I really have no idea, I only use and only used my builds.

Never used this kind of apps, don't know.
[Samsung Galaxy SL i9003] loneagl:
@ loSconosciuto - just flashed the newest build and have to say its one of the best roms i have ever used.i have flashed cm10 after a long time and my opinion may be obsolete but -

PROS -

1. stable

2. more ram ( ABOUT 150MB free).

3. excellent battery (1 day with with 3 hours screen time , an hour of voice calls , continuous data usage , 5-6 reboots for flashing stuff - on my 21 month old battery).

4. fluid transitions with hardly any lags - overclocked to 1200 Mhz.

CONS - only a few and insignificant

1. some apps like opera and whatsapp present a black screen during multitasking.eg - i open whatsapp then go to phone menu.on switching back to whatsapp theres a 50% chance of a black screen.

2. screen rotation is very slow sometimes and can hang up the respective app.

thanks loSconosciuto for your excellent work.:good:
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] ok i wanna ask one ques that can i join partations like c cache part is also mostly unused but its imp i know emmc after switching vold its waste only like i hav 16 gb card so i dont use that 1.5 gb space so i can join mmcblk0p3 and mmcblk0p1 means emmc and data to increase data ... it is possible to manipulate the os to access the microsd card as emmc and actual emmc space join with data ? if possible than how to re-part ? :p odin has a re-part thing it i think it takes the command from pit file but is there any other way ...
[Samsung Galaxy SL i9003] anoopcheckingin:
No Battery Issues

Hi All,

I just got my new battery and everything is working quite fine. Sorry [MENTION=4349695]loSconosciuto[/MENTION] that i reported wrongly. I had flashed the latest ROM and its amazing am getting around a days of charge with normal usage and 2g for the whole day.

One more question, I wanted to know if its in any way possible to have the storage switching option in the Camera app back (switching between SD Card and internal memory) coz if i Remember correct One of the Dhiru's build had that option but it was later stripped off. Any idea on that?

Thanks a lot for this excellent ROM and Hats off to your work.:good:
[Samsung Galaxy SL i9003] cukierkas:
use aokp camera or install xgamers rom by lolation, its already there.

loSconosciuto some pages ago introduced moded galery2.apk, where you can choose picture location.
[Samsung Galaxy SL i9003] shaktishekhar:
removed
[Samsung Galaxy SL i9003] loSconosciuto:
I made a new build with a change that probably many of you don't care about: I backported a change from Android 4.2 which makes fonts look different.

The difference is maybe not huge, but it was the first thing I noticed when I tried CM-10.1. It's quite noticeable in the new Play store: before > after.

It took me a while to find the right commit, but I finally found it. There were many changes, fixes and optimizations after that, but I decided to pick it alone to prevent issues. Less changes, less bugs (an optimization to make the rendering faster caused some artifacts in one of the apps I use for example...). If you notice something weird, please report.

I was also trying to see why UMS without USB debugging doesn't work correctly (I think we need both acm and mass_storage enabled).

Probably now it doesn't work at all with Windows unless you tick USB debugging, I didn't revert the changes I made. If it doesn't work at all, flash any of my previous kernel releases.

Download:

cm-10-20130514-UNOFFICIAL-galaxysl.zip

EDIT: changes added to my patch collection here.

[MENTION=4588282]sgatechwork[/MENTION]

Don't mess with partitions. If you want to use /cache for something, you can use it to store the dalvik cache. I've never tried it 'cause I have plenty of free space in /data. I don't know if Android will try to use all the space in /cache, if it will prefer it over /data etc...

To do that you just need to remove from your build.prop (and probably wipe the dalvik-cache):

dalvik.vm.dexopt-data-only=1

[MENTION=4572025]loneagl[/MENTION]

I have a couple of questions for you since you probably flashed my last build over a stock ROM: (I assume you didn't flash dhiru's first)

Did you flash CM10 from the external SD or the internal memory?

Did the flash restart automatically after the reboot that happens during the first flash?

[MENTION=4900040]anoopcheckingin[/MENTION]

As cukierkas said, I posted a modified (and probably not perfect) Gallery2.apk for that. You can find it on my Google Drive, misc/camera-external.zip. It's a flashable zip.

This feature had never been added to CM10, it was added to CM9 and recently CM10.1, but not CM10.
[Samsung Galaxy SL i9003] loneagl:
[MENTION=4349695]loSconosciuto[/MENTION] -

1.i flashed from the external card.

2.you are right.i flashed your build directly from rooted ddkp3.when i started to flash the cwm changed to 6.xx.then the flashing stopped.i had to start it again from the new cwm.this what you want to know?
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] so in your new update u just changed the font ??? thats it :silly: