Search This thread

bleuxeon

Senior Member
Jan 25, 2012
800
282
Near COGNAC (FR)
Gok,strange problem here.I tried to make a nandroid backup(a normal one,not of the secondary rom) and after backing up data it gave me an error message saying that there was an error when backing up .secondrom/data or something.Dafuq? :confused:

EDIT:What chance is there that the kernel panics I was and am still getting(although not nearly as often now) are related to overclocking while having changed the internal voltages?
With a little higher that stock internal voltages,my phone is much stabler than it was with low voltages at high frequencies,but if kernel panics are related to that in any way,I will return to my previous quasi-unstable setup. :)

Could you please give me a sample voltage you did use at a given frequency and the same frequency voltage now with increased internal voltage?
 

rauschkugl

Senior Member
Dec 23, 2009
1,785
569
BLN works with EXTweaks but not for sms or missed calls, tried with extweaks and bln pro... doesnt work.. any fix for that?? (3.2b7)

how many times does this have to be repeated? There's a search function for every thread. If it works on one place it's not kernel related. If you want bln for sms use gosms or smspopup. For calls install nstools.
Your screen has to stay off when you receive a sms.
Sent from my GT-I9100 using xda premium
 
Last edited:

squall458

Senior Member
Nov 5, 2011
443
52
GTA
I am on vk rom too! I struggled for weeks to get bln to work. This is how u solve our prob. If the screen turns on when u receive a txt bln will not work. So use sms popup or go sms and disable notifications from stock messaging app. Sms popup has a setting where the screen will NOT turn on. It also will handle the notifications. Problem solved.

Sent from my GT-I9100 using XDA
 
  • Like
Reactions: ChilliBo

steve17360

Senior Member
Oct 30, 2007
243
19
Almaty, Kazakhstan
using VK rom as u can see in my signature, using latest siyah 3.2b7 and extweaks, but missed calls and sms doesnt work :/ doesnt work with nstools too. but whatsapp works ...

Missed calls & SMS both work with 3.2b7 using nstools & Milestone 5 rom. Deep sleep also works if you don't have any notifications.

Sent from my GT-I9100 using xda premium
 
Last edited:

Gawis

Senior Member
Oct 10, 2009
276
57
Trigger the led with Tasker when you gave a missed call or sms...

Sent from my SGSII CM9 with Tapatalk 2
 

droidphile

