yashsingh1/xdaforums huggingface dataset:
[Motorola Droid X2] ashclepdia:
Are you SURE it's based on CM9 code?

Or does it just use the same 2nd init code that cm9 uses so that it can boot up?
[Motorola Droid X2] Gblake13:
You'd have to read the forums to be sure but they all use cm9 beta and have the same issues

Sent from my MB870 using Xparent Cyan Tapatalk 2
[Motorola Droid X2] trafalger888:
I will write something up and get it to you I am on my to work now sorry wed Thursday fri and sat ate busy since I work overnights on those days
[Motorola Droid X2] trafalger888:
Agreed...I also have not seen any issues in this area
[Motorola Droid X2] 754boy:
Lemme get this correct.....So our phone is only using one core? What about during gaming? Seriously, why call t the X2 when the second core is dormant???
[Motorola Droid X2] HitMyKush:
I think every x2 user wonders the same thing. Beastly internals. Terrible stock development.
[Motorola Droid X2] HitMyKush:
Whenever you get the time, were all working men. Preciate it man
[Motorola Droid X2] litetaker:
Are you serious?

DZK initially had issues with CM7DX2 maxing out one core but the other core was idle. Several system info apps reveal that both cores are running... So I highly doubt that one of the cores is dormant in our Device...

I would like people like ash and MoonShadow to give their opinion and correct me if I am wrong but I really don't think that one of our cores is dormant.

Or may be I am missing the point of the OP...
[Motorola Droid X2] KennyKusanagi:
Say it ain't so... :(
[Motorola Droid X2] trafalger888:
This pretty much sums it up lietaker...
[Motorola Droid X2] Travisdroidx2:
Any chance of someone making this into something we can run with script manager? And also run at boot so we do not have to re install it every time? Good find I will keep up on this thread.
[Motorola Droid X2] ashclepdia:
as moon stated the second core DOES come on when needed

if you would like to see for your self, download an app called 2nd core, we can't use it for anything except showing when the 2nd core becomes active. when you open it you will, see one core active, have an app that requires intense CPU activity in you recent apps, long press home button open that app,an immediately long press home button and go back to 2nd core app, you will notice that the second core came online while it was opening that intense game/app.

I think point of the OP is to share script that allows you to have both core CONSTANTLY active if you prefer. as moon stated tho it will impact battery life, tho, I would like to see a script along side this that puts it back to where it was, this way if you want to enable both cores and then go back to how it operates stock, then you could have two SM widgets to do that, I, am curious to see how this impacts music playing , wondering if when music is playing if the system is utilizing the second core when it is needed or not .

thanks for the info moon, always insightful as usual :)
[Motorola Droid X2] trafalger888:
Yes ash you are correct in what you saw as the point...I am not always as eloquent as I should be I suppose...changing the echo to 0 will turn oyster off although I have not played with this so o am not sure if it will shut it completely down or take it to its original state

For me at work I normally get 12-14 hours out of my battery with moderate to heavy use ...I still see those same numbers

As far as music..I decided to try an experiment. On my way home, which os a 30 minute drive, I played music the whole way...I did not experience one skip the whole way...I see that as an improvement :D
[Motorola Droid X2] ashclepdia:
I don't think it's showing you had more ram available per say, just that your ram performed better on that run giving you a better score for it ;)

by the way would you be able to upload the script you used so I can slip it into init.d ?
[Motorola Droid X2] hedwig34:
I'm a total noob when it comes to benchmarks. lol

As for the script, I think trafalger888 is cooking something up for init.d. Keep and eye out. ;)
[Motorola Droid X2] ashclepdia:
yea I was trying to copy paste from your post but it wouldn't paste right, got it to work tho, been using it in script manager for now, thanks
[Motorola Droid X2] skwoodwiva:
Just a BTW note. Uh-oh Rant coming . Why do people use those blasted code boxes? They never help and just make you wonder if xda is meant to be browsed on a 'ing phone? Just like the Tiny Little arrow that you always mis-hit to get latest post. Rant off:rolleyes:
[Motorola Droid X2] Moon Shadow - NM:
I answered this in one of my previous posts and Ash provided a much deeper analog that I.

Skwoodwiva (Screwdriver as Scoobydo would pronounce it?? Anyhow...) I use the code boxes because I mainly use XDA on my laptop when I'm developing something, or checking something out. I use Tap-a-talk when I'm mobile to read and post minor stuff. I'm not going to apologies for using "the damn" code boxes because for code, it is much cleaner. :p :D

