Dev info request - Motorola Droid RAZR

Hi I'm curious about the differences between the Bionic and the RAZR from a devving stand point.
I'd like to take a look at several files / outputs from the RAZR:
Files needed:
/init.rc
/init.mapphone_cdma.rc
/init.mapphone_umts.rc
/ueventd.rc
/ueventd.mapphone_cdma.rc
/ueventd.mapphone_umts.rc
And the ouput of these adb / terminal commands:
cat /proc/mounts
cat /proc/partitions
cat /proc/cmdline
busybox df
Thanks!

Well first of all, the RAZR runs out of the box on android 2.3.5 which has significant framework updates from the original 2.3 that the Bionic comes with. With regards to compiling kernels for the phones, the RAZR has a 1.2 GHz processor and 1GB RAM while the Bionic has a 1GHz dual core processor which is useful in utilizing for speed methods. The Bionic is loaded with a bunch of software that runs the mobile notebook which allows it to connect with the webtop app and Motorola Lapdock. Both phones have the "Motoblur" UI over it which I personally hate to develop for but we can work on porting HTC Sense or modifying the Motoblur framework itself.

seanyuan62 said:
Well first of all, the RAZR runs out of the box on android 2.3.5 which has significant framework updates from the original 2.3 that the Bionic comes with. With regards to compiling kernels for the phones, the RAZR has a 1.2 GHz processor and 1GB RAM while the Bionic has a 1GHz dual core processor which is useful in utilizing for speed methods. The Bionic is loaded with a bunch of software that runs the mobile notebook which allows it to connect with the webtop app and Motorola Lapdock. Both phones have the "Motoblur" UI over it which I personally hate to develop for but we can work on porting HTC Sense or modifying the Motoblur framework itself.
Click to expand...
Click to collapse
I wasn't so much interested in the software differences as what it would take to get the current CM7 builds for D3/Bionic cut over to RAZR and supporting its hardware.
In my opinion:
android 2.3.5 presents little to no issues, as CM is already on 2.3.7
the TI 4460 processor is also supported under the same OMAP4 framework as the 4430
there's a chance that the syslink/tiler might have a 3rd core (Tesla) but that's also accounted for in the source from TI and essentially a non-issue
I realize the partitions are different (for some reason), but other than that the Bionic is a good model to start from for RAZR devving.. at least in my opinion.

Related

[Q] Tegra2 dual core?

How can I tell if my gtab is using both cores of the tegra2? When I run Quadrant, it only reports 1 core.
TIA
lpsisrl said:
How can I tell if my gtab is using both cores of the tegra2? When I run Quadrant, it only reports 1 core.
TIA
Click to expand...
Click to collapse
Currently the Roms only are utilizing one core. The devs would have to spend hours trying to create and Open source OS to support dual core. It is in the process as i understand and will see something soon.
Does the stock ROM support both cores? If it doesn't, why in the world would they release the gtab with only half a brain? I mean, what's the point of using the Tegra2 if only one core is enabled?
I don't think that's accurate. I'm running the latest Ginger Vegan which uses Pershoot's kernel. The uname -a tell me the kernel is SMP (symetric multi processing).
Doing cat /proc/cpuinfo from a shell shows me two cores, processor 0 and processor 1. So the Linux underneath is using both cores. Now I don't know how you define "use both cores" -- I would expect Dalvik to use threads that gets scheduled by the OS but I don't know that for sure.
But I think it is using the dual cores, at least to some degree.
lpsisrl said:
Does the stock ROM support both cores? If it doesn't, why in the world would they release the gtab with only half a brain? I mean, what's the point of using the Tegra2 if only one core is enabled?
Click to expand...
Click to collapse
Because Android 2.2 was not written with more than one core in mind.
If you were to use one of the several gingerbread themed roms/kernels you would see more than one core is active.. however.. very few software titles utilize more than one core so it's use is limited.
Read this:
http://www.nvidia.com/content/PDF/t...-Multi-core-CPUs-in-Mobile-Devices_Ver1.2.pdf
It does mention Android 2.2.
Like I said, the real issue is twofold. First the underlying OS (Linux) needs to support it. If you've upgraded a kernel here I am sure it does. Not sure about total stock.
Then it depends if the Android not-Java (Dalvik) handles multiple processes and threads. That may or may not vary (certainly from Eclair to Froyo was a major JIT change in Dalvik; not sure about Froyo to Gingerbread). So let's do a thought experiment. Assume the OS handles multiple processors. Even if nothing else is "right" you will get some help because the OS runs processes and threads to do various things.
But the real boost would come in running the Java code. Historically, Java is run by a JVM. So there are a few possible models:
1) JVM is one process and executes all apps and their threads in a single OS thread. Very little benefit for multiple processors in this case.
2) JVMs are spawned for each app and runs all threads for one app in a single thread. Multiple processors would help you run multiple things at once, but not much benefit to running a single program.
3) Single JVM executes each app's threads in separate OS threads. Great potential boost to have multiprocessors. Each app can be in its own process or not. Doesn't really matter. The OS schedules threads in either case.
4) Multiple JVMs execute each app and each app thread is an OS thread. Still good. Some memory waste although since most of the JVM is sharable not too bad. Multiple processors are good here too.
Reading this it appears that #4 is the case: http://davidehringer.com/software/android/The_Dalvik_Virtual_Machine.pdf
I've read elsewhere there may be a limit of 6 Davlik JVMs running at once but I couldn't find that just now.
It's not your tab or the ROM that doesn't support dual-core. It's Quadrant that only supports a single core. Programs must be written to take advantage of the dual cores, that's why you have things like the "Tegra Zone" for apps that maximize the capabilities of the chip.
OK, so what I'm getting is that we really don't know running this gtablet Froyo with TNT Lite 4.4 is actually using both cores?
OK, try this benchmark app:
https://market.android.com/details?id=com.balbadac.mandrobench&feature=search_result
It runs some single-threaded tests, then repeats them dual-threaded and compares the results. Mine showed a 86% improvement between single-core and dual-core tests.
lpsisrl said:
OK, so what I'm getting is that we really don't know running this gtablet Froyo with TNT Lite 4.4 is actually using both cores?
Click to expand...
Click to collapse
Huh? I think I said it was, depending on your definition of using.