Senior Member
Jul 19, 2011
1,119
7,103
Bangalore
Samsung Galaxy S20
As said, ondemand based governors do not visit steps so in an ideal situation there will be no increased transitions at all; if the governor decides to stay at the same frequency. But I doubt this is a real-world situation, the governor would jump either way or another to another frequency unless under heavy load. You have a transition time of 100µS compared to a default sampling rate of 100000µS or minimum 20000µS so we are talking about a loss of computing time two orders of magnitude smaller than a sampling period, versus a possible power gain in clocking of in the most optimistic case of 50% and worst case 7%.
I was thinking of only the time as summed up sampling intervals of each frequencies, rather than transition time of a mere 100uS. That make sense for a large frequency table. But if an heavy op was to be considered where freq has to stay really high, tightness of freq table doesn't matter. Table is big or small, it's all the same. We're talking w.r.t power gain and not performance gain right.
I did not say they jump to the highest frequency too much, they jump as much as they need to. You have smoothing of load spikes through larger sampling periods and as you said through smooth scaling. I think interactive governors are a bad choice for this device and I haven't seen the point in using them; they may be good for battery use but the lags they introduce even with a tight frequency table is too noticeable for my taste. Use a smaller frequency table for all you want and then use them and disregard the whole discussion. I will be sticking with ondemand though. Frequency steps in the GS3 have no correlation with the number of cores, so I don't know why you'd bring that up, it doesn't change anything in terms of scaling, as in that regard Pegasus has the same logic as classic ondemand.
I'm not using interactive governors either, but ondemand. Anyway original interactive governor doesn't lag compared to smartass2 or luzactive. I brought GS3 just to say that pegagusq should handle a large freq table better. As in, there's a better chance for a freq F and F*2 to exist in a large freq table - When a multi core aware governor tries to hotplug in second core by setting a frequency F instead of clocking at F*2. I'm not here to upset anyone or disregard discussion. Even though i have no ammeters, i'm also an enthusiast always looking to learn more.
100mV is almost guaranteed for 100 and 200MHz, the rest depends on the device. I wrote it just as an example of measurement, it's up to the user to decide what to do with it. I also measured underclocking and undervolting GPU, it has almost not measurable difference in light load. The Mali GPU also has internal power management that I think clock-gates part of the digital core when under low load, you can see this in the drivers. Undervolting GPU under load in games will bring a big decrease in power though, undervolting 200mV will bring down the total power consumption down 15% (that includes the whole device, screen on, CPU locked at 800), so the percentage is even greater I one would be able to solely measure the GPU.
Hmm, there are devices which doesn't guarantee 100mv UV on lower freqs. You said it yourself - under heavy GPU load, GPU UV could bring in power savings. If someone is into tasks that involves a lot of GPU, the best they can do is uv GPU and reduce screen brightness.
I don't see what you want to say. The W/GHz value is only a theoretical calculation derived from his measurements under full load which is not realistic in a low load scenario. For playing music our devices don't even hit deep idle, ever. At least mine didn't, no matter what frequency you'd be playing music at, 100, 200 or 500MHz, the load is too fine-grained to let the CPU enter any clock-gating. There is no case in which 100MHz stays at high load because the governor will simply up the frequency and that situation will never realistically happen.
I didn't say device can hit didle while playing music. What i meant to say was - a) CPU idling on screen off - we're bound to hit didle very soon. So what's the point of using 100 instead of 200. b) CPU idling on screen on - How many tasks are there where CPU can stay low loaded at 100mhz. Like you say, 100% load on 100 mhz is not possible since governor will jump it to higher freqs. Then why use 100.
Static power consumption is completely irrelevant in our device, it varies from 55mW to 60mW from 200MHz to 1400MHz. I'm getting the best W/GHz measurements at 800MHz so 800 is more efficient than 500.
800 may be sweet. But atleast, dynamic power consumption increases about 60% between 500 and 800 mhz. So 500mhz or lower running single core during screen-off is not bad.
500MHz uses up 488mW power in screen-on idle versus 400mW for 200MHz, so you're wasting almost 20% power for "snappiness", which I honestly don't get since when you touch the screen it clocks to 500MHz anyway...
We can skip a transition if min is 500. Since every screen touch clocks CPU to 500, if an usage scenario involves too much of screen-touches, what's the point of having a frequency step below it. I like 500-1200 with 200-500 scr-off. Another thing to note is that 500mhz uses the core voltage of 800mhz if 500 was clocked from a frequency below it. And uses it's own core voltage if frequency was clocked from a frequency above it(500). When i'm using 500 as minimum, after a clock-up, 500 could be met only by clocking down from a higher frequency. This means i will have core voltage of 500 itself whenever it's used. This is not true if scr-on min was 200. So there's some power saving from one side when there's power dissipation on the other.

Past midnight here. Good night.
 

tolis626

Senior Member
Dec 31, 2009
2,518
598
Amaliada
Could you please give me a sample voltage you did use at a given frequency and the same frequency voltage now with increased internal voltage?

Example:
At default internal voltages,1500MHz need 1375mV.Give it 1350mV and it crashes.If I increase the internal voltage for 400MHz bus by 25mV,1500MHz is rock stable at 1350mV and semi-stable at 1325mV.+50mV in internal voltages changes nothing.At +75mV internal it's stable at 1325mV too,but I am kind of afraid that such an increase may cause problems to some peripherals,like the SD card.I was going to ask about that,so does anyone know if anything bad can happen to my data? :)
 
  • Like
Reactions: bleuxeon

pilgrim011

Senior Member
May 3, 2008
1,640
457
Belgrade
www.tvojsajt.com
From v3.2b8 changelog:

