Professional Documents
Culture Documents
DAKSH JASANI 25
INTRODUCTION
ROM(Read-Only Memory) A form of data storage. This type of memory keeps the saved
data even if the device power is off. The data on the ROMcan be loaded into the RAM if
needed.
A form of data storage. This type of memory keeps the saved data even if the device
power is off. The data on the ROM can be loaded into the RAM if needed.
The word Read-Only identifies it as "read-only memory", since the reprogramming
process is generally infrequent, comparatively slow, and often does not permit random
access writes to individual memory locations.
The phone's operating system and it's backup is stored in the memory!
It is "Read only" because you just read a file in this memory (i.e. If it is a text file you can
read it and if it is a audio file then you can play it, this is readin a file.) but you can delete
it.
LITERATURE SURVEY
Many older Roms have many disadvantages and advantages.
They have included many more different softwares and
removed different softwares. Some of the ROMs have
extended their battery life also and some ROMs can drain our
battery very fast.
ROMs can only work on rooted devices and cannot run on un
rooted devices. While flashing the ROM be sure that you
create a backup of your cell or else all data will be deleted and
cannot be recovered at all.
PROPOSED PROJECT
HARDWARE REQUIREMENTS
Name
Details
Processor
RAM
1 GB and above
Hard Drive
8 GB
SOFTWARE REQUIREMENTS
Name
Details
Operating System
Andriod.
Platform
Tool
TIME REQUIRED
Sr.No
Task
No.of days
1.
Information Gathering
25
2.
Requirement Analysis
20
3.
Designing Analysis
15
4.
Coding
20
5.
Impelementation
15
6.
Testing
15
COST
Advantage:
Battery Life can be Improved.
People can make their own changes as per their requirements.
Disadvantages:
No guarantee of the phone working properly.
Phone might be Bricked.
BOOTLOADER
BOOTLOADER
ADB and Fastboot Installation
Download the full Android SDK
Extract the zip and place the android-sdk-windows folder on your desktop.
To confirm that it is indeed working, open a command prompt window and enter the
following commands:
cd Desktop/android-sdk-windows/platform-tools adb version
If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an
error saying that adb is not a recognized command, it has not been successful.
Carefully repeat the steps above if this is thecase. Close the command prompt
window when you are done.
cd Desktop/android-sdk-windows/platform-tools
4.
fastboot devices
5. This command will list the connected devices. If your phones serial number shows up you are
good to go and may continue. If the phone is NOT listed this indicates that your drivers are not
installed correctly. In order for you to continue you must fix your drivers so that your phone is
listed under fastboot devices.
6. If the phone has been recognized by the command above, proceed to unlocking the
bootloader with the following command:
Remember that this step will wipe EVERYTHING off the phone
UNLOCKING CONTINUE
8. fastboot oem unlock
9. After the above command has finished excuting, run the following
10.
fastboot reboot
11.The phone will reboot. Wait until the phone has fully booted up into android, then
adjust the following settings on the phone:
12.USB Debugging -On your phone go to Settings > About phone > Tap on Build
number 7 times. This will enable Developer options. Now go back to Settings >
Developer options > Enable USB debugging
13.Disable CM Recovery Protection -On your phone go to Settings > Developer
options. Then disable the 'Update recovery with system updates' option.
RECOVERY
InAndroiddevices,Recoveryis an Android-based, lightweight runtime
environment separate from and parallel to the mainAndroidoperating system.
Recovery's original purpose is:
1. to apply software updates to the device, e.g.OTAupdates, and
2. to erase user data and cache, e.g. for troubleshooting or preparing the device for
reset (factory reset) and
3. to run (another) external tool from microSD flash memory
. Recovery is stored in adisk partitionseparate from the main Android partitions
(boot/kernel, root/system). It contains its own Linux kernel, separate from the
kernel of the main Android system. Because of separate kernel+recovery_apps, the
device is able to boot into the recovery mode even if the main system is broken,
allowing the user a set of tools to fix the device. The recovery is completely
independent of the Android system.
ROOTING
With root access, you are able to access and modify files that would normally be
inaccessible, such as files stored on the/dataand/systempartitions. Having root
access also allows you to run an entirely different class of third-party applications
and apply deep, system-level modifications. And by proxy, you may also be able to
access certain device features that would otherwise be inaccessible or use existing
features in new ways.
Having root access isnt the end all-be all of device modification that title is usually
reserved for fully unlocked bootloaders. That said, root access is generally the
second step on your journey to device modification. As such, root access is often
used to install custom recoveries, which then can be used to flashcustom ROMs,
kernels, and other device modifications.
ROOTING ALGORITHM
1. Now that your phone has an unlocked bootloader and a custom recovery installed you have a two options to gain root:2. Flash SuperSU binaries which will give you root with the stock ROMConfirm that you have downloaded the
SuperSU zip from the downloads section above and that it is located in the platform-tools folder inside of the android-sdkwindows folder on your desktop.
3. Turn the phone off then boot into recovery mode by holding volume down + power. Leave the phone at the main screen
of the custom recovery for now.
4. Open a command prompt window and run the following commands:
5. cd Desktop/android-sdk-windows/platform-tools
6. adb push UPDATE-SuperSU-vX.XX.zip /sdcard/
7. This will copy the SuperSU zip onto your phone. Once the command has completed continue.
2.
Next, browse to the location where you previously copied the SuperSU zip and
select the it.
3.
To confirm the installation, scroll down to "Yes" and select it. The installation
shouldn't take very long, and once it has completed you may reboot.
FLOWCHART
Start
Check if
bootloader
is unlocked
Yes
No
Unlock
Bootloader
Install a Custom
Recovery
Check for
Custom
recovery by
pressing
volume up +
lockYes
buttom
Root the Device
No
Check if rooted
by looking for
SUPER SU
application in
the menu.
Yes
Reboot the
Device
Stop
No
FLASHING A ROM
1. Find a ROM and download for your device, using the appropriate XDA forum. Make sure you
download the right one for your device. Many phones have several variants. Once you have
found the ROM you want, download the .ZIP file, which is going to be 500mb up to 1.5Gb. Do
not extract it! Thenfind the corresponding GApps. If you are installing a ROM running on 4.4.2,
youll want a GApps package for 4.4.2. Save your ROM and GApps to your SD card, internal
storage, or flash drive.
2. To boot into recovery use your recovery combo buttons. If you dont know which buttons to
press, to access recovery. On most devices it isHold Vol Down + Power for 5 seconds.
3. Click on Install and select install .zip form SD card.
4. Select the .zip file from the place where you have saved the downloaded ROM.
5. Before continuing select to wipe the Dalvik Cache and Cache.
6. Then proceed to Flash.
Select Install
Confirm to Flash
DFD - LEVEL 0
USER
Co
m
an
ds
CMD
In s
tal
l
MOBILE
DFD - LEVEL 1
USER
ll
ta
s
In
Co
ds mm
an
MOBILE
ROM
CMD
Bootload
er
If Unlocked then allows the
Kern
el