Posts Tagged ‘Custom ROM’

Jelly Bean 4.2.2 On Nexus One

Wednesday, March 6th, 2013

I have been using the Jelly Bean 4.2.2 – v4.7 for few days now, and I must say that it’s working great so far. I covered all the installation steps and tricks in the previous article:
Installing Jelly Beans on Nexus One

However, with time, I learned something more about this ROM, and applied few more tricks to get a very smooth running Jelly Bean on my Nexus One (haven’t had a single crash since last 4 days). I thought to share these with others using the same (or similar ROMs) and see if this helps you guys too. So, here these are:

1: Custom Camera Application
The Camera in this ROM works, but it’s just functional i.e. the picture quality is very bad. I know the N1 camera quality is great, because I have used this a lot in Gingerbread and loved the quality. Fortunately, there are some workarounds available. The simplest is to use 3rd Party camera application from the Google Play store. The one I’m using and highly recommend are:
Camera ZOOM FX
HDR Camera

You will get way good quality pictures with these applications than the stock camera application.

2: Use SD Card Booster
I recommend installing some SD Card Booster form the Google App Store. There are many, but I tried the following and it works well for me:

https://play.google.com/store/apps/details?id=com.sdincrease.it

For my SD-Card, I got best performance with 1024 size. You can try few values on your system, and see which one works well for you. Once configured properly, you should get some good speed in running applications and playing movies from the SD-Card.

3: Install/Update Google Search
Go to Google Play store, search for “Google Search” and it will let you install or update the Google Search version. With this, you can use the voice search and input using the keyboard. It still needs the Internet (no offline version available yet) but still it’s better than nothing.

4: Integrate Link2SD
If you are using the Jelly Bean or any other custom ROM which provides the ROOT access, then I think this is the must have application for you. You can download Link2SD this from Google PlyStore. The configuration is simple, and there are many tutorials on how to setup this. So, I will not go into that detail. However, I would recommend one thing special, and that’s if you are using this ROM, partition your SD-Ext as FAT32 (instead of Ext2, Ext3 or Ext4). Though the linux paritions like EXT3 or EXT4 works, I had lot of permission issues using these. But FAT32 worked very well for me. If you are using Windows, you can use the MiniTool Partition tool to format your SD-Card. Again, there are many online tutorial on how to do that, so will not go in these details.

Note: Link2SD can’t work be juxtaposed with A2SD or similar scripts. So, if you want to use this, don’t use built-in A2SD or any other SD-Ext manager application.

5: Keep Dalvik Cache in Internal Memory
If you have low access speed SD-Card, then you may find it better to keep the Dalvik Cache in the internal memory. Doing this I have found the application to be more responsive and speedy. I’m not a guru on Android architecture, so may be there are some shortfalls of this, but so far this (keeping Dalvik Cahce in internal memory) has been working great for me. So, other thing I did different for Jelly Bean 4.2.1, is to keep the Dalvik Cache in internal memory. If you followed that ROM steps, for A2SD install, you need to do this in terminal:

1
2
3
4
5
# su 
# a2sd install
N 
N
Y

This means that you may have to keep cleaning up the Dalvik Cache from time to time. But fortunately you can do this from Recovery (I’m using CynogenMod Recovery). When you do this, system will build the cache again on next start-up. It should work well if you have comparatively low number of applications.

Note: If you want to use the A2SD, then you must have the Ext2 or Ext4 as second partition. Having the Fat32 as second partition works well with Link2SD, but doesn’t work with A2SD (and it doesn’t complain about this either). It simply will not move the cache.

Installing Jelly Bean on Nexus One

Sunday, January 27th, 2013

I have my Nexus One for more than a year. Although its stock OS (Gingerbread) is quite outdated, I still overall love it. But I must admit that it’s quite outdated OS now. So, I decided to upgrade this to Android Jelly Bean with hope to learn a lot during this process.

First of all, please note that this is not a guide to how to install Jelly Bean on Nexus One. If you are looking for one, search on the web, and you will find dozens (if not hundreds). FYI, I read many, but referenced the following two mostly:
http://marian.schedenig.name/2012/07/22/installing-android-4-ics-on-the-google-nexus-one/
http://c2med.blogspot.com/2012/07/how-to-install-ics-nexus-one.html

Here are the mains steps I used:

1. Unlocking your Phone
It’s basically unlocking your phone bootloader. this is required because if your bootloader is locked, you can’t replace your recovery image, you can’t flash a custom ROM, and you can’t edit your system files. So we have to do this before the fun start. Here is a quick guide on how to do this (just follow the “Unlocking the device” section):
http://wiki.cyanogenmod.org/w/Install_CM_for_passion

