Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

28 November, 2025

AOSP 15 Learning RoadMap

AOSP 15 Learning Roadmap

BEGINNER
  • Android Architecture Overview
    Learn Android layers: Apps, Framework, HAL, Kernel
    Resource: Android Developer Guide
    Difficulty: ⭐ | Est. Time: 2–3 hrs
    💡 Tips & Notes
    • Focus on the role of the Linux kernel in Android.
    • Understand the separation between app and framework layers.
    • Draw architecture diagrams to visualize interactions.
  • Setting Up AOSP Build Environment
    Install Ubuntu 22.04, dependencies, repo tool, and sync source
    Resource: AOSP Setup Guide
    Difficulty: ⭐⭐ | Est. Time: 3–5 hrs
    💡 Tips & Notes
    • Allocate at least 200 GB disk space for source and build output.
    • Set up ccache to speed up rebuilds.
    • Keep a record of all environment variables for reproducibility.
  • Building AOSP for Emulator
    Lunch, build, and run with launch_cvd (Cuttlefish)
    Resource: Cuttlefish Docs
    Difficulty: ⭐⭐ | Est. Time: 3–6 hrs
    💡 Tips & Notes
    • Use `m` for partial builds during iterative testing.
    • Verify `/dev/kvm` for virtualization support.
    • Document build flags and options for consistency.
INTERMEDIATE
  • Understanding System Services
    Explore Binder, HAL, and native services
    Resource: System Architecture Docs
    Difficulty: ⭐⭐⭐ | Est. Time: 4–6 hrs
    💡 Tips & Notes
    • Start with Binder communication basics between processes.
    • Experiment with modifying a simple HAL module.
    • Log service outputs to trace behavior.
  • Modifying Framework Code
    Add a simple feature or tweak system UI
    Resource: Framework Docs
    Difficulty: ⭐⭐⭐ | Est. Time: 6–8 hrs
    💡 Tips & Notes
    • Use `repo sync` carefully to avoid overwriting changes.
    • Build specific modules to save time.
    • Keep a separate branch for experiments.
  • Running and Debugging Emulator
    Use adb, logcat, and device monitor
    Resource: Logcat Guide
    Difficulty: ⭐⭐ | Est. Time: 3–4 hrs
    💡 Tips & Notes
    • Set filters to focus on your module logs.
    • Use `adb shell` for direct device inspection.
    • Monitor CPU, memory, and storage usage for performance tuning.
ADVANCED
  • Custom ROM Modifications
    Change build.prop, system apps, or add new APKs
    Resource: Build Customization Docs
    Difficulty: ⭐⭐⭐⭐ | Est. Time: 5–8 hrs
    💡 Tips & Notes
    • Always back up your AOSP build before making changes.
    • Test on emulator first before real device deployment.
    • Keep track of commit history to revert if needed.
  • Integrating Hardware Drivers
    Add or update HAL for custom device components
    Resource: Hardware Docs
    Difficulty: ⭐⭐⭐⭐ | Est. Time: 6–10 hrs
    💡 Tips & Notes
    • Check kernel compatibility before adding drivers.
    • Compile drivers separately for testing.
    • Use logs to confirm proper hardware initialization.
EXPERT
  • Android Internals & Security
    SELinux policies, system security, and low-level debugging
    Resource: Security Docs
    Difficulty: ⭐⭐⭐⭐⭐ | Est. Time: 8–12 hrs
    💡 Tips & Notes
    • Understand SELinux modes: permissive vs enforcing.
    • Trace system calls for security analysis.
    • Keep a separate test environment for risky experiments.
  • Performance Tuning & Profiling
    Optimize CPU, memory, storage, and app performance
    Resource: Profiling Guide
    Difficulty: ⭐⭐⭐⭐⭐ | Est. Time: 6–10 hrs
    💡 Tips & Notes
    • Use `systrace` and `perfetto` for deep performance metrics.
    • Benchmark before and after changes.
    • Profile both emulator and real devices for comparison.
  • Contributing to AOSP
    Submit patches, participate in code reviews, maintain modules
    Resource: Contributing Guide
    Difficulty: ⭐⭐⭐⭐⭐ | Est. Time: Variable
    💡 Tips & Notes
    • Follow AOSP commit and review guidelines strictly.
    • Start with small bug fixes or documentation improvements.
    • Maintain a clean Git history for your contributions.

