Yu Yureka can now be updated with the latest version of custom Lollipop
update, thanks to the release of Android 5.1 based CyanogenMod 12.1 ROM
from the industrious XDA Developer, varun.chitre15.
The new CM12.1 ROM follows the recent release of Cyanogen OS 12S update (click
link to see tutorial) for the flagship handset and it is mandatory to
ensure that your smartphone is already running the Cyanogen OS 12S
update, before you start flashing the CM12.1 ROM on the handset. Android 5.1 CyanogenMod 12.1 ROM hits Micromax Yu Yureka: How to installXDA Developers
Interested users may browse for the original CyanogenMod source code via github and also find the necessary Yu Yureka kernel source code for CM12 ROM here.
The Android 5.1 CyanogenMod 12.1 ROM can be installed either via TWRP
or ClockworkMod (CWM) recovery, using the step-by-step guide posted
below. XDA DevelopersIBTimes UK reminds readers it will not be held
liable for any damage to device during or after the Android 5.1 Lollipop
firmware installation. Users are advised to proceed at their own risk. Pre-requisites
The instructions given in this guide are meant for the European variant of MicromaxYu Yureka only. Verify device model number by navigating to Settings > About Phone.
Ensure the phone has at least 80% battery charge to prevent unexpected device shutdown (due to battery drain) while installing the ROM.
Back up data and settings using a recommended
custom recovery tool, like ClockworkMod (CWM) or TWRP, as it creates a
complete image of the existing phone setup. In Recovery, choose Backup
and Restore and tap Backup.
Enable USB Debugging mode via Settings > Developer Options (if
running Android 4.0 or above) or Settings > Applications
> Development (if running Android 2.3 or earlier).
Ensure that the device is rooted with CWM recovery installed and its bootloader is unlocked.
Downloads Required Android 5.1 CyanogenMod 12.1 ROM for Micromax Yu Yureka Google Apps Steps to Install Android 5.1 Lollipop on Micromax Yu Yureka via CyanogenMod 12.1 ROM Step 1 - Download Android 5.1 CyanogenMod 12.1 custom ROM for OnePlus One on the computer. Step 2 - Connect and mount the phone's USB mass storage on computer with USB cable. Step 3 - Now, copy the downloaded CM12.1 ROM zip file to the root folder on the phone's SD card. Step 4 - Power off the phone and disconnect its USB cable from computer. Step 5 - Boot the device into Recovery Mode by pressing and holding Volume Up, Volume Down and Power buttons together for around 7 to 8 seconds. Step 6 - Once the phone enters CWM Recovery, perform a full data wipe task by clicking Wipe Data/Factory Reset. Use the Volume keys to navigate between options and Power button to select an option in the Recovery Mode. Step 7 - Perform Wipe Cache Partition and wait until the process completes. Step 8 - Perform Wipe Dalvik Cache as well. To do this, go to 'advanced' option and then click Wipe Dalvik Cache. This will help in preventing boot loop issues or any boot ROM related errors during firmware installation. Step 9 - Then return to the main recovery menu and choose Install Zip from SD card. Step 10 - Click Choose Zip from SD card. Use volume keys to navigate to the CM12.1 ROM zip file that you copied earlier to your phone's SD card and choose it by tapping the Power button. Confirm the ROM installation on next screen and the installation process will begin. Note: Repeat Step 9 and Step 10 to install Google Apps (Gapps) as well. Step 11 - Once the ROM and Gapps installation completes, go to "+++++Go Back+++++" and select Reboot System Now in the Recovery menu.
The phone will now reboot and the first boot may take about five minutes to complete. So, please be patient.
Your Yu Yureka is now running the latest Android 5.1 Lollipop via
CyanogenMod 12.1 custom ROM. Go to Settings > About phone to verify
the firmware version installed.
How to Decompile and Recompile Apk(anroid Application ) by using Apktool
REQUIREMENTS:
1. Basic Terminal Knowledge
2. Java JRE here
3. 7zip here
4. Notepad++ here
5. Apktool & Baksmali/Smali + Signer for all GB/ICS/JB ROM v2 here
::::Extract Apktool to folder directory::::
Windows XP: C:\Document and Settings
\your computer name\here
Windows 7: C:\Users\your computer name\here
1. Copy and paste framework-res.apk to apktool folder
2. Copy and paste Apk you want to edit to apktool folder.
For example: Settings.apk
3. Now Open Command Prompt.bat (CMD)
[Install framework-res.apk and Decompile apk] Code: apktool if framework-res.apk [Press Enter] apktool d Settings.apk [Press Enter]
4. Now you will see a decompiled folder with a name Settings
5. Now you can start editing png, xml, smali file etc..
6. After editing is complete, Now Recompile it.. Code: apktool b Settings [Press Enter]
7. After Recompile is complete, go to
Settings folder, Open dist folder and open Settings.apk
by using 7zip
8. Open Original Settings.apk which is on the apktool folder by using 7zip
9. Now Drag & Drop META-INF folder and AndroidManifest.xml from Original Apk to Modded Apk which is on the dist folder.
10. Finally, push back your Modded Apk into the system/app or push manually by using Root Explorer/Root Browser or make a Flashable Zip.
in post, I will be discussing about using , AudioManager Class in
Android applications.
with AudioManager Class provides access to volume and
ringer mode control which was added in API level
I wrote separate post about using AudioManager in getting and setting
the current device’s volume (Media player, , Notification etc)
long back.
But in this post, I am going to discuss about using AudioManager in
getting and setting the ringer mode (Silent, Vibrate and Normal). What is Seekbar?
A SeekBar is an extension of ProgressBar that adds a draggable thumb.
The user can touch the thumb and drag left or right to set the current
progress level or use the arrow keys. Usage: Seekbar can be used to adjust media player volume, set brightness of the screen, seek a playing music etc. What are we going to develop?
We will develop a simple application to demonstrate how it is used to
set Media player, Ringer, Alarm and Notification volume for your
device.
Quick Links.
Project Structure
Code Listings
Demo
Download Source Code
Project .Structure
Layout creation:
Create new android project [File >> New >> Android Project] with project name SeekBarExample
Click next and select target android device version [I chose version 2.2]
Click next and enter package name – ‘com.prgguru.android’
Click finish
Code Listings
Layout XML:
Open main.xml present under /res/layout folder and replace the XML with the below one.
Application layout will look like:
Change to graphical layout of Main.xml, the layout design should look like below:
Create following objects under SeekBarExampleActivity class to refer seekbars and to get audimanager:
1
2
3
4
5
privateSeekBar mediaVlmSeekBar = null;
privateSeekBar ringerVlmSeekBar = null;
privateSeekBar alarmVlmSeekBar = null;
privateSeekBar notifyVlmSeekBar = null;
privateAudioManager audioManager = null;
Suggests an audio stream whose volume should be changed by the
hardware volume controls. Add following snippet inside onCreate method
after ‘super.onCreate(savedInstanceState)’
Android Custom ListView with Images and Text Example
Creating Project:
Make sure you have properly setup the Android SDK, AVD for Testing the Application. Create a New project in Eclipse IDE with the package as “hirparagroup.customlistview”. Create the Main Activity as “MainActivity” and the main Layout as “activity_main”.
Creating Layout:
The Main layout for our project is “activity_main” which has a ListView to display the array with images.
Next step is to create a layout for the list item that is to be displayed in ListView. Create the layout as list_single.xml which has a TextView to display to the Array and a ImageView to display set of images in each list item. Here I have created the layout as TableLayout with ImageView and TextView in a Row.
Next step is to create MainActivity. Here we are defining the array “web” which is displayed as text in ListView. Next we define a array imageId to store the Image Id. The images should be placed in the location /res/drawable/. Next custom list adapter is displayed. When a list item is clicked it shows a Toast that it is clicked.