• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ICS/CM9-JB/CM10 Development Thread

This is my first full day of running MIUI 4.1 and I'm loving it so far. I haven't had one force close or reboot.

Here's a couple other bugs:
I have yet to show signal in the status bar although sites will load (wifi off, of course) and calls/SMS/mms work fine
Not sure if this even matters, but I can't update PRL or Profile or can't find it in the settings
At times the lock screen is randomly unresponsive or "sticks" at unlock for about 5-10 seconds before unlocking (this has only happened twice)
Voice search (is there anything I can do to get this to work?)
I haven't had the sim card message (yet)
Boot time has increased a bit (compared to CTMod), but that's to be expected
Bluetooth turned off after a reboot and I can't convince it to turn back on (tried status bar and settings)
This is petty, but I keep getting the warning "This app is very large..." when downloading apps from the play store.

I'll keep tinkering and see what else comes up. So far, besides Bluetooth, none of these are huge issues. Great work!
 
This is my first full day of running MIUI 4.1 and I'm loving it so far. I haven't had one force close or reboot.

Here's a couple other bugs:
I have yet to show signal in the status bar although sites will load (wifi off, of course) and calls/SMS/mms work fine
Not sure if this even matters, but I can't update PRL or Profile or can't find it in the settings
At times the lock screen is randomly unresponsive or "sticks" at unlock for about 5-10 seconds before unlocking (this has only happened twice)
Voice search (is there anything I can do to get this to work?)
I haven't had the sim card message (yet)
Boot time has increased a bit (compared to CTMod), but that's to be expected
Bluetooth turned off after a reboot and I can't convince it to turn back on (tried status bar and settings)
This is petty, but I keep getting the warning "This app is very large..." when downloading apps from the play store.

I'll keep tinkering and see what else comes up. So far, besides Bluetooth, none of these are huge issues. Great work!

the only roms that support updating prl/profile are stock or stock based roms like CT or Marky Beats.

dunno about voice search.

MIUI's default lockscreen right now is laggy, especially on a older phone like this. you can go to the themes and apply a different lockscreen tho it can get rid of the lag.

after you try turning on BT do a reboot and when it boots back up it will probably be on.

the message when you download from the store is just a built in feature to warn people so they don't use up all their data on downloads. you might be able to disable it but I don't know.
 
i tried porting a rom from the lg optimus black and i can never get pass the lg screen?

It's not quite as simple as "grab a rom from the Optimus Black and flash it on your Marquee". You have to modify partition mounts, ramdisks, lib files, amongst many other things.

Also, your not extracting from a rom zip to make those changes. Typically, you would download a git repo with the sources and proprietary files. Then you would begin compiling, trouble shooting, and repeating much like with the kernel. This is after skimming through the code and making the correct changes. Keep in mind downloading your source files will take 6 or more hours, so best to let it run overnight. And compiling the rom to even see if it boots will take you 3+ hours (depending on your processing speed and amount of ram. Allow more time for ics or jb based builds)

I'm all for learning and hope you try to take up building a rom. It's always good to have more devs or people interested in learning. I just don't want you to get discouraged if you go in thinking your gonna build something in a weekend. There are other things you can do for faster results like kanging or using a rom kitchen, but over time you will find its better to compile from source as you have more control over the final project.

Good luck
 
  • Like
Reactions: tdm
after flashing the new miui rom at the start up page i keep getting and error that i have no sim card and i cant make calls and send texts after is there a fix for it?
 
Thanks for the encouragement wat do i use to compile a source

You can use a java development kit and rom kitchen software, but if your serious about development I would recommend a Linux platform. Ubuntu is user friendly and over time you will either come to love it or look for a distribution that meets your needs. I recommend Linux because it is a more programming-friendly interface than Windows.

With Linux, you will need to create a build environment. There is software you will need to install to properly to this (android sdk, java jdk, etc). You won't do this in a typical fashion as you would with windows. Your gonna use a terminal Window to create repositories for these files. The Android sdk you will download and extract as usual, then add it to your home directory. Then use the terminal to add the jdk repository and to download/install python.

Then you will do the same thing to install the git-core. These is how you download or "sync" your sources and any updates. After that, install the required packages and library files, then configure usb access. Otherwise, your not going to be accessing your phone and can skip the rest.