new feature: “install zip to secondrom from internal sdcard” and “install zip to secondrom from external sdcard”

Gokhan, it seems nothing is impossible for you. :) Can't wait for new beta release.:D
 

Cristiano Matos

Senior Member
Feb 5, 2012
2,795
11,612
45
Nibiru
good news: I managed to flash CWM zip directly to secondrom.
you can even install a ROM directly as second rom.
I will try to complete the implementation tonight and test it tomorrow.

another good news is that I had my sgs2 lcd (actually full body) replaced today.
it means I am not leaving sgs2 any time soon :)

Thanks for the great news.

Even not going to S3 for now, do you have plans to develop for new device?

Your answer will be crucial for my decision of buying S3 when release. :)
 

hawkerpaul

Senior Member
Sep 25, 2011
3,305
6,242
UK
www.practicenet.co.uk
I've found a problem with b7.
I cant perform a backup any more.

It backs up boot image, system and data, then it crashes with "can't mount /secondrom_data"

All I have in the backup folder are:
boot.img
system.ext4.tar

so its missing nandroid.md5, cache.ext4.tar and system.ext4.tar

I dont use the dual boot feature at all so perhaps it has something to do with this.
 

rauschkugl

Senior Member
Dec 23, 2009
1,785
569
I've found a problem with b7.
I cant perform a backup any more.

It backs up boot image, system and data, then it crashes with "can't mount /secondrom_data"

All I have in the backup folder are:
boot.img
system.ext4.tar

so its missing nandroid.md5, cache.ext4.tar and system.ext4.tar

I dont use the dual boot feature at all so perhaps it has something to do with this.

this was already reported and gokhan is aware of it. Will be fixed in the next version. Backup to internal sd should work.

Sent from my GT-I9100 using xda premium
 
  • Like
Reactions: hawkerpaul

confusedmuse

Senior Member
Dec 31, 2011
484
199
Speyer
I've found a problem with b7.
I cant perform a backup any more.

It backs up boot image, system and data, then it crashes with "can't mount /secondrom_data"

All I have in the backup folder are:
boot.img
system.ext4.tar

so its missing nandroid.md5, cache.ext4.tar and system.ext4.tar

I dont use the dual boot feature at all so perhaps it has something to do with this.

This has been discussed some pages back.
You can use "backup to internal sd" for now.
Will be fixed in b8.
 

AndreiLux

Senior Member
Jul 9, 2011
3,209
14,598
I was thinking of only the time as summed up sampling intervals of each frequencies, rather than transition time of a mere 100uS. That make sense for a large frequency table. But if an heavy op was to be considered where freq has to stay really high, tightness of freq table doesn't matter. Table is big or small, it's all the same. We're talking w.r.t power gain and not performance gain right.
I still do not understand the point you're trying to make...? I repeat you post:
When there are more frequency steps, there are more transitions. So lesser time to do the actual work because of clocking up/down through multiple frequencies? I mean, the delay as a function of sum-of-sampling-intervals increases if we have more transitions. (ondemand based governors may not visit every step before clocking to the highest freq, nevertheless)​
If you are not talking about computing time lost during transition times (100µS), then I don't know what you're aiming at. Summed up sampling interval count for each frequency will indeed be lower, but what does it change at all? There is nothing lost.

My original power advantage assumption was aimed at, that for example that if a load needs 550MHz of computing power, we can clock the CPU at 600MHz and avoid the additional power usage of clocking the transistors another 200MHz higher to reach 800MHz.