13 November, 2025

AOSP 15 Setup on ThinkBook 16p G5 IRX – Part 2

System Update & Essentials

System Refresh Script

#!/bin/bash
echo "============================================="
echo "🕒 System refresh started at: $(date)"
echo "============================================="
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt autoclean
echo "---------------------------------------------"
echo "✅ Last refresh completed: $(date)"
echo "---------------------------------------------"

AOSP Repository Setup

Emulator Scripts

#!/bin/bash
case "$1" in
  start)
    emulator &
    ;;
  stop)
    pkill -f emulator
    ;;
  status)
    ps aux | grep -E 'emulator|qemu' 
    ;;
  clean)
    rm -rf ~/.android/avd/*
    ;;
  *)
    echo "Usage: $0 {start|stop|status|clean}"
    ;;
esac

Dual Monitor Script

#!/bin/bash
INTERNAL="eDP-1"
EXTERNAL="HDMI-1-0"

if xrandr | grep "^$EXTERNAL connected" >/dev/null; then
    xrandr --output $INTERNAL --auto --primary --output $EXTERNAL --mode 3840x2160 --scale 2x2
    echo "Dual monitor setup applied: $INTERNAL + $EXTERNAL"
else
    xrandr --output $INTERNAL --auto --primary
    echo "External monitor not detected. Using internal display only."
fi

Automated Monitor Detection

#!/bin/bash
EXT_MON=$(xrandr | grep " connected " | grep -v "eDP" | cut -d' ' -f1)
if [ -z "$EXT_MON" ]; then
    xrandr --output eDP-1 --auto --scale 1x1 --primary
else
    xrandr --output eDP-1 --off \
           --output "$EXT_MON" --auto --scale 2x2 --primary
fi

Collapsible Tips & Warnings

29 October, 2025

Building Android from Source (AOSP 15) on Lenovo ThinkBook 16p G5 IRX

🚀 Building Android from Source (AOSP 15) on Lenovo ThinkBook 16p G5 IRX

Author: Porfy Vidal
Platform: Ubuntu 22.04 LTS
Target: AOSP 15 (Vanilla Ice Cream, Cuttlefish Emulator)


🧩 1. System Overview

After multiple rebuilds and optimizations, this guide shows the complete setup for a working AOSP 15 development environment on the Lenovo ThinkBook 16p G5 IRX with Ubuntu 22.04.

Key goals:

  • Compile AOSP 15 from source
  • Run Cuttlefish emulator (x86_64 phone)
  • Enable ADB access and app installation
  • Automate system maintenance tasks

⚙️ 2. Preparing Ubuntu 22.04

Install the essentials and developer tools:

sudo apt update && sudo apt install -y \

  openjdk-17-jdk python3 git-core gnupg flex bison gperf build-essential \

  zip curl zlib1g-dev libc6-dev libncurses5-dev libncurses5 \

  x11proto-core-dev libx11-dev libgl1-mesa-dev libxml2-utils xsltproc unzip \

  fontconfig repo ccache

Optional (but useful) developer tools:

sudo apt install -y htop nvtop iotop baobab gnome-disk-utility gparted \

  vim nano gnome-tweaks filezilla qbittorrent chrome-gnome-shell


🧰 3. Set Up the AOSP Source Tree

mkdir ~/aosp15

cd ~/aosp15

repo init -u https://android.googlesource.com/platform/manifest -b aosp-main

To sync specific components only (faster iteration):

repo sync -j1 --fail-fast external/ComputeLibrary external/apache-harmony \

external/aws-sdk-java-v2 prebuilts/remoteexecution-client prebuilts/tools

Expected output:

repo sync has finished successfully.


🧱 4. Build Configuration

cd ~/aosp15

source build/envsetup.sh

Choose the target build:

lunch aosp_cf_x86_64_phone-trunk_staging-userdebug


🖥️ 5. Installing Cuttlefish Emulator Packages

Download the following from the official AOSP Cuttlefish build server:

cvd-host_package.tar.gz

aosp_cf_x86_64_only_phone-img-14253210.zip

Extract them:

mkdir ~/cuttlefish

tar -xzf ~/Downloads/cvd-host_package.tar.gz -C ~/cuttlefish

unzip ~/Downloads/aosp_cf_x86_64_only_phone-img-14253210.zip -d ~/cuttlefish

Verify images exist:

ls ~/cuttlefish | grep img

You should see:

boot.img

init_boot.img

super.img

userdata.img

vendor_boot.img

...


🧪 6. Launching the Emulator

cd ~/cuttlefish/bin

./launch_cvd

Once launched, check ADB connectivity:

adb devices

Expected:

List of devices attached

0.0.0.0:6520	device

Open an interactive shell:

adb shell


📦 7. Installing Apps via ADB

To install an APK:

adb install MyApp.apk

For .xapk packages:

  1. Unzip the .xapk.
  2. Find the contained .apk file.
  3. Install it:
adb install app.apk


🧼 8. System Maintenance Automation

Create /usr/local/bin/sysrefresh to automate updates and cleanup:

#!/bin/bash

echo "============================================="

echo "🕒 System refresh started at: $(date)"

echo "============================================="



echo "🔄 Checking for package updates..."

UPDATES=$(apt list --upgradable 2>/dev/null | grep -v Listing | wc -l)

if [ "$UPDATES" -eq 0 ]; then

  echo "☑️  No updates were needed. System is already up to date."

else

  echo "🛠️  Installing updates..."

  sudo apt update && sudo apt upgrade -y

fi



echo "🧹 Performing cleanup..."

sudo apt autoremove -y

sudo apt autoclean -y



echo "🧠 Disk space usage summary:"

df -h | grep -E '^/dev/nvme|Filesystem'

echo "---------------------------------------------"

echo "✅ Last refresh completed: $(date)"

echo "---------------------------------------------"

echo "🟢 sysrefresh complete."

Make it executable:

sudo chmod +x /usr/local/bin/sysrefresh

Run it any time:

sysrefresh


🖥️ 9. Display Configuration

Switching to Xorg restored full dual-monitor support.

Current setup:

  • Internal display: eDP-1 (3200×2000)
  • External monitor: HDMI-1-0 (3840×2160)

Dual display:

xrandr --output eDP-1 --primary --mode 3200x2000 --pos 0x0

xrandr --output HDMI-1-0 --mode 3840x2160 --right-of eDP-1 --scale 0.5x0.5

External only:

xrandr --output eDP-1 --off --output HDMI-1-0 --auto

Internal only:

xrandr --output HDMI-1-0 --off --output eDP-1 --auto


🧩 10. Summary of Achievements

  • ✅ AOSP 15 environment successfully built
  • ✅ Cuttlefish emulator running smoothly
  • ✅ ADB functional for app install and testing
  • ✅ Automated maintenance script (sysrefresh)
  • ✅ Dual-display working under Xorg
  • ✅ Optimized Ubuntu 22.04 for development

💡 Final Thoughts

This setup transforms the ThinkBook 16p G5 IRX into a powerful Android development workstation. While the process takes patience, once configured, the environment is stable and production-ready.

“Building Android from source isn’t just about compiling code — it’s about understanding the entire ecosystem.”


Guidance provided with the help of ChatGPT (OpenAI) 

Till then!

20 March, 2014

My bet on Java IDE

intellij-shop
intellij-shop (Photo credit: dibau_naum_h)
20-Mar-2014

I have been spending some time on learning Java (7), and I was fortunate enough to grab a copy of Jay Bryant's book, Java 7 for Absolute Beginners. There's a bit of contradiction here... I surely am a beginner in Java, but I have known C# for a decade now, and the pleasant surprise I got when I started reading the book!

The 2 programming softwares were very identical, I could say 99%, in form and substance. And of course, going through the history of how they came about, why woulnd't they be? It is just that they originated from two rival camps, but the structure and capabilities given to them, I believe were at par.

The curiosity came about while job hunting: there were many job ads that indicated the need for a Java developer, but in parenthesis, C#.NET are welcome to apply. Took me a few job ads to realize the obvious, but then again, not immediately.

You see, I shun away from Java years ago, even though I was using native C in my school days. That was due to my poor experience with UNIX, but then again, it was not a mandated skill, and when I was starting to learn UNIX, I just didn't have a nice encounter with the OS, being already exposed to DOS, which is more verbose when it comes to its commands. Then I came across BASIC, then QBASIC. This really put a wedge between me and UNIX, the power and capability of which I will never know. I simply can't 'grep' the commands, and with nobody around to guide me, it became 'awk'-ward. I mean, I can read and learn by doing when I can, but I simply didn't get that chance - which I got with DOS and BASIC.

So I was quite surprised when I finally got to learn Java; I was at home, very much at home. Even so, the abstract-ness of the two software became more familiar to me. That was good, I never skipped a page, and the things that I would have forgotten in C#, the terms, the methodologies, they were refreshed in my memory, and what's more, I am learning Java!

Now, being so at ease with Visual Studio IDE made me a bit frustrated with the IDEs that were available for Java development. I have been trying to put my hand in on Android programming, and I started with Eclipse IDE, which is too much for beginners. Just look at the list in their website, and it would be too much, so overwhelming, really. As for Android, I have also tried Android Studio, by Jet Brains.

There is also NetBeans. The feature that I was looking for in Eclipse and NetBeans is the feature that I become accustomed with in Visual Studio, two actually, namely: intellisense and auto-completion. Now, I am not saying that Eclipse and NetBeans don't have these features, but the behaviour isn't what I wanted. Eclipse would automatically add ".*;" after pressing enter. That isn't the case for NetBeans.

Oracle offers JDeveloper IDE, but sadly, you have to be really a geek to make it run: I can't even install it! I've been doing softwares since 1996, but I have chosen a motto that if anything should work, it should be easily usable, even by the dumbest person.

There are many other Java IDEs available, but one IDE I have tried and I will keep: Jet Brains' IntelliJ. Fortunately, they have the Community Edition, which is free, and while being a smaller version of the Ultimate edition, the feature is not. Of course, the intellisense and auto-completion features are very close to what you get in Visual Studio.

So now at least I have two options for Java IDE: NetBeans and IntelliJ. Both free, both having the intellisense and auto-completion features, less the irksome behaviour.

Till then!

Enhanced by Zemanta

19 February, 2014

My GT-i9103 on OmniROM vs CWM ROM

SAMSUNG GALAXY R
SAMSUNG GALAXY R (Photo credit: Monkeyy78)
I have been using  CyanogenMod ROM in my android phones for quite some time now, and perhaps I got a bit tired of it, and I started checking on the other custom ROMs.

A check on some details and features, and I was off to trying OmniROM.

To be honest, I was impressed. I am actually using it in my Samsung Galaxy Note II.

But in my Galary Royale unit, it wasn't that smooth-running as in my Note 2 phone. There is one big problem that I actually found out - and only until 2 days ago - I confirmed where it was coming from.

OmniROM causes my Galary R phone not be to recognized by my laptop. And that is some major problem to me. While the unit isn't sporting some fancy features, this problem of 'unrecognized device' occurred at some critical time: just when I was starting on my self-study of Android mobile device programming.

And I thought it was the USB driver that was the issue. Or the unit itself.

Until I tried to look for Android 4.4 from CWM.

Since the unit isn't recognized, I had to disassemble the cover and the battery out in order to remove the SD card, so I can plug it in to another adapter, insert it into my SD card slot, and copy over the zip files.

And rightly so, after flashing my Galaxy R with a CWM customer ROM, it was immediately identified by my laptop. I didn't have to verify this 'restored' USB recognition with another laptop.

At any rate, I still run into some quirky problems. Yes, quirky.

With OmniROM, I am able to get the keyboard (AOSP) up and running. That doesn't work in CWM ROM. So while I am able to get the device recognized by the PC, I am not able to get google apps working, since I cannot connect to WiFi, or enter my user credentials.

Until I again found out that my CWM ROM 4.4.x must go with the GApps 4.4.x version. I was simply 'forcing' the one I already have, JB GApps 4.3.x, to work with the new CWM 4.4.x ROM.

After several tries, and confirming that CWM ROM gets my Galary R recognized by my PC, I looked for the rightful mate, GApps 4.4.x. I did another flashing, and this time, using the two 4.4.x versions, and voila!

The unit is recognized by my laptop, and at the same time, my Google account I can enter, and my apps all restored, and all.

This is my experience, so it doesn't mean it applies to all... but then again, I believe it is not an isolated incident.

Till then!

Enhanced by Zemanta

Font Editor - one that suited my need

FontCreator
FontCreator (Photo credit: TZA)
19-Feb-2014

This will be my first article for 2014, and it will be a short one.

I have been working on m Android programming self-study, and part of that is to adjust the font size, both horizontally and vertically, for each Android device.

I am specifically working on the Samsung Galaxy Note 2 device, and I like 3 fonts, namely: Advent, Hattori Hanzo and Yanone Kaffeesatz. These gave me the squarish look and the neatness that I so desired, specially when the font size gets smaller.

Of course, I did a number of Google searching, and I came up with 3, but ended to testing 2 only: FontCreator and Fontographer.

Fontographer can't open the C:\Windows\Fonts folder, however I tweaked the privileges in the program shortcut, and that is not a problem with FontCreator, so it became easy for me to start working and trying FontCreator.

I found that it gave you full control of the dimensions, kerning, etc., to name a few controls or dimensions usually set, reset, fine-tuned and finalized when creating fonts, but later on, some errors came up - one that I can't do anything anymore, even after troubleshooting and searching the web for corrections and/or related issues and the resolutions.

Nada.

And that is some undefined script tags.

Nothing really came up.

At this juncture, I turned to the other application: Fontographer.

And I think at this time, I began using this program taking the right steps: consulting the manual. Or to honestly say, I went straight to what I wanted to do - adjust the font size.

I found that section in the manual, and while it is for Mac, the instruction is the same, with only the machine-based commands being different.

It was easy to follow, so a few mouse clicks, a number of dialog boxes opened, and I was able to try, try again, and finally to do it correctly.

A few tries after that, and a number of font installation in the Android device, and testing of various apps, I was done!

So while FontCreator gave me control, Fontographer gave me a quick and easy way of doing what I wanted, without even bothering about the numbers.

C'est tout!

Enhanced by Zemanta

28 March, 2013

GT-9103: SD Card Is Damaged!

Image representing Android as depicted in Crun...
Image via CrunchBase
28-Mar-13


I have a few items to write on, but I believe this one is quite urgent.

Two weeks ago, I sort of “tampered” once again my already-quiet Samsung Galaxy R. I searched for the latest Android custom ROM, which is 4.2.2. I found the one that is offered by Paranoid Android. I actually managed to flash that one properly, both the kernel and the Google Apps. These are the files: i9103-3.00-16FEB2013-192725.zip and gapps-full-4.2-20130308.zip. These are coming from Paranoid Android.

Of course, things don’t end there.

When I was installing those root apps, I came to the SuperUser app, and to my mistake, I selected the wrong option, when I was offered something like “usually for HTC phone”, and that broke my phone’s SD card.

A lot of apps don’t work after that: Camera, Wallpaper Changer, etc. I found that many things are so much dependent on the internal SD card. Anyway, I already have the other phone, my GT-I3100, so the impact isn’t that much.

Still, I can’t rest assured. I’m not convinced that nothing can be done with the “broken” SD card. Nonetheless, I am one step short of bringing that old phone, although unused, to Samsung Service Center.

I did try and try and try to re-flash the ROM, so that by any chance, re-installing SuperUser app, if I tap the ‘correct’ button, the SD card may get fixed all by itself.

Furthermore, within the last week, I noticed that my phone is showing some “inversion” in the display, like the upper diagonal half (top left to bottom right) getting inverted. The time showing 10:50 is upside down. Imagine that!

Bad becoming worse. Really no fix, I thought. I searched the web for help on the ‘Damaged SD Card’, and although it was consistently mentioned in the articles that I found not to do format, I still tapped on the ‘Format’ button in the suggested fix by the apps that identified the SD card as damaged. I was wondering, the one who developed the App isn’t the one who wrote the articles…?

Then my insatiable curiosity got me.

I said, there could be something offered by CM, the same 4.2.2 kernel, for my GT-i9103. So yesterday, I searched the web. Something came up. There were 2, actually. There was the kernel alone, cm-10-20121223-UNOFFICIAL-i9103.zip, and the pair: I9103DXLP6_I9103OLBLP6_XSP.zip and gapps-jb-20121011-signed.zip. Looking at the dates, I said, these are earlier released than the one from Paranoid Android. So I was asking myself, “Why didn’t I see these first?”

Anyway, I went to download the files, not knowing whether I should do flash using the standalone kernel, or the pair.

I decided to use the pair, but to be sure, in case something doesn’t work, I also copied the standalone zip file. True enough, there was an error thrown out with the pair, the main zip file. I proceeded to install the Google Apps from the zip file despite the fact that the main file didn’t install properly, and then after reboot, the phone was in a boot loop.

I now tried to install the standalone file, and it worked! Still, first reboot resulted to a boot loop.

I did another flash, and this time, using the standalone kernel file, and this went through without a problem, and the reboot also went through nicely, and when the phone came up, I entered all the necessary credentials, and the apps were installed back automatically.

But Play Store app was missing, and though I can search and “install” it using the browser, the app doesn’t show in the Apps list. It is nowhere to be found. So I thought, can I bring it up using the other half of the pair, just the Google Apps file?

And that I did. I flashed the GApps file, and after reboot, the Google Apps were in.

And guess what? The main reason for my posting this article is to say that after flashing the CM 4.2.2 kernel for my GT-i9103, the SD Card came back to life!

Also, the other reason why I would be more comfortable running CM codes is that there is a regular update, which I download and install now and then, sometimes every night (NIGHTLY builds). That is what I do with the GT-P3100 phone.

So now I have a CM custom Android 4.2.2 ROM running, with the Google Apps in, and the SD Card fully functional once again!

Hope this short post will be of help to somebody as well.

Till then!
Enhanced by Zemanta

13 March, 2013

Jelly Bean 4.2 on my Galaxy Tab 2 7.0, Rooting my wife’s Note II LTE

Samsung Galaxy Tab 2 7.0
Samsung Galaxy Tab 2 7.0 (Photo credit: phossil)
13-Mar-13


2 weeks ago, my wife got her Samsung Galaxy Note II LTE (GT-N7105) for her plan re-contract with Starhub. I would have to mention (again) that we got the Samsung Note 2 7.0 (GT-P3100) weeks before, from the yearly early re-contract privilege only available with SingTel service provider. I mean, Starhub used to offer the same perk, but this was taken out about 2 years ago. Business decision, I suppose.

Anyway, the point I wanted to make is this: now that my wife has her new phone, then I am already free to “take” the Tab for my own use. This action will leave 2 phones without lines: the iPhone 4 and the Samsung Galaxy R (GT-I9103). This would mean that our 3-year old girl would have, at any point in time, 3 phones to play with while at home, juggling between the 3 devices, until the batteries die out. She would then turn to her inanimate play things in her toy box…

2 weeks ago, it was Wednesday, and I made the decision, so I switched the SIM cards. I brought with me the Tab, but I grew restless. I knew I can do more with it. The trigger was pulled, and bang! I was searching for the ‘latest’ ROM, kernel, updates, etc. This is me, what I set my mind to do, it consumes me!

And with the internet littered with tons of pages of (sometimes useless) information, I found what I am looking for – the Jelly Bean 4.2 kernel for my new GT-P3100. Having had rooted and flashed ROMs on my Galaxy R phone, I thought to myself, “This should be a piece of cake.”

Then the dilemma came.

I started flashing the new kernel while at work, and it failed. Several times I tried, and still failed. And all the time, I would have to reset the phone to the root and kernel that works. I have a saving patch, I could say. It is well worth mentioning: the filename is “P3100XXCLL2_P3100XEFCLK1_P3100XXCLJ3_HOME.tar.md5”. And this has a very faithful partner, the rooting file: “CF-Auto-Root-espressorf-espressorfxx-gtp3100.tar.md5”. Of course, all the time, I am using Odin3-v1.85. So when the flashing fails, I resort to flashing with the ‘working’ ROM, then to rooting the phone.

And the whole day of Wednesday, I was flashing, until I got home, and even late at night, till midnight, I was flashing. Still fails. The time I came home from office, my girl did as she would always do before: ask for my phone, so she can play with it. Well, I had to admit my failure, so I quietly told her, “It’s not working.” And showing her the black, blank screen, she took my word for it and went on her way.

Thursday came, I since I didn’t have a working phone, I told my wife that I’d ‘borrow’ the old Galaxy R phone while I am ‘fixing’ the Galaxy Tab 2 7.0 unit. I got 2 units with me when I went to work.

Having had no luck the day before, I decided to try something else, and since it is something that I really wanted to try out, I searched for ROM kernels that will offer over-clocking and under-clocking – of course, with Jelly Bean 4.2 as the base item. I could say I’m becoming overly-zealous, am I? Sure enough, I found some, till I settled with one that makes a high-pitched offer, which I took, like a fish swallowing the hook, line and sinker. I was getting too ambitious, I suppose.

And even this one failed. The whole day of Thursday, I repeatedly tried, of course, each time, my saving pair of working kernel and rooter would help me get back to my feet each time my Android phone falls. I ended the day with all attempts ending in failure.

Friday, learning from the past 2 days, I searched, and only then I realized, that the Wednesday flashing was using an ‘incompatible’ file – and not that I am blind to it. Galaxy Tab 2 7.0 were of 2 kinds, basically: one is GT-p3100 (3G + WiFi), and the other, GT-P3110 (WiFi only). And there is one more: GT-P3113. What I was using was one specifically meant for the GT-P3110, while my unit is the GT-P3100. Of course, I went with this because some guy in the forum said that “it should be okay,” reading from some other user’s query of using that particular file for flashing.

As for the over-clocked module, it was already highlighted in the XDA pages that it was not verified, and you would do it with caution; a caveat. Of course I failed, and I learned from it.

It was already about lunchtime when I found one file that may be the answer. And it is complicated by the fact that I have to download it, and then later on, to try and flash my device.

The download finished about half past 4pm, and that left me with no more time to try anything, so I just run my saving pair, flashing my device with the working kernel, and then I got it rooted. All that’s needed is to try the newly-downloaded kernel.

When I arrived home, I restrained myself by going through the usual things when coming home. So after simmering down, I set up my laptop, booted it up, and then let it idle for a short while. I took the USB cable, held the device and pressed Volume Up and Power buttons simultaneously, I activated CWM Recovery, then selected install from zip file.

Did that installation work? You bet!

One shot. That’s all that was needed to install the new ROM, and to my pleasant surprise, the Android version is 4.2.2 – the latest!

And to attribute to the developers all the praise due them, I found it from the XDA forums. The file name is “cm-10.1-20130308-NIGHTLY-p3100.zip”, with the other file, “gapps-jb-20121212-signed.zip”, both installing without fail.

So now my Galaxy Tab 2 7.0 GT-P3100 unit is fully functional with Jelly Bean 4.2.2 installed.

-----

The other phone, the GT-N7105, since there wasn’t any issue I encountered when I rooted, I’ll just mention the rooting file I used is this, “CF-Auto-Root-SGN2.zip”.

-----

Caution: the zip files, while they all would be tagged as WinRAR archive files, are different – some aren’t simply compressed files. But you should know that already, don't you?


Till then!
Enhanced by Zemanta