Ciao!
[Motorola Droid X2] skwoodwiva:
..Elme(r) Fudd would pronounce it.:)
[Motorola Droid X2] ashclepdia:
**facepalm**

just now realizing, that's what your name is, lmao

(sorry for off topic- but I AM the king of going off topic)
[Motorola Droid X2] Moon Shadow - NM:
Quick script to run in script manager or terminal

This script and flashable zip file are for CM7DX2 ONLY! It _MIGHT_ work on other ROMs, but your mileage may vary!

Okay, it was requested by Ash for me to make a script that would run from init.d. I have included a flashable zip that installs a much simplified version of this script in init.d. Please keep in mind that the only way to change CPU1 back to "On Demand" is by using the script that is in this post as well.

As with all of my mods, I am not responsible for what you choose to do with your phone.

Flashable Zip:

Nandroid backup FIRST! Then flash this zip via Bootstrap Recovery. No need to clear cache or dalvik-cache.

Script:

If you are going to run this script in the terminal, please remember to set the permissions with chmod to 755. Example:

chmod 755 CPU_Core1_OnDemand_AlwaysOn.sh

In script manager, there is no need to do this.

Grrr... XDA doesn't allow uploading of .sh files. Just remove the .pdf extension. This file is _NOT_ a PDF file.

Your welcome!

Ciao!
[Motorola Droid X2] ashclepdia:
is it possible to just slip that into init.d as well and have it run at boot or will it not work?

edit

I see what this is now

disregard question lol
[Motorola Droid X2] Moon Shadow - NM:
No, it runs a menu. I can make one in a flashable zip for init.d. Let me know.

Ciao!
[Motorola Droid X2] ashclepdia:
whenever you get a chance that would be nice

I don't even need it in a flashable zip if that makes it easier, I usually just extract and side it into init.d

(others might want flashable tho)

---------- Post added at 03:10 PM ---------- Previous post was at 03:01 PM ----------

Moon

the check current state option gives no output inn script manager
[Motorola Droid X2] Moon Shadow - NM:
Hrm... It works in ADB Shell... :p I'll look into it.

[EDIT]

****... Script Manager doesn't interpret the read command correctly so it doesn't "pause" and wait for the user to hit <ENTER>... Argh... I'll work on fixing that.

[/EDIT]

[EDIT]

Okay, it now works in Script Manager...

Be sure you download the newest one from my post. I didn't use version control since this was SUPPOSED to be a fast, down and dirty script. Oh well.

[/EDIT]

Also, I updated my post with the flashable zip and a slightly modified script to give trafalger888 credit. I kinda forgot that.

Ciao!
[Motorola Droid X2] skwoodwiva:
Facepalm this- lol - Now go read some of my enigmatic posts to YOU lol! I knew you did not grasp who I am!
[Motorola Droid X2] ashclepdia:
here is what I was running in script manager before you uploaded