Android Gingerbread Core utilization.

Hi everyone. I remember reading a post about how Gingerbread supposedly only utilizes one core. Is this true? If this is true, then is there any actual advantage to using a dual core phone on Gingerbread? I'm considering not even getting a dual core smartphone to save battery life if Gingerbread can't utilize 2 cores properly....or are there ROMs/tweaks to utilize them?
EDIT: I just realized I posted this in the Droid X2 specific forum....my mistake. I was looking at this forum because this is the phone I plan on getting. Also just realized that the second core could be used for background apps.....guess that solves this.

Possible Omap 4 Overclock

Hi guys! I was just checking out this thread in the Bionic section and they have an overclock without that many prerequisites. http://forum.xda-developers.com/showthread.php?t=1439013All we need is a rom with init.D support and tekahuna's "symsearch.ko" and "opptimizer.ko" modules. DroidTh3ory already has init.D support in this Bionic rom so if we could get that in our roms and just find a way to apply tekahuna's modules, our device may be able to get an overclock. Let me know what you guys think. I'm not sure if this is possible but I just want to try and help the Razr XDA community. Sorry if this is arbitrary and completely unapplicable to our device.
Intriguing - conveniently, there's a thread on enabling init.d support that just popped up: http://forum.xda-developers.com/showthread.php?t=1444545
Sent from my XT910 using xda premium
Works on the atrix2
From what I read in original thread on rootzwiki Razr can gain only 50MHz addition with this.
theEnzy said:
From what I read in original thread on rootzwiki Razr can gain only 50MHz addition with this.
Click to expand...
Click to collapse
Ha, funny. Given the RAZR is factory overclocked to 1.2ghz, I suppose it's to be expected. I've underclocked mine to the 1ghz the chip is rated for to save juice anyway.
Sent from my XT910 using xda premium
razr is not overclocked versus the other omap4430 1.0Ghz devices. Parts are tested in the fab, and the ones that can do 1.2g without crash andd without heating a lot are selled to be 1.2-compatible. Other are only 1.0G approved.
It means also that overclocking a 1.0 to 1.2 may cause crash and excessive heat.
For the 1.2G parts of the razr, don't expect great overclock. the omap is more enclosed than in bionic and is already reaching the thermal policy barriere that underclock it when intensive use. If you clock the opp-max over this frequency, you will hit the barrier faster and then finish by using lower opps most of time...
greg_mp said:
razr is not overclocked versus the other omap4430 1.0Ghz devices. Parts are tested in the fab, and the ones that can do 1.2g without crash andd without heating a lot are selled to be 1.2-compatible. Other are only 1.0G approved.
It means also that overclocking a 1.0 to 1.2 may cause crash and excessive heat.
For the 1.2G parts of the razr, don't expect great overclock. the omap is more enclosed than in bionic and is already reaching the thermal policy barriere that underclock it when intensive use. If you clock the opp-max over this frequency, you will hit the barrier faster and then finish by using lower opps most of time...
Click to expand...
Click to collapse
Interesting, so not all 4430s are born equal? Is there an actual variant thereof rated at 1.2, or do they actually test every single chip individually? I wasn't implying it's unstable at 1.2ghz, and hardware design does of course come into it as you've said, but as far as I'm aware it's the exact same chip that TI rated at 1.0.
Perhaps 'clocked higher than the chip has been generally rated for by its manufacturer' is a more accurate description than 'factory overclocked'?
Sent from my XT910 using xda premium
hmmm.. this is all very interesting. I feel like the OMAP 4430 in the Razr should be at more capable than 1.2ghz. My OG Droid ran stable at 1.275ghz and it had a 3430 which was built on the 65nm chip process vs the 45 in the Razr. I must say 1.25gz as a max is quite underwhelming. I was hoping this bad boy would at least be capable of 1.5ghz.
MeNaCe2s0cieTy said:
hmmm.. this is all very interesting. I feel like the OMAP 4430 in the Razr should be at more capable than 1.2ghz. My OG Droid ran stable at 1.275ghz and it had a 3430 which was built on the 65nm chip process vs the 45 in the Razr. I must say 1.25gz as a max is quite underwhelming. I was hoping this bad boy would at least be capable of 1.5ghz.
Click to expand...
Click to collapse
I feel the same, but reality is cruel
I read some time ago on a tech website that the 4460 (1.5) and the 4430 were made from the exact same materials. The only difference is that the ones that hit a very high threshold at 1.5 were stamped 1.5. 4460's. It's not that the 4430's couldn't do 1.5ghz , most could. Just that they couldn't run the benchmark all the way to the end the amount of times needed to qualify. Odds are that any 4430 could do 1.5ghz and probably stable. We will never stress it out the way these benchmarks do.
Does anybody know if this hack could actually work and allow us to overclock our device. I think we can worry about how far we can overclock after we get an actual overclock lol. Would anyone be able to rewrite the "symsearch.ko" and "opptimizer.ko" modules for our device so we can get an overclock on our device?
MeNaCe2s0cieTy said:
Does anybody know if this hack could actually work and allow us to overclock our device. I think we can worry about how far we can overclock after we get an actual overclock lol. Would anyone be able to rewrite the "symsearch.ko" and "opptimizer.ko" modules for our device so we can get an overclock on our device?
Click to expand...
Click to collapse
No rewriting necessary. It was developed on a RAZR. Available in the download section of the OPPtimizer site. 0.1 modules only adjust top frequency. 0.2 modules adjust top frequency and voltage. As stated on the homepage, symsearch.ko is the creation of Skrilax_CZ. In case you don't know who that is, he's the guy who got 2nd-init functioning for all of us.
http://opptimizer.googlecode.com
---------- Post added at 08:21 PM ---------- Previous post was at 07:54 PM ----------
greg_mp said:
razr is not overclocked versus the other omap4430 1.0Ghz devices. Parts are tested in the fab, and the ones that can do 1.2g without crash andd without heating a lot are selled to be 1.2-compatible. Other are only 1.0G approved.
It means also that overclocking a 1.0 to 1.2 may cause crash and excessive heat.
For the 1.2G parts of the razr, don't expect great overclock. the omap is more enclosed than in bionic and is already reaching the thermal policy barriere that underclock it when intensive use. If you clock the opp-max over this frequency, you will hit the barrier faster and then finish by using lower opps most of time...
Click to expand...
Click to collapse
Very true, and something to consider the when overclocking OMAP4 devices. They don't clock as high as some would think. Although, I'm not so sure that the lag that most people are describing is the thermal policy kicking in. I've noticed that this lag can be cleared up with additional voltage, and not exhibit the behavior of getting clamped down on by the thermal policy. For example, 1250MHz on my Droid RAZR at stock 1.375V, is flaky, bump the nominal voltage to 1.388V, and it holds, and up to 1280MHz without the lagging condition.
You appear to be well informed on this subject. Good points you raise!
Lol. I'm still trying to understand the fact that we had a overclock this entire time. I never found one on the forums but I guess we had the tools available all this time. I honestly didn't know we had one.
Sent from my XT910 using xda premium
MeNaCe2s0cieTy said:
Lol. I'm still trying to understand the fact that we had a overclock this entire time. I never found one on the forums but I guess we had the tools available all this time. I honestly didn't know we had one.
Sent from my XT910 using xda premium
Click to expand...
Click to collapse
The kernel modules were only recently release. Some early testing was done in the LG Thrill community, as that was my original test device. Development was stalled a little by issues which I now realize were with the LG Thrill's kernel itself, rather than what I was doing. Got a RAZR on opening day and was able to come up with some code I feel comfortable releasing. It's only been available to the public for about a week now. I think some RAZR's will hit low 1300's... Don't know about much more.
Does this work? Is there a script for it? I have init.d support on stock from a bionic init.d cwr zip from droidrazr.com that works. What would a script look like to change voltages/ect?
Nevermind i see...its in the download section on link.
How do you run it or setup?
frostincredible on RootzWiki has created some flashable zip for Bionic, but they only work for my 0.1 modules that only support frequency manipulation. I have 0.2 modules that control voltage as well for Droid 3. You can open up his zip file and get an idea how to get things going with init.d... You can actually use his script, and just modify the echo line to say "echo 1122000000 1388000 > /proc/opptimizer", to send a voltage value, along with frequency.
http://rootzwiki.com/topic/14698-in...or-tekahunas-omap4-overclock-modules-1-10-12/
Page 2/3/4 on the official thread also has some info on init.d scripts for this.
http://rootzwiki.com/topic/14511-op...ng-kernel-modulesofficial-thread/page__st__20
CDjones over on DroidForums.net also started a good thread with some useful information:
http://www.droidforums.net/forum/dr...imental-voltage-control-support-tekahuna.html
Not the same device, but same idea.
orateam said:
I read some time ago on a tech website that the 4460 (1.5) and the 4430 were made from the exact same materials. The only difference is that the ones that hit a very high threshold at 1.5 were stamped 1.5. 4460's. It's not that the 4430's couldn't do 1.5ghz , most could. Just that they couldn't run the benchmark all the way to the end the amount of times needed to qualify. Odds are that any 4430 could do 1.5ghz and probably stable. We will never stress it out the way these benchmarks do.
Click to expand...
Click to collapse
This is not true. OMAP4460 and OMAP4430 are different chips. E.G. there are [email protected] and [email protected] the fact that the 2 products exists should be enough to say there are different.
I reckon they are not drastically different, most of the things are common.
So has anyone gained any noticable performance improvements with this? Also so it can 0nly be OC'd to 50mz more so 1.25ghz is the max? At this point is this mod developed enough for the razr for it to be a usable worth while tweak? Not dogging any devs just want to see if its worth it yet to start messing with this...
Also in the download section there is now this "MO_simple_spyder_1.5-beta-01.zip Milestone Overclock ported to Motorola Droid RAZR"
Whats that?
It depends on your particular processor, because every one is little bit different. I was able to run mine at 1300 MHz quite stable with stock voltage. But I don't see any need for more CPU power now, maybe someday
More interesting is undervolting to achieve longer battery life, which can be done with OPPtimizer too.
theEnzy said:
It depends on your particular processor, because every one is little bit different. I was able to run mine at 1300 MHz quite stable with stock voltage. But I don't see any need for more CPU power now, maybe someday
More interesting is undervolting to achieve longer battery life, which can be done with OPPtimizer too.
Click to expand...
Click to collapse
Has anyone had any good success with undervolting and battery life?