After that you're ready to download your sources/repo and compile. There are tutorials on the Web for more in depth explanations of this and running the build. Google is your best friend, especially while learning. We live in an age where you can research and virtually teach yourself whatever you want. You can Google Ubuntu if you would like to get more familiar with it.

This was just a basic rundown of the steps involved. Hopefully your realizing how much work goes into every aspect of development, including setup time, build time, troubleshooting, etc.

Time to brush up on some java, c/c++, and terminal language ;)
 
Yeah... First get a good machine. 4 cores and 8 gb ram is good. 2 cores and 4 gb ram works but it's slow. Then install ubuntu 64bit version 12.04 I believe. I'll need to dig up the proper java version but I think it's sun jdk 6. Do not use openjdk. Search for "oab" it's a good jdk install tool. After that, look on Google for further instructions. There are a few packages you will need. Then sync a repo and have fun. :)
 
I am running Fedora and have created custom kernels before I have just now started working with the Android kernel. I have been using Linux for many years now. I don't feel like my modifications are ready for prime time at all. I just pay close attention to blood,tdm,the~skater, and all the other talented developers and continue to learn and work in the background. Maybe someday.
 
Yeah... First get a good machine. 4 cores and 8 gb ram is good. 2 cores and 4 gb ram works but it's slow. Then install ubuntu 64bit version 12.04 I believe. I'll need to dig up the proper java version but I think it's sun jdk 6. Do not use openjdk. Search for "oab" it's a good jdk install tool. After that, look on Google for further instructions. There are a few packages you will need. Then sync a repo and have fun. :)

And let me add one additional thing. And this comes from personal experience in compiling programs. If you have a Intel Based Mac, it will go faster. How and why that is possible I don't know. Perhaps how Apple tightly integrates it's hardware.
 
I think that the reason intel macs are compiling faster is due not to anything inherently more "tightly integrated" but due to the fact that Xcode uses LLVM which is faster than the GCC used as the default compiler on linux systems.
 
I have a question, the rotation delay is related to the kernel or the ROM? because it takes a pretty long time on CM10 compared to CTMod/Stock/CM9, or there's a way to change that delay time?
the same doubt with the shutdown effect when you lock the screen.
 
I have a question, the rotation delay is related to the kernel or the ROM? because it takes a pretty long time on CM10 compared to CTMod/Stock/CM9, or there's a way to change that delay time?
the same doubt with the shutdown effect when you lock the screen.

its probably cause CM10 uses more resources so it makes it lag a little. both our CM9 and CM10 use the same kernels, just with different ramdisks.
 
its probably cause CM10 uses more resources so it makes it lag a little. both our CM9 and CM10 use the same kernels, just with different ramdisks.

Thanks, that is what i was thinking.
and what about the screen off effect when is locked, it's a ROM thing if I'm not wrong?
It looks pretty cool.
 
Thanks, that is what i was thinking.
and what about the screen off effect when is locked, it's a ROM thing if I'm not wrong?
It looks pretty cool.

Are you talking about the CRT effect? If so, yeah, that's a rom feature. Disabling animations in settings usually turns it off.
 
I think that the reason intel macs are compiling faster is due not to anything inherently more "tightly integrated" but due to the fact that Xcode uses LLVM which is faster than the GCC used as the default compiler on linux systems.

Actually I have a Core i7 Mac and a Core i7 home brew PC. Both have similar specs and the Windows 7 on the Mac runs circles around my home built one on every single test. That is why I believe it has to do with how tightly integrated the hardware is on Macs.
 
I use nothing in my home but Linux different flavors like Fedora and Slackware I am a huge advocate of free and open software and formats. The hardware ranges from a core Duo with four gigs of Ram for a media server. To a Core i7 Extreme with 16 gigs of ram which is my main machine. I just love building machines so as soon as new tech comes along and my wallet gets fat which is a rare event I am on Newegg ordering parts.
 
i can not boot into recovery im holding power + vol up.....what else can i do?? I downloaded some screen saver and my screen will not stay on nor respond.....how can i reboot into recovery!!
 
i can not boot into recovery im holding power + vol up.....what else can i do?? I downloaded some screen saver and my screen will not stay on nor respond.....how can i reboot into recovery!!
Use power with volume down, not volume up. Also, sometimes it takes several tries. In a pinch you can use adb.
 
Back
Top Bottom