Note: Unlocking the bootloader on a Nexus device will automatically wipe all device data.

2. Rooting your Phone
Once you have unlocked the Phone, the next step is Root it. Rooting is the process of allowing you to run your device with root-level permissions i.e. allow Superuser permissions. This gives you as a user to perform all the permissions including deleting the files required to run the system. While you normally wouldn’t do this, you can still do this. The main reason for Rooting is to give you additional control while in the Android to setup the Custom ROMs.

For the rooting, you can use either install the CyanogenMod custom ROM for your device (as in the above link), or you can try some application which exploits the Android OS vulnerability to root it. I tried the OneClickSuper application, and it worked for me. So you can try it as a simple alternative too. This application interface is quite straightforward, but if you have any confusion, there are plenty of tutorials available.

3. Install Custom Recovery
Recovery refers to the dedicated, bootable partition that has the recovery console installed. This is used to detect and load the Android OS from the main partition. Plus this also has supports some basic commands/options to restore your system in case of any problem. The stock recovery is pretty basic, and don’t have much options. Specially the stock recovery doesn’t allow you to do the installation of the custom ROMs and do backup/restore.

For installing custom recovery, there are two possible ways. If you like Geeky style, then you can do this manually by following this tutorial (follow the “Installing recovery using fastboot” section):
http://wiki.cyanogenmod.org/w/Install_CM_for_passion

There is also a simple way, that I followed, and that’s to install the CyanogenMod Recovery using ROM Manager. Here is very simple tutorial on this:
http://tech2.in.com/how-to/smartphones/how-to-root-and-install-custom-recovery-on-any-android-phone/280442

4. Partition you SD Card
The next step is to reparation your SD Card so that the applications can be installed on your SD Card. This way you can leave more RAM for the system applications. I think this is required (but not very sure) to install large size ROMs like Jelly Bean. Anyway, as this was simple process, I decided to do this anyway.

For this, again there are two ways. First is geeky way and it’s to use the 4EXTRecovery to install custom recovery and use it to partition the SD-Card. Here is a good tutorial on this:
http://www.roms-au.com/howtos/ext3/

Another, simple one is to create this partition using ROM Manager. Again, as I have the ROM Manager installed, so I use this option. Here is a tutorial for this:
http://theultralinx.com/2011/10/how-to-partition-your-sd-card-with-rom-manager.html

Warning: After doing the above step, I got the famous Android boot failure (Android with Exclamation sign). To fix this, I booted in to Recovery mode, and Cleared the User-Data. This fixed my problem.

5. Partition your Internal Memory (HBoot)
To Install the Jelly Beans or ICS, you need to first resize the internal memory (called HBoot). This is because the new ROM size for the JB or ICS is so big that it will not fit on the default partition created for the Gingerbread on Nexus One. Different ROMs require the different HBoot size. I was planning to use CM10.1 VJ Jelly Bean 4.2.1 and this requires 250 HBoot. So next step is to re-size the partition. This can be done by BlackRose.

Warning: In case after the above step you can’t load into recovery. You can fix this by flashing your recovery image again from the fastboot mode.

6. Install your Custom ROM
Once all the above is done, you are ready to install your custom ROM. For this download it, and place it on your SD-Card. If you forgot to do this (like I did) before formatting and erasing your system. You can mount the SD Card from the Recovery too (if you are using CyanogenMod recovery. Once you are in the recovery mode, do “wipe data/factory reset” and also wipe all paritions except the sd-card. Then select update from SD-Card, select the new ROM ZIP file. This should start the installer. Cross your fingers while it finish the installation and do the booting.

7. Results
If everything went well, then you will see your new Android OS. I’m using Jelly Bean and it’s really great. There are still few (but minor) display issues, but overall it’s fully functional. The best thing is that as soon as I signed in with Google Account, all my contacts and applications were restored. So, the system is back in running state in an hour or so.

8. Bonus
I like the new Jelly Beans OS and overall functions. However, I didn’t find the booting animation that cute (sorry CyanogenMod designer). Fortunately, there is simple way to change that too. Here is the one I tried:
http://forum.xda-developers.com/showpost.php?p=28025789&postcount=1

The setup is simple. Just download the flashable version of the animation. Place it on SD-Card. Boot to Recovery mode, and simply flash the new animation. Enjoy the new elegant animation.

Conclusion
If you try this, please do a very thorough reading of all the above articles (and any other articles you can find on web) before trying any of this. The key is to make sure you know what you are doing. If you are not sure, read more or post questions to experts (I’m not expert). Good luck!