Quad-core & Ice Cream Sandwich

Hi hi hi,
I remember back when ICS wasn't out, it was said that dual-core phones weren't able to fulfill their full potential, because the OS (e.g. 2.3.6) only supported single core.
My question is about the new quad-core phones that are coming out. Does ICS support quad-core? If not, will they function as dual-core, or will they be faster? How much faster?
This is an important issue to take into concideration when thinking about buying a new phone..
Thanks!
Sent from my Galaxy Nexus using XDA
I am not deep enough in android code to say whether android itself is capable of exploiting multicores cpus, but I can say two things that I saw myself.
#1 there are already apps for video playing that allow you to set how many cores they must use to reproduce full HD videos.
#2 if you run a chrooted Ubuntu with a single core, a dual core and a quad you'll notice a huge improvement in performance.
IMHO multicores are useful for videodecoding and heavy multitasking. On the other side, the performance gap between single and multicores cpus is not very significant when running a single application. It may depend a lot on how apps themselves are written and if they actually use the cores, more than on gingerbread or ics.

Marshmallow?

No 6.0 love for x2?
HODOR
@dragonzkiller will git er done.....some how....some day
Sent from my Nexus 6 using Tapatalk
If not Melvin will be on it in no time. ?
Sent from my LG-VS985 using Tapatalk
motcher41 said:
@dragonzkiller will git er done.....some how....some day
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
He probably already DID... Just not sharing with us.
Everyone should Pm him about it I think.
If you DO pm him be sure to put "MELVVIIIIINNNNNN!!!!!!" AS the subject line and he will respond ASAP
ashclepdia said:
He probably already DID... Just not sharing with us.
Everyone should Pm him about it I think.
If you DO pm him be sure to put "MELVVIIIIINNNNNN!!!!!!" AS the subject line and he will respond ASAP
Click to expand...
Click to collapse
I'm maining my DROID X2 as my daily on Android 7.0 Nutella. It's so far ahead of it's time, you have no idea. Blazing fast. My phone is so lightning basically plasma now. And none of you guys will have it.
B out of 5, am keeping to self.
Do more. Be more. DZK Android 7.0 Motorola DROID X2 2SPOOPY4ME #360NOSCOPE420YOLOSWAGTHUGLIFE2017
Purple.
I just had to stop by this forum and look around a while at the phone that started me on android. It's crazy that this may the x2 will be 5 yrs old. And also, screw you melvin.
This was an... interesting phone. Very rock solid build and very good radio but crappy as hell music playback! For some reason I came back to this forum as I still have a few of these pages bookmarked. Now I am on Moto X (2013) running sweet Lollipop, on stock. And I must say, what a change Moto has been through over the years. Moto X is like light years ahead of their previous droid crap! And all the custom Moto stuff are actually amazing additions! Howdy y'all!
Phone age is quicker than computer age, so keep this in mind when I talk about this comparison.
The driod X2, which is a fine phone for it's time, cannot handle ART. Nor can it handle the processing needed to run the OS. The processor is a dual core 1ghz processor. Most phones running LP and MM are QUAD core with DOUBLE the processing ghz. This is also not counting in the fact that their processing algorithm is far more advanced.
Asking if the X2 can run MM is like asking if a Pentium 3 can run windows 10 and play skyrim since it has only half the cores and near the same processing ghz as the current generation processors (i7/FX series).
I had my x2 until it ran into the ground. It was my favourite until the M7, but let it go. It cannot handle it, especially being a locked bootloader and having to run a kernel so old and incompatible.
Uzephi said:
Phone age is quicker than computer age, so keep this in mind when I talk about this comparison.
The driod X2, which is a fine phone for it's time, cannot handle ART. Nor can it handle the processing needed to run the OS. The processor is a dual core 1ghz processor. Most phones running LP and MM are QUAD core with DOUBLE the processing ghz. This is also not counting in the fact that their processing algorithm is far more advanced.
Asking if the X2 can run MM is like asking if a Pentium 3 can run windows 10 and play skyrim since it has only half the cores and near the same processing ghz as the current generation processors (i7/FX series).
I had my x2 until it ran into the ground. It was my favourite until the M7, but let it go. It cannot handle it, especially being a locked bootloader and having to run a kernel so old and incompatible.
Click to expand...
Click to collapse
FYI, the post was made clearly in jest mate.
Uzephi said:
Phone age is quicker than computer age, so keep this in mind when I talk about this comparison.
The driod X2, which is a fine phone for it's time, cannot handle ART. Nor can it handle the processing needed to run the OS. The processor is a dual core 1ghz processor. Most phones running LP and MM are QUAD core with DOUBLE the processing ghz. This is also not counting in the fact that their processing algorithm is far more advanced.
Asking if the X2 can run MM is like asking if a Pentium 3 can run windows 10 and play skyrim since it has only half the cores and near the same processing ghz as the current generation processors (i7/FX series).
I had my x2 until it ran into the ground. It was my favourite until the M7, but let it go. It cannot handle it, especially being a locked bootloader and having to run a kernel so old and incompatible.
Click to expand...
Click to collapse
Gotta agree that while MM may be impossible. I don't know if it's so much cpu dependent as RAM. My S3 has screamed on everything I've thrown at it LP and MM. But now that the digitizer died, I'm back on the X2 for the time being..
I gave 20bucks for it 3 years ago. to use as a remote control, media player while weed eating and what not, Now it's my DD on CM7.. I really missed some of those killer themes from back then. I detest the whole material thing.

Categories

Resources