(it isn't a zip, just named that way for upload delete the .zip) http://db.tt/rLDzPVSc

mind taking a look and telling me if I can just slip that into init.d and if it will work correctly?
[Motorola Droid X2] hedwig34:
The updater-script in the zip says "For CM7DX2 ONLY!" Does it behave differently on CM7 than on Eclipse? I wouldn't think so. (is that comment left over from another zip?) :)
[Motorola Droid X2] Moon Shadow - NM:
That does work, yes. I would remove all the echo commands EXCEPT the one between the chmod commands. That one is needed.

Ciao!

---------- Post added at 02:30 PM ---------- Previous post was at 02:28 PM ----------

As long as Eclipse has init.d implemented, it SHOULD work just fine. If not, you will have to use something like Script Manager to run the script on boot. To check to see if Eclipse has init.d enabled, see if you have a folder at

/system/etc/init.d

If so, and there are files in there starting with numbers, you should be good to go. The flashable zip does NOT check to see if init.d is present before it pushes the file out. Just FYI.

Ciao!
[Motorola Droid X2] skwoodwiva:
MS

How would I go about putting initd into my mx2 nandroid?
[Motorola Droid X2] Moon Shadow - NM:
Quite a bit of work. I would recommend tearing apart the CM7DX2 flashable zip from DZK. Look at the build.prop and default.prop. Then you will need to roll the change into the ROM, then reflash the ROM.

Ciao.
[Motorola Droid X2] hedwig34:
Eclipse has it built in.

Look for a post by navenedrob in the development thread. That post is many months old. He had made a flashable zip to implement init.d on stock. I may have a copy of that zip somewhere. I can look for it later if the link is dead.

Edit: Or look for init.d re-hack posted by Overmind
[Motorola Droid X2] densetsu86:
ok i just ran a quadrant before and after this script my findings:

before:

total 2265

cpu 2889

mem 2650

i/o 3666

2d 267

3d 1854

after:

total 2383

cpu: 3081

mem: 2709

i/o: 3792

2d: 267

3d: 2068

and i get about the same with each run. now i do want to at least say that for after i also added sd speed increase. this is on rooted stock 2.3.5 .413 build.

also i took a look in to quadrants system info and under cpu info it read

cores:1

cores available to java:1

after the script its reading

cores:2

cores available to java:2

so yeah liking it so far mainly i will keep it active when im using my phone and when im not i will turn off the script. but its nice to have got one hell of a increase in quadrant. interesting side note just ran quadrant one more time with it on default bact to one core my scores took a hit.

total 2062

cpu: 1966

mem: 2683

i/o: 3395

2d: 265

3d: 2001

so using phone after shutting off the secodn scre will hick up your preformance. for a bit of time.
[Motorola Droid X2] ashclepdia:
I can confirm eclipse has init.d support, has had it for a pretty long time, haven't had to use script manager to run a script at boot for a long time, and almost every script I, have ever used I pushed to the folder manually, so I'm certain eclipse has the support lol

(if there is one thing I know, it's the ins and outs of eclipserom lmao)
[Motorola Droid X2] Travisdroidx2:
Ash on eclipse and script manager would I just place the sh. File in my init folder and then run it at boot correct?

---------- Post added at 01:18 AM ---------- Previous post was at 01:02 AM ----------

EDIT: Ok I got it running now with script manager. So my question is now when I check my processor with antutu cpu master is shows it is always maxed out at 1000Mhz wasn't this a issue with eclipse when it was in beta and cm7 in alpha?[COLOR="Silver[COLOR="Silver"]

---------- Post added at 01:26 AM ---------- Previous post was at 01:20 AM ----------

[/COLOR]

Moonshadow nice job with the script manager script. I tested it out and on my cpu master it is constant 1000Mhz and when I switch it back to default and check cpu master is fluctuates between 216Mhz and 1000Mhz.
[Motorola Droid X2] ashclepdia:
I'm not seeing mine maxed like that

also

if you are putting it in init.d you don't use script manager to run at boot

just put the correct file in there (u can just flash the zip that moon created, the "signed" file in his post above, it will put it there and should set correct permissions for it as well, then every time you boot up, the script will run on its own)

try using the script I liked in my post above, it isn't a zip file, just rename to .sh and run it in script manager
[Motorola Droid X2] Travisdroidx2:
Weird when I flashed the zip Moon posted my black market was not working. I could not get my market to get connection even after reboot and internet was working. So I downloaded his pdf and removed the pdf so it was a sh file. Ran it as run at boot and now see the cpu difference. Maybe I need to remove it and try the flashable zip again.
[Motorola Droid X2] antp121:
same, getting fc when lauching market/play store. it works if i clear data or uninstall update but quickly fails again. i mean i can clear data every time but... its still a bug other then that its perfect! thanks again MS
[Motorola Droid X2] Travisdroidx2:
Ok got it! I ran the script and out it back to default. Then removed the script from the init folder. Flashed the zip and everything went well. The file is in my init folder. My CPU master is fluctuating again. And also my black market works now.
[Motorola Droid X2] ashclepdia:
damn noobs :p j/k

glad it's working for ya :cool:

the first time, did you flash, then set the init.d script to run at boot?

that would have cause an issue if you had init.d script set to run at boot when it already ran atty boot

if not, dunno what happened lol
[Motorola Droid X2] Travisdroidx2:
Na the first time I flashed and when I went to the market to get cpu master it would not connect. I had internet but no connection to market. Rebooted still nothing. ended up using back up. But second time flashing no issues.
[Motorola Droid X2] KiaraTheDragon:
lol i backed up too.. but guess what turns out google play store was doing some maintenance our phones were fine
[Motorola Droid X2] Travisdroidx2:
That's helps funny I thought that could be possible so I asked my wife to check her google play on her bionic so I thought it was just mine lol my internet was working also so that is why I thought maybe google play could have been doing maintenance.
[Motorola Droid X2] trafalger888:
Ash...I am wondering if you had time to test the music out with the script running and what your experience was and of it was similar to mine
[Motorola Droid X2] kennyb6:
I flashed tthe zip moon uploaded and on that 2nd core app its only showin one online most of the time?
[Motorola Droid X2] Travisdroidx2:
I just checked with the 2nd core app and it shows my 2nd core offline. I also have the folder in my init folder after flashing it? I do see it being used but shuts off shortly as soon as you and done with something. I thought this was how it already performed?
[Motorola Droid X2] skwoodwiva:
Same same ++
[Motorola Droid X2] trafalger888:
I use system monitor and I have not seen this happen with mine...they both at times shoe a large percent idle but not off...the only time my second core ran was during intense gaming and what not...mine shows constantly enabled though ....I will look at the app you use....does it show the core ran as available in quadrant or antutu or when you type

cat proc/cpuinfo

Because I am consistently showing it enabled these ways

And the only 2nd core app I see is for the galaxy suit and note am I missing something?

Output from cat proc/cpuinfo should look like this

$ export PATH=/data/local/bin:$PATH

$ cat proc/cpuinfo

Processor : ARMv7 Processor rev 0 (v7l)

processor : 0

BogoMIPS : 1998.84

processor : 1

BogoMIPS : 1992.29

Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16

CPU implementer : 0x41

CPU architecture: 7

CPU variant : 0x1

CPU part : 0xc09

CPU revision : 0

Hardware : Daytona

Revision : 83a0

Serial : 037c7105438164d7

$
[Motorola Droid X2] ashclepdia:
I haven't had time yet, hoping to test tonight

I am going to check using poweramp, that's the one I realized had the most music skips for me no matter what I set buffer or priority to,

I've found using Google music (one that comes with eclipse 2.1 ) I get the least amount if skips with my current set up, only on CPU intensive tasks, so I will test both

but I have also found, that one day, music will be fine all day, the next without changing anything it skips again so I take all my tests with grain of salt
[Motorola Droid X2] Travisdroidx2:
Power amp was still skipping today for me even with the mod.
[Motorola Droid X2] trafalger888:
Interesting...im curious as to what you find out
[Motorola Droid X2] ashclepdia:
I'm certain it will for me as well,

I have a feeling that poweramp and the x2 won't play together without fighting.

my main concern is Google music, I'm getting ready to start uploading my music to it soon, as if now tho, it is the one music player that very rarely skips, usually only skips when I do something like installing an app, or when going to manage apps for the first time when it isn't cached in memory and it had to load all my apps/running services, those normally ALWAYS cause serious stutters in my music, I use that as a base to see how well my music will play doing other things, if it can handle opening manage apps with small amount of stutter than it usually takes A LOT for something else to make it jump

---------- Post added at 05:59 PM ---------- Previous post was at 05:55 PM ----------

I think that app may show it offline due to it being idle,

it might not be a reliable way to tell if second core it's actually on but just waiting for something to do, I know I was the one who mentioned the app, but I had only recently found it,
[Motorola Droid X2] kennyb6:
It was my permissions werent set correct now its showin online the whole time
[Motorola Droid X2] Travisdroidx2:
How did you check the permissions? App permissions?
[Motorola Droid X2] skwoodwiva:
All you have to do in change both online files read only rrr & put a 1 in each file. Done.
[Motorola Droid X2] Travisdroidx2:
Sorry I am lost. I know how to set permission on apps. Checked that and it is good. Is this with the app. I see there is a checkbox to always use second core but it does not allow me to choose anything.
[Motorola Droid X2] skwoodwiva:
In the sys/blah/cpu0 (or1)/online set perms to r--r--r-- then make sure it's got a 1 inside. Done

---------- Post added at 03:49 PM ---------- Previous post was at 03:36 PM ----------

Opon reboot it goes back to rw-r--r--!
[Motorola Droid X2] Travisdroidx2:
Are you using root exlorer or script manager? I feel like a idiot for not knowing this.
[Motorola Droid X2] skwoodwiva:
Sorry, RE. So for testing just set it manually after each boot.

---------- Post added at 04:13 PM ---------- Previous post was at 04:04 PM ----------

This picture is wrong. The smartbench is faster by a lot w/o messing with it.
[Motorola Droid X2] trafalger888:
Travis please try the system monitor app its free and it will shoe that the second core is indeed on...I find this to be a reliable real time monitoring app
[Motorola Droid X2] Travisdroidx2:
So I found the cpu 0 and1and the online folder. I made permission to rw-r-r and went to online and changes the 0cpu to 1the on cpu 1. Cpu 1 was already at 1only thing is when re boot I still see rw-r-r instead of seeing rw-r-r-1 as you said? Thanks for all your help sorry for the noob moment!
[Motorola Droid X2] densetsu86:
read a couple peoples posts and one as far as i can tell if you use smanager it stays on all the time. i don't know what app your using but my phone has been snappy as hell, i also check with quadrant and it shows 2 cores every time i look at it and its always at 1ghz.

now for music skipping my set up:

rooted stock 2.3.5 .413 build

smanager scripts:

2nd core

v6 noop

v6 super charger update 8 settings 9 and 12.

blade buddy advance settings:

check debug.sf.hw,

check media.stagefright.enable-player

check media.stagefright.enable-meta

check media.stagefright.enable-scan

and with those setting on motorola stock media player i have not had a skip in the 2hrs that i have player my music for. 1hr yesterday, 1hr today goting to work and back (half hr trip).

even before 2nd core and blade buddy my phone rarely skipped using 2.3.5 builds. some days its less skipping but on the days that was more it was 10 songs max out of a playlist of 105 (one skip for 10 random songs) usally it would skip 3 times on average of the 105 (same one skip for song).

on 2.2.2 and 2.3.3 and 2.3.4 it would skip constantly. this is why i don't use anything under 2.3.5 and also my phone rarely random reboots on 2.3.5 builds. same as with earlier (2.2.2, 2.3.3 and 2.3.4) it would random reboot a least a couple times a week if i didn't turn it off myself when i unplug it from the charger thanks to the battery bug in 2.3.4 where it eats your battery if you unplug but don't reboot your phone.
[Motorola Droid X2] kennyb6:
In root explorer under init.d folder ull the zip and the permissions
[Motorola Droid X2] Travisdroidx2:
I reflashed Moonshadow script again and now it is showing both cores online. After a reboot the 2nd core was offline again. But as soon as I reflash moonshadow script it works fine again.
[Motorola Droid X2] trafalger888:
I really think its the 2nd core app ...because I have not had any issues seeing it in any benchmark program or in system manager
[Motorola Droid X2] Travisdroidx2:
So are you saying just leave It alone and delete the cpu app? :)
[Motorola Droid X2] ForevermanRGPC:
Anyones GPS not working when running this? Or is it just mine. Flashed, no GPS. Restored, GPS works. Flashed again, no GPS.
[Motorola Droid X2] kennyb6:
2nd core is workin for me i jus had to change the permissions of moons zip i flashed
[Motorola Droid X2] Travisdroidx2:
How did you do that?

---------- Post added at 04:21 AM ---------- Previous post was at 04:19 AM ----------

Gps is working fine for me with this installed.
[Motorola Droid X2] ForevermanRGPC:
Pulled it from Moons zip, pushed into Init.d changed permissions. Runs great, GPS works again, don't know what the deal was. This is great. Good work guys.
[Motorola Droid X2] trafalger888:
I just really like the system monitor app I guess is all but I guess that's a personal preferences but it does give a lot of good mealtime information
[Motorola Droid X2] ashclepdia:
pretty sure I've asked you this before

what is v6 noop??
[Motorola Droid X2] densetsu86:
Its an I/O schedule by default dx2 is set to one called cfq which causes lags, pops, and skips for audio and video. V6 noop takes it off of that I/O schedule and puts it on the noop schedule which handles media play back even better. And supposedly there is another setting i just found out about that does an even better job but i need to find that script. I do not have it. And noop also tells android that it has no moving parts to help fix the issues as the stated above.
[Motorola Droid X2] ashclepdia:
sorry

I know what noop scheduler is, but what/where is v6 noop script?

are you speaking if the one made by Zeppelinrox ? (it's KICKASS kernelizer found in the v6supercharger thread)

are you looking for the one that changes it to deadline scheduler (sio scheduler is default best in the script followed by deadline then noop, but we don't have sio available so it sets deadline)

let me know if you need links

(and I don't think noop itself tells it isn't rotational, but it does come with script that tells the system that, the same goes for deadline scheduler, they were designed for flash type memory devices (solid state)

(here is some in depth technical info I found on scheduler descriptions - http://db.tt/rLDzPVSc I, don't understand most of it, but you can see what the differences are)
[Motorola Droid X2] ashclepdia:
saw something interesting in boot animation (I got the app root live dmesg , it's a boot animation that shows kernel activity,free version, there is also a logcat one) shows what kernel does on boot

there was an extra line pertaining to CPU after I pushed the script to init.d about cpu1 and.it's "domain"

I can't interpret to well but I'd have to say since that line wasn't there before, that now it's starting that CPU for certain things in startup(my boot time also seemed shorter but I'd have to test that lol, I don't THINK it was placebo lol)