I'm not using interactive governors either, but ondemand. Anyway original interactive governor doesn't lag compared to smartass2 or luzactive. I brought GS3 just to say that pegagusq should handle a large freq table better. As in, there's a better chance for a freq F and F*2 to exist in a large freq table - When a multi core aware governor tries to hotplug in second core by setting a frequency F instead of clocking at F*2. I'm not here to upset anyone or disregard discussion. Even though i have no ammeters, i'm also an enthusiast always looking to learn more.
The S3 is supposed to have asynchronous capable CPU cores, so (while unconfirmed) it can clock up a core up to an optimal W/GHz frequency, say 800MHz, and then start clocking up another core on a different frequency up until it reaches that point again, and again until you actually fire up all the cores, and only then start to go over the optimal frequency. This is all theorycrafting based on what Samsung claims the chip is capable of at the 4412 launch, if it's really like that then we need to see. The resolution of the frequency table would not matter even in this case, F & F*2 needs not to be a requirement for that device to scale well. And you're not upsetting anybody, I'm just trying to understand the point you're trying to get across.
Hmm, there are devices which doesn't guarantee 100mv UV on lower freqs. You said it yourself - under heavy GPU load, GPU UV could bring in power savings. If someone is into tasks that involves a lot of GPU, the best they can do is uv GPU and reduce screen brightness.
Sure, agree, but heavy GPU load is only anything involving 3D. GPU rendering for 2D stuff takes up nothing at all and is trivial work.

I didn't say device can hit didle while playing music. What i meant to say was - a) CPU idling on screen off - we're bound to hit didle very soon. So what's the point of using 100 instead of 200. b) CPU idling on screen on - How many tasks are there where CPU can stay low loaded at 100mhz. Like you say, 100% load on 100 mhz is not possible since governor will jump it to higher freqs. Then why use 100.
Because of time-based loads like music! Then 100MHz will use less than 200MHz, because it is disregarding deep idle states. The difference is minimal, 5%, but when taken over a long period of time, it's something. That's when having screen off; when having screen on, most tasks stay low at 100MHz, and since we're not racing-to-idle when the screen is on, then the difference comes solely from feeding the processor a lower clock.

800 may be sweet. But atleast, dynamic power consumption increases about 60% between 500 and 800 mhz. So 500mhz or lower running single core during screen-off is not bad.
But we don't care about dynamic power when the screen is off because dynamic leakage gets wiped out by deep idle and clock gating the CPU, 800MHz gets 1445mW/GHz versus 1540mW/GHz for 500MHz, so you're better off to race-to-idle at 800MHz. If you are I/O or time-bound then you can do nothing against that other than scaling to an adequate frequency, and that's why a fine-grained frequency table provides an advantage.

We can skip a transition if min is 500. Since every screen touch clocks CPU to 500, if an usage scenario involves too much of screen-touches, what's the point of having a frequency step below it. I like 500-1200 with 200-500 scr-off. Another thing to note is that 500mhz uses the core voltage of 800mhz if 500 was clocked from a frequency below it. And uses it's own core voltage if frequency was clocked from a frequency above it(500). When i'm using 500 as minimum, after a clock-up, 500 could be met only by clocking down from a higher frequency. This means i will have core voltage of 500 itself whenever it's used. This is not true if scr-on min was 200. So there's some power saving from one side when there's power dissipation on the other.
Why are you putting weight into transitions? They cost nothing so to speak. Having a frequency point below it, will as I said, reduces dynamic power wasted on clocking the CPU higher than needed... 488mW vs 400mW. Also that nonsense with the voltage of 500MHz was in the Gingerbread kernels and is no longer in the new CPUFreq driver, each frequency has its own voltage, so what you're saying would be correct for GB, it's not for ICS.
 
Last edited:
  • Like
Reactions: MistahBungle

