[Samsung Galaxy Grand Quattro] Arinio:
Few Interesting Files And Folders Of Galaxy Grand Quattro - Tutorial 1

Most of us already knew that there are numerous Android Software available in the market and among them we favour System Tweaks related software and software which give us lot of information about the device.

As for example we prefer to use Memory Optimising Software, Battery Usage Monitoring Software and Software which inform us about CPU Usage, System Status etc.

Question is from where these software gather information!

In this tutorial we will watch few files and folders of our Grand Quattro and then we can understand what-is-what.

Users can venture more files and folders to increase their knowledge bank.

So let us start our venturing.

After connecting the phone we start with:

arinio@ubuntu:~$ adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

1fd***** device

arinio@ubuntu:~$ adb shell

shell@android:/ $ su -

root@android:/ # cd /cache/recovery

root@android:/cache/recovery # cat last_log

P { margin-bottom: 0.08in; direction: ltr; widows: 2; orphans: 2; } [FONT=Consolas, serif][FONT=Courier New, serif]Checksum confirmation -> check(0) [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]Do NOT need checksum confirmation[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]Not need checksum confirmation[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]already executed!!...[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]signing_no_need_checksum :: write checksum result[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]signing_no_need_checksum :: write checksum done[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]Starting recovery on Thu Nov 21 15:40:45 2013[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif][initialize ui and event][/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]pixel format -> GGL_PIXEL_FORMAT_RGB_565[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]framebuffer: fd 4 (480 x 800)[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif][collecting table information][/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]recovery filesystem table[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]=========================[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]0 '/tmp' 'ramdisk' '(null)' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]1 '/boot' 'emmc' '/dev/block/mmcblk0p8' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]2 '/system' 'ext4' '/dev/block/mmcblk0p21' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]3 '/data' 'ext4' '/dev/block/mmcblk0p24' '(null)' -16384[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]4 '/cache' 'ext4' '/dev/block/mmcblk0p22' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]5 '/recovery' 'emmc' '/dev/block/mmcblk0p13' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]6 '/efs' 'ext4' '/dev/block/mmcblk0p16' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]7 '/modem' 'emmc' '/dev/block/mmcblk0p3' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]8 '/preload' 'ext4' '/dev/block/mmcblk0p23' '(null)' 0[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif][initialize init-recovery][/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#mount /system [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]stat() of /dev/block/mmcblk0p21 succeeded on try 1[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]/system sucessfully mounted[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#unmount /cache [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]/cache sucessfully unmounted[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#exec -f /system/bin/e2fsck -v -y /dev/block/mmcblk0p22 [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]e2fsck 1.42.6 (21-Sep-2012)[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]/dev/block/mmcblk0p22: clean, 13/46080 files, 17860/184320 blocks[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#insmod -f -v /system/lib/modules/exfat_core.ko [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: insmod_main: /system/lib/modules/exfat_core.ko[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: insmod_main: 1[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: __out_return: _do_insmod :: can't open '/system/lib/modules/exfat_core.ko' (No such file or directory)[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#insmod -f -v /system/lib/modules/exfat_fs.ko [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: insmod_main: /system/lib/modules/exfat_fs.ko[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: insmod_main: 1[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]trace: __out_return: _do_insmod :: can't open '/system/lib/modules/exfat_fs.ko' (No such file or directory)[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#mount /cache [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]stat() of /dev/block/mmcblk0p22 succeeded on try 1[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]/cache sucessfully mounted[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]#ls /cache/recovery/ [/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]-rw-r--r-- root root 78 2013-09-27 06:26 command[/FONT][/FONT]

[FONT=Consolas, serif][FONT=Courier New, serif]-rw-r--r-- root root 48689215 2013-09-27 06:26 sec_csc.zip[/FONT][/FONT]

.

.

.

.

.

The output takes more than twenty pages of libreOffice Writer!

Next we will venture the /data partition.

root@android:/data # ls -al /data

-rw------- system system 2 2013-12-12 01:53 .ccode.info

srwx------ system system 2013-12-12 01:52 .npswifi_stream

srwx------ system system 2013-12-12 01:52 .pcsync_stream

-rw-rw---- system root 1 2013-12-12 01:52 .psm.info

srwx------ system system 2013-12-12 01:52 .socket_stream

drwxrwx--x system system 2013-12-12 01:17 app

drwx------ root root 2013-11-21 20:51 app-asec

drwxrwx--x system system 2013-11-21 20:51 app-private

drwx------ system system 2013-11-21 20:52 backup

srwxrwx--- camera camera 2013-12-02 19:24 cam_socket0

srwxrwx--- camera camera 2013-12-02 19:24 cam_socket1

drwxrwxr-x system system 2013-11-21 20:52 clipboard

drwxrwx--x system system 2013-12-12 01:17 dalvik-cache

drwxrwx--x system system 2013-12-12 01:17 data

drwxr-x--- root log 2013-11-21 20:51 dontpanic

drwxrwx--- drm drm 2013-11-21 20:53 drm

drwxrwx--x system system 2013-11-21 20:51 fota

-rwx------ system system 8 2013-12-13 18:40 hidden_volume.txt

drwxr-x--x root root 2013-11-21 20:51 local

drwxrwxr-x system log 2013-12-13 18:40 log

drwxrwx--- root root 1970-01-01 05:30 lost+found

drwxrwxr-x media_rw media_rw 2013-12-13 19:13 media

drwxrwx--t system misc 2013-12-12 01:52 misc

drwxrwx--- system system 2013-11-21 20:52 monitor

drwx------ root root 2013-12-13 19:23 property

drwxrwx--x system system 2013-11-21 20:51 resource-cache

drwxr-xr-x system system 2013-11-21 20:51 shared

drwxr-x--- root shell 2013-11-21 20:51 ssh

drwxrwx--x system system 2013-12-13 19:17 system

drwx------ system system 2013-11-21 20:51 time

drwxrwxr-x system system 2013-11-21 20:51 tmp

drwx------ system system 2013-12-12 01:23 tombstones

drwx--x--x system system 2013-11-21 20:51 user

drwxr-xr-x gps qcom_oncrpc 2013-11-21 20:51 wiper

drwxr-xr-x shell root 2013-11-21 20:51 wpstiles

Why not see through inside the app directory.

So,

root@android:/data # cd app

root@android:/data/app # ls

com.concretesoftware.ginrummy_google-1.apk

com.concretesoftware.hearts_demobuynow-1.apk

com.eightsoft.galaxys4balloon-1.apk

com.mxtech.videoplayer.pro-1.apk

com.speedsoftware.rootexplorer-1.apk

net.hasnath.android.keyboard-1.apk

syamu.bangla.sharada-1.apk

Oh, these are software,games and live wallpaper installed by myself.

Now let us watch /data/dalvik-cache/

root@android:/data/app # cd ../dalvik-cache/

root@android:/data/dalvik-cache # ls

data@app@com.concretesoftware.ginrummy_google-1.apk@classes.dex

data@app@com.concretesoftware.hearts_demobuynow-1.apk@classes.dex

data@app@com.eightsoft.galaxys4balloon-1.apk@classes.dex

data@app@com.mxtech.videoplayer.pro-1.apk@classes.dex

data@app@com.speedsoftware.rootexplorer-1.apk@classes.dex

data@app@net.hasnath.android.keyboard-1.apk@classes.dex

data@app@syamu.bangla.sharada-1.apk@classes.dex

system@app@AllSharePlay.apk@classes.dex

system@app@Books.apk@classes.dex

system@app@CapabilityManagerService.apk@classes.dex

system@app@ChatON_MARKET.apk@classes.dex

system@app@ChocoEUKor.apk@classes.dex

system@app@ChromeBookmarksSyncAdapter.apk@classes.dex

system@app@ChromeWithBrowser.apk@classes.dex

system@app@CoolEUKor.apk@classes.dex

system@app@FaceLock.apk@classes.dex

system@app@FactoryTest.apk@classes.dex

system@app@GMS_Maps.apk@classes.dex

system@app@Gmail.apk@classes.dex

system@app@GmsCore.apk@classes.dex

system@app@GoogleBackupTransport.apk@classes.dex

system@app@GoogleCalendarSyncAdapter.apk@classes.dex

system@app@GoogleContactsSyncAdapter.apk@classes.dex

system@app@GoogleFeedback.apk@classes.dex

system@app@GoogleLoginService.apk@classes.dex

system@app@GooglePartnerSetup.apk@classes.dex

system@app@GoogleServicesFramework.apk@classes.dex

system@app@GoogleTTS.apk@classes.dex

system@app@GroupCast.apk@classes.dex

system@app@Hangouts.apk@classes.dex

system@app@Hearingdro.apk@classes.dex

system@app@HelvNeueLT.apk@classes.dex

system@app@INDI_Server.apk@classes.dex

system@app@Keystring_DFT.apk@classes.dex

system@app@Keystring_factory.apk@classes.dex

system@app@Keystring_misc.apk@classes.dex

system@app@Lcdtest.apk@classes.dex

system@app@MediaUploader.apk@classes.dex

system@app@NetworkLocation.apk@classes.dex

system@app@PCWClientS.apk@classes.dex

system@app@Phonesky.apk@classes.dex

system@app@PlayGames.apk@classes.dex

system@app@PlusOne.apk@classes.dex

system@app@PolarisViewer.apk@classes.dex

system@app@PrivInit.apk@classes.dex

system@app@RoseEUKor.apk@classes.dex

system@app@SNS.apk@classes.dex

system@app@SPPPushClient_Prod.apk@classes.dex

system@app@SamsungApps.apk@classes.dex

system@app@SamsungAppsUNA3.apk@classes.dex

system@app@SamsungIndiaIME.apk@classes.dex

system@app@SamsungTTS.apk@classes.dex

system@app@Samsungservice.apk@classes.dex

system@app@SecFactoryPhoneTest.apk@classes.dex

system@app@SelfTestMode.apk@classes.dex

system@app@SetupWizard.apk@classes.dex

system@app@Street.apk@classes.dex

system@app@Superuser.apk@classes.dex

system@app@SysScope.apk@classes.dex

system@app@TrimApp_phone.apk@classes.dex

system@app@Velvet.apk@classes.dex

system@app@Videos.apk@classes.dex

system@app@VoiceSearchStub.apk@classes.dex

system@app@YouTube.apk@classes.dex

system@app@sCloudBackupApp.apk@classes.dex

system@app@sCloudBackupProvider.apk@classes.dex

system@app@sCloudDataRelay.apk@classes.dex

system@app@sCloudDataSync.apk@classes.dex

system@app@sCloudSyncBrowser.apk@classes.dex

system@app@sCloudSyncCalendar.apk@classes.dex

system@app@sCloudSyncContacts.apk@classes.dex

system@app@serviceModeApp.apk@classes.dex

system@app@talkback.apk@classes.dex

system@framework@browsermanagement.jar@classes.dex

system@framework@com.google.android.maps.jar@classes.dex

system@framework@com.google.android.media.effects.jar@classes.dex

system@framework@com.quicinc.cne.jar@classes.dex

system@framework@com.samsung.device.jar@classes.dex

system@framework@modemwarmup.jar@classes.dex

It is same like the prefetch folder inside C:/Windows

Now let us watch /data/data/.drm/.playready devicefriendlyname.txt

So,

root@android:/data/dalvik-cache # cd ../

root@android:/data # cd data/.drm/.playready/

root@android:/data/data/.drm/.playready # ls

bdevcert.dat

devcert.dat

devicefriendlyname.txt

playReadyTimeDiff.dat

playready.hds

zprivencr.dat

zprivsig.dat

root@android:/data/data/.drm/.playready # cat devicefriendlyname.txt

GT-I8552

Now let watch /data/log

root@android:/data/data/.drm/.playready # ls /data/log

PreloadInstaller.txt

SecSetupWizard.txt

Status.dat

dumpstate_app_error.txt.gz

dumpstate_app_native.txt.gz

dumpstate_app_native.txt.gz.tmp

poweroff_info.txt

powerreset_info.txt

recovery_kernel_log.txt

recovery_last_kernel_log.txt

recovery_log.txt

Lets see the poweroff_info.txt

root@android:/data/data/.drm/.playready # cat /data/log/poweroff_info.txt

2013-11-21 20:57:27 Batt Status : Discharging, Batt Voltage : 3769000, Batt Temperature : 340,Batt Type = SDI_SDI, Batt LP Charging = ?, Batt Capacity = 54, Health = Good, Current Avg = ?

2013-12-06 18:59:47 Batt Status : Discharging, Batt Voltage : 3958000, Batt Temperature : 240,Batt Type = SDI_SDI, Batt LP Charging = ?, Batt Capacity = 80, Health = Good, Current Avg = ?

2013-12-06 19:07:30 Batt Status : Discharging, Batt Voltage : 3945000, Batt Temperature : 300,Batt Type = SDI_SDI, Batt LP Charging = ?, Batt Capacity = 78, Health = Good, Current Avg = ?

Next we will watch /data/media

So,

root@android:/data/data/.drm/.playready # ls -al /data/media

drwxrwxr-x media_rw media_rw 2013-12-10 20:44 .PolarisViewer4

drwxrwxr-x media_rw media_rw 2013-11-25 14:01 .adc

drwxrwxr-x media_rw media_rw 2013-12-01 10:49 .clipboard

drwxrwxr-x media_rw media_rw 2013-12-02 20:08 .face

drwxrwxr-x media_rw media_rw 2013-11-21 21:40 .mmsyscache

drwxrwxr-x media_rw media_rw 2013-12-03 19:38 Android

drwxrwxr-x media_rw media_rw 2013-12-13 18:40 Playlists

drwxrwxr-x media_rw media_rw 2013-11-21 20:53 Ringtones

This is our Internal SdCard!

Now why not /data/system

root@android:/data/data/.drm/.playready # ls -al /data/system

drwx------ system system 2013-12-12 01:15 .cmanager

-rw-r----- system system 334 2013-12-12 01:53 SimCard.dat

-rw------- system system 25580 2013-12-13 19:47 batterystats.bin

drwxrwx--x system system 2013-12-09 16:59 cache

-rw------- system system 468 2013-11-21 20:52 called_pre_boots.dat

drwxrwx--x system system 2013-11-21 20:53 databases

-rw-rw---- system system 24576 2013-12-13 19:53 dmappmgr.db

-rw------- system system 12824 2013-12-12 06:45 dmappmgr.db-journal

drwx------ system system 2013-12-13 19:37 dropbox

drwx------ system system 2013-11-21 20:52 enterprise

-rw-rw---- system system 339968 2013-12-12 01:52 enterprise.db

-rw-rw-rw- system system 32768 2013-12-12 01:53 enterprise.db-shm

-rw-rw-rw- system system 49472 2013-12-12 01:53 enterprise.db-wal

-rw------- system system 53 2013-11-21 20:52 enterprise_cacerts.bks

-rw------- system system 53 2013-12-12 01:53 enterprise_nativecerts.bks

-rw------- system system 53 2013-11-21 20:52 enterprise_untrustedcerts.bks

-rw------- system system 53 2013-12-12 01:53 enterprise_usercerts.bks

-rw------- system system 4096 2013-12-13 19:17 entropy.dat

drwx------ system system 2013-11-21 20:54 inputmethod

-rw------- drm system 136 2013-11-21 20:53 kb.bin

-rw-rw---- system system 20480 2013-12-12 01:53 locksettings.db

-rw-rw---- system system 32768 2013-12-12 01:53 locksettings.db-shm

-rw-rw---- system system 0 2013-12-12 01:53 locksettings.db-wal

-rw------- system system 355 2013-12-12 01:15 netpolicy.xml

drwx------ system system 2013-12-11 21:29 netstats

-rw-rw---- system system 186100 2013-12-12 01:52 packages-more-backup.xml

-rw-rw---- system system 11844 2013-12-12 01:52 packages.list

-rw-rw---- system system 186100 2013-12-12 01:52 packages.xml

drwxrwx--x system system 2013-11-21 20:51 registered_services

drwxrwx--x system system 2013-12-12 01:23 shared_prefs

drwx------ system system 2013-12-12 01:53 sync

drwx------ system system 2013-11-21 20:54 throttle

-rwxrwxr-- system system 144 2013-11-21 21:11 uiderrors.txt

drwx------ system system 2013-12-13 19:53 usagestats

drwxrwxr-x system system 2013-11-21 20:51 users

drwxrwxr-x media_rw media_rw 2013-11-21 20:50 Samsung

drwxrwxr-x media_rw media_rw 2013-12-13 01:54 download

drwxrwxr-x media_rw media_rw 2013-12-12 23:01 romsu

Next let us watch /data/system/SYSTEM_BOOT@1386791680470.TXT

root@android:/data/data/.drm/.playready # cat /data/system/SYSTEM_BOOT@1386791680470.TXT

Build: samsung/delos3gxx/delos3geur:4.1.2/JZO54K/I8552XXAMJ7:user/release-keys

Hardware: MSM8225

Bootloader: I8552XXAMDB

Radio: unknown

Kernel: Linux version 3.4.0-1441994 (se.infra@SEP-67) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Oct 29 13:28:51 KST 2013

Now we will venture another folder i.e. the /dev folder.

Lets observe the /dev/block folder.

So,

arinio@ubuntu:~$ adb shell

shell@android:/ $ su -

root@android:/ # cd /dev/block

root@android:/dev/block # ls

loop0

loop1

loop2

loop3

loop4

loop5

loop6

loop7

mmcblk0

mmcblk0p1

mmcblk0p10

mmcblk0p11

mmcblk0p12

mmcblk0p13

mmcblk0p14

mmcblk0p15

mmcblk0p16

mmcblk0p17

mmcblk0p18

mmcblk0p19

mmcblk0p2

mmcblk0p20

mmcblk0p21

mmcblk0p22

mmcblk0p23

mmcblk0p24

mmcblk0p3

mmcblk0p4

mmcblk0p5

mmcblk0p6

mmcblk0p7

mmcblk0p8

mmcblk0p9

mmcblk1

mmcblk1p1

param

platform

vold

We can also view this folder in details:

root@android:/dev/block # ls -al

brw------- root root 7, 0 2013-12-12 01:52 loop0

brw------- root root 7, 1 2013-12-12 01:52 loop1

brw------- root root 7, 2 2013-12-12 01:52 loop2

brw------- root root 7, 3 2013-12-12 01:52 loop3

brw------- root root 7, 4 2013-12-12 01:52 loop4

brw------- root root 7, 5 2013-12-12 01:52 loop5

brw------- root root 7, 6 2013-12-12 01:52 loop6

brw------- root root 7, 7 2013-12-12 01:52 loop7

brw------- root root 179, 0 2013-12-12 01:52 mmcblk0

brw------- root root 179, 1 2013-12-12 01:52 mmcblk0p1

brw------- root root 179, 10 2013-12-14 18:28 mmcblk0p10

brw------- root root 179, 11 2013-12-12 01:52 mmcblk0p11

brw------- root root 179, 12 2013-12-12 01:52 mmcblk0p12

brw------- root root 179, 13 2013-12-12 01:52 mmcblk0p13

brw-rw---- system system 179, 14 2013-12-12 01:53 mmcblk0p14

brw------- root root 179, 15 2013-12-12 01:52 mmcblk0p15

brw------- root root 179, 16 2013-12-12 01:52 mmcblk0p16

brw------- root root 179, 17 2013-12-12 01:52 mmcblk0p17

brw------- root root 179, 18 2013-12-12 01:52 mmcblk0p18

brw------- root root 179, 19 2013-12-12 01:52 mmcblk0p19

brw------- root root 179, 2 2013-12-12 01:52 mmcblk0p2

brw------- root root 179, 20 2013-12-12 01:52 mmcblk0p20

brw------- root root 179, 21 2013-12-12 01:52 mmcblk0p21

brw------- root root 179, 22 2013-12-12 01:52 mmcblk0p22

brw------- root root 179, 23 2013-12-12 01:52 mmcblk0p23

brw------- root root 179, 24 2013-12-12 01:52 mmcblk0p24

brw------- root root 179, 3 2013-12-12 01:52 mmcblk0p3

brw------- root root 179, 4 2013-12-12 01:52 mmcblk0p4

brw------- root root 179, 5 2013-12-12 01:52 mmcblk0p5

brw------- root root 179, 6 2013-12-12 01:52 mmcblk0p6

brw------- root root 179, 7 2013-12-12 01:52 mmcblk0p7

brw------- root root 179, 8 2013-12-12 01:52 mmcblk0p8

brw------- root root 179, 9 2013-12-14 16:57 mmcblk0p9

brw------- root root 179, 32 2013-12-12 01:52 mmcblk1

brw------- root root 179, 33 2013-12-12 01:52 mmcblk1p1

lrwxrwxrwx root root 2013-12-12 01:52 param -> /dev/block/mmcblk0p14

drwxr-xr-x root root 2013-12-12 01:52 platform

drwx------ root root 2013-12-12 01:52 vold

Now let us observe /dev/block/vold

root@android:/dev/block # ls /dev/block/vold/

179:32

179:33