Top Liked Posts

  • There are no posts matching your filters.
  • 1352
    please leave non-dev related posts here: http://xdaforums.com/showthread.php?t=1658647

    siyahkernel-ics-wide1.png

    Features:
    • based on JB sources
    • DISABLED CAP_ERASE (No superbrick bug)
    • All-in-1kernel because it supports CM9, CM10, Samsung, MIUI and Boot-to-Gecko (B2G) ROMs with a single kernel image. (no Sense4all support)
    • Dual booting support for all supported ROM types. See droidphile's post for Dual Booting FAQ
    • Custom CWM touch recovery with swipe gestures and double-tap selection
    • 6-steps CPU freq
    • 5-step GPU frequency levels. VPLL Mode to have additional frequency steps. defaults frequencies: 66-108-166-267-330.
    • Auto-root. You can also remove root via STweaks app and install it without rebooting your phone again. Auto-root can be disabled as well.
    • CPU Overclock/Undervolt support (we have two interfaces for that. both of them are defacto standard)
    • Tweakable vitalij's value (set to 5 as default)
    • Adjustable touchpad led brightness
    • Fixed fuelalert wakelocks
    • You can completely disable android logger using STweaks app
    • Faster charging for misc and USB modes. There are 3 modes (AC, Misc, USB) and normally last two of them support only slow charging. You can have charging speed of AC by increasing it (especially user while charging in car or using USB port)
    • Cpu governor optimizations
    • Gpu voltage, clock and stepcount interfaces (GPU Overclock/Undervolt)
    • Screen brightness curve settings with original panel gamma values. panel values unchanged, so you will get stock colors and will be able to use supercurio's voodoo display app when it is released. brightness modification will only change auto-brightness response.
    • BLN support both for Samsung and CM ROMs (you can use STweaks, Nstools or BLNControl app from the market to enable it)
    • Breathing or Blinking effect for BLN. (Make sure you don't enable blinking in any other BLN app) Use STweaks to select one of them.
    • Better touch sensitivity
    • Available CPU Governors: Pegasusq (default), Ondemand, Lulzactive, SmartassV2, Interactive and Conservative, Performance, Userspace, Powersave
    • CIFS as module
    • Available I/O schedulers: CFQ (default), noop, Deadline, SIO, V(R)
    • J4FS as module
    • ARM topology support (SCHED_MC)
    • Automatic EFS Backup
    • Lots of I/O tweaks and filesystem optimizations via some parts of thunderbolt scripts.
    • USB Mass Storage mode is working in CWM Touch Recovery and you can mount both internal and external sdcard as a disk drive
    • NTFS automounting for USB sticks. When you plug in an NTFS formatted USB flash it will be automatically mounted to /mnt/ntfs folder.
    • USB mouse and keyboard support
    • built-in profile support with default, battery and performance presets (you can change them in CWM Recovery). Even using everything default will save you a lot of battery juice.
    • Eargasm for headphone amplification (in STweaks) as free Voodoo Louder replacement
    • Almost everything is configurable such as scheduler features, hotplug thresholds, GPU frequencies, voltages, arm topology modes... and they are configurable via simple and free STweaks app which is embedded in the kernel and soon in Google Play & Opensource
    • Adjustable mDNIe settings
    • optional sharpness tweaks from hardcore
    • mDNIe negative effect toggle with home button (press it four times)
    • Touch gesture support by Tungstwenty. (http://xdaforums.com/showthread.php?t=1831254)
    • BLNWW (BLN Without Wakelock)
    • Slide2Wake (originally by Fluxi)

    More to come...


    Known Problems:
    • no known problems yet

    Thanks To:

    • Chainfire, Codeworkx, Arighi, Tegrak, Vitalij, Entropy512, Netarchy, koush, Creams, sk8erwitskil, hardcore, Pikachu, myfluxi, Tungstwenty
    • This part will be expanded. most of the patches I applied are coded by someone else. please remind me if I forget to give credits to anybody..

    IRC support and chat:
    Server: irc.FreeNode.net
    Channel: #siyah-kernel
    web client: http://siyah.twosx.net/ (thanks to omniwolf)
    Changelog:

    See http://www.gokhanmoral.com/ for changelog.

    You can find the sources at http://github.com/gokhanmoral/siyahkernel3
    and initramfs at http://github.com/gokhanmoral/initramfs3

    Todo:
    these are my future plans and some of them are dreams only...
    • apply chargecurrent modifications even if the cable is connected on boot
    • add optional teamwin recovery
    • make dual-boot timeout configurable
    • implement BFN (BackFlashNotification)
    • scheduling for BLN
    • organize recovery menu items
    • higher polling rate for light sensor
    • remap mouse right button to back button
    • exfat support
    • fix blnww battery drain issue (may not be possible)
    • implement dual-booting with GB+ICS ROMs
    • faster switch between first and second ROMs without needing to reboot if possible.
    ...

    298
    troubleshooting

    siyahkernel-ics-wide1.png

    READ THESE FIRST

    • Never report any bugs to CM9/CM10 threads if you use it together with SiyahKernel
    • Do not ask questions to me directly. This is a common thread, not my personal inbox. Ask your questions in the thread and do not target them to anyone.
    • Do not expect answers to all your questions. There are some questions which nobody knows the answer of.
    • Do not forget that this is a development thread. There is another thread in general section for those who wants to discuss battery life and chats. If your post does not include a feature request, bug report or suggestion it should be posted to the other thread.
    • No ETA for new version. Even if I sometimes talk about release dates those may change and they change for some good reason or because of my real-life obligations.
    • Make use of "Search this Thread -> Advanced Search"
    • Never ever discuss anything deep-sleep related in this thread. I do not make modifications to prevent sleep and 99% of deep sleep problems are application/ROM related. discuss it in general section. I do not want any positive ("this kernel sleeps like a baby") or negative ("There is a big problem with deep sleep. Please fix it") messages in my development thread.
    • If you do not provide details about your configuration and settings nobody can help you or nobody will care about your problem/bug report. The problems without details (ROM, settings, preferably the version that the problem first happened or the one that you don't experience the problem) will be ignored.
    • Never ever report any SOD issues if you are undervolting/overclocking and make sure you attach last_kmsg log. If you don't know what it is report the problem to the other thread because one more post without any useful information on dev thread will help noone including yourself.


    FAQ:

    Q: I am having some random lockups with some apps
    A: try removing root by using STweaks app and restart.

    Q: What is the difference between STweaks and ExTweaks?
    A: Both have similar functionality. ExTweak is Xan's implementation of the UCI interface (which is designed by Xan and me with the helps of AndreiLux and implemented in the kernel as open scripts by me) and STweaks is mine. I was hoping Xan would release the sources of ExTweaks (without profile support) but he changed his mind and I decided to open STweaks. Soon they will have almost identical functionality, so you can use whichever you like.

    Q: Does this kernel work on XXXXXX-ROM?
    A: If the ROM is based on Samsung Stock ICS Rom LPQ or newer, it should. Otherwise, search the thread... If you cannot find any reference to that ROM, try the kernel. You won't lose anything by trying this kernel. Worst case scenario is to reflash your previous kernel or ROM. You can backup your previous kernel with Hellcat's k-tool from the market.

    Q: Where is CM9, MIUI or Samsung ROM versions?
    A: There is only one version. Both ROMs are supported with a single kernel image.

    Q: What is the best settings?
    A: It is the one you try yourself and like.

    Q: I have just lost 20-30% battery by just rebooting/flashing the kernel. Is it a bug?
    A: No. It happens because of our fuel gauge chip which doesn't require calibration goes crazy sometimes. It is not related with kernel or ROM. Just reset fuel gauge chip using STweaks app (or remove the battery and wait 3 minutes) and then charge your phone.

    Q: BLN doesn't work.
    A: you need to enable it in stweaks or BLN app. if you have more than one app to configure bln make sure all of them use the same settings.

    Q: BLN works in test mode but it doesn't work otherwise.
    A: if test mode works you should blame the apps. Stock messaging and email apps may not support BLN and in some other applications you may need to enable notifications. Either find another application or change your ROM.

    Q: Can I use breathing effect without using BLN?
    A: for now, breathing effect only works in BLN. There is no way of using it otherwise.

    Q: I need to disable and re-enable BLN in stweaks to get it working again. What is the problem?
    A: You may have another BLN related application (BLNapp, nstools, or a script) which disables BLN after stweaks apply the setting at early boot stage. you have to either uninstall that app or enable BLN in that app as well.

    150
    closing the thread once again...

    I don't want to piss the mods again because this thread attracts too many people.
    most of them misinterpret the "this is a development thread" statement and use the thread for their self-development purposes.

    There are very few people who give useful feedback and suggestions and I talk to them over gtalk, email or PMs anyway.

    greetings :)