DT a2sd issues - Optimus One, P500, V General

ok as dr.notor said i will open a post here with my problems
i flashed ciaox' open optimus latest version and tried numerous times to get a2sd to work, everything i try it keeps telling me the damn same thing: EXT partition not mounted. i've tried different kernels, reflashing openoptimus, partitioning through my windows pc and cwm.
here is adb shell output and logcat(i don't know exactly what part of logcat must be extracted so i will upload it all)
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\CORINA\My Documents\Downloads\android-sdk-windows\tool
s>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
sh-3.2$ su
su
sh-3.2# busybox ls -la /system/etc/init.d
busybox ls -la /system/etc/init.d
drwxrwxrwx 1 0 0 2048 Aug 16 17:52 ←[1;34m.←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:38 ←[1;34m..←[0m
-rwxrwxrwx 1 0 0 630 Aug 1 2008 ←[1;32m00banner←[0m
-rwxrwxrwx 1 0 0 642 Aug 1 2008 ←[1;32m00clock←[0m
-rwxrwxrwx 1 0 0 707 Aug 1 2008 ←[1;32m00clock~←[0m
-rwxrwxrwx 1 0 0 27 Aug 1 2008 ←[1;32m01sysctl←[0m
-rwxrwxrwx 1 0 0 1078 Aug 1 2008 ←[1;32m01zipalign←[0m
-rwxrwxrwx 1 0 0 266 Aug 1 2008 ←[1;32m02firstboot←[0m
-rwxrwxrwx 1 0 0 8177 Aug 1 2008 ←[1;32m02loopysmoothnes
stweak←[0m
-rwxrwxrwx 1 0 0 782 Aug 1 2008 ←[1;32m03ramscript←[0m
-rwxrwxrwx 1 0 0 199 Aug 1 2008 ←[1;32m04sdcard←[0m
-rwxrwxrwx 1 0 0 250 Aug 1 2008 ←[1;32m05powerfix←[0m
-rwxrwxrwx 1 0 0 1499 Aug 1 2008 ←[1;32m1apps2sd←[0m
-rwxrwxrwx 1 0 0 86 Aug 1 2008 ←[1;32m99complete←[0m
sh-3.2# busybox ls -la /cache
busybox ls -la /cache
drwxrwx--x 1 1000 2001 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
lrwxrwxrwx 1 0 0 18 Aug 17 10:54 ←[1;36mdalvik-cache←[0m
-> ←[1;34m/data/dalvik-cache←[0m
drwxrwxrwx 1 0 0 2048 Aug 17 10:54 ←[1;34mdc←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--- 1 1000 2001 2048 Aug 16 22:08 ←[1;34mrecovery←[0m
sh-3.2# busybox ls -la /data
busybox ls -la /data
drwxrwx--x 1 1000 1000 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
-rw-rw-rw- 1 0 0 2 Aug 16 17:52 ←[0;0m.noa2sd←[0m
drwxrwxrwx 1 0 0 2048 Aug 16 17:41 ←[1;34mamit←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34manr←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mapp←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mapp-private←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:43 ←[1;34mbackup←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdalvik-cache←[0m
-rwxrwxrwx 1 0 0 202 Aug 16 22:12 ←[1;32mdalvikheap←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdata←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mdbcheck←[0m
drwxr-x--- 1 1000 1007 2048 Aug 16 18:36 ←[1;34mdontpanic←[0m
-rw-rw-rw- 1 0 0 4110 Aug 17 10:54 ←[0;0mdta2sd.lg1←[0m
-rw-rw-rw- 1 0 0 4090 Aug 17 10:54 ←[0;0mdta2sd.lg2←[0m
-rw-rw-rw- 1 0 0 3928 Aug 17 10:54 ←[0;0mdta2sd.log←[0m
-rw-rw-rw- 1 0 0 296 Aug 16 17:52 ←[0;0mdtinstall.log←[0m
prw-rw-rw- 1 1000 1000 2048 Aug 16 17:41 ←[0;35mdun←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:52 ←[1;34mjit←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 21:49 ←[1;34mlgdrm←[0m
drwxrwx--x 1 2000 2000 2048 Aug 16 17:41 ←[1;34mlocal←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mlogger←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--t 1 1000 9998 2048 Aug 16 17:41 ←[1;34mmisc←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mnv←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mnx←[0m
drwx------ 1 0 0 2048 Aug 17 10:54 ←[1;34mproperty←[0m
drwxrwx--- 1 1001 1001 2048 Aug 16 22:12 ←[1;34mradio←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mscnt←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:42 ←[1;34msecure←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 17 10:56 ←[1;34msystem←[0m
drwxr-xr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34mtombstones←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34muma←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 17:41 ←[1;34mwmdrm←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:43 ←[1;34mxt9←[0m
-rw-r--r-- 1 0 0 142 Aug 16 22:12 ←[0;0mzipalign.log←[0m
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[Γ£û] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
sh-3.2# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
sh-3.2#

0/ A usable terminal for Windows: Tera Term - download
1/ Suggestions:
What you have is called /system/etc/init.d/apps2sd? How have you installed that a2sd thing? This will not run, needs to be prefixed with digit(s) but it is extremely hard to recognize that due to the ****ty terminal output. Get a usable one above. Anyway, as an absolute minimum:
Code:
> adb shell
$ su
# mount -o remount,rw /system
# rm -f /system/etc/init.d/00clock~
# rm -f /system/etc/init.d/01zipalign
# rm -f /system/etc/init.d/03ramscript
# rm -f /system/etc/init.d/04sdcard
# mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
# a2sd reinstall
Personally would do this as well:
Code:
# rm -f /system/etc/init.d/02loopysmoothnesstweak
# rm -f /system/etc/init.d/05powerfix
# rm -f /system/etc/init.d/03ramscript
and would forget about installing crazy tweaks from god knows where.
Comments:
- 00clock~ is some ****ty duplicate
- 01zipalign - eh, that is what a2sd does without any initscript?!
- 02loopysmoothnesstweak - crazy junk tweaks
- 03ramscript - looks like more crazy junk tweaks?!
- 05powerfix - even more crazy junk tweaks?!?!
- apps2sd - apparently misnamed
Get back once done.
3/ If the above does not fix it
Code:
# rm -f /system/etc/init.d/*apps2sd*
and reflash stable (NOT beta) DT app2sd and enable what you need after booting.
4/ If it still does not work, output of:
Code:
# busybox fdisk -l /dev/block/mmcblk0
# cat /proc/filesystems
# uname -a

Sorry but i dont have the smallest idea on how to connect with tera :/
And the thing is these logs were made after a fresh install of open optimus
Sent from my LG Optimus One P500 using XDA App

You need Cygwin installed, use the cyglaunch icon then. Anyway, that was not the point. The above works even with the ****ty cmd.exe

biggiex2 said:
ok as dr.notor said i will open a post here with my problems
i flashed ciaox' open optimus latest version and tried numerous times to get a2sd to work, everything i try it keeps telling me the damn same thing: EXT partition not mounted. i've tried different kernels, reflashing openoptimus, partitioning through my windows pc and cwm.
here is adb shell output and logcat(i don't know exactly what part of logcat must be extracted so i will upload it all)
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\CORINA\My Documents\Downloads\android-sdk-windows\tool
s>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
sh-3.2$ su
su
sh-3.2# busybox ls -la /system/etc/init.d
busybox ls -la /system/etc/init.d
drwxrwxrwx 1 0 0 2048 Aug 16 17:52 ←[1;34m.←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:38 ←[1;34m..←[0m
-rwxrwxrwx 1 0 0 630 Aug 1 2008 ←[1;32m00banner←[0m
-rwxrwxrwx 1 0 0 642 Aug 1 2008 ←[1;32m00clock←[0m
-rwxrwxrwx 1 0 0 707 Aug 1 2008 ←[1;32m00clock~←[0m
-rwxrwxrwx 1 0 0 27 Aug 1 2008 ←[1;32m01sysctl←[0m
-rwxrwxrwx 1 0 0 1078 Aug 1 2008 ←[1;32m01zipalign←[0m
-rwxrwxrwx 1 0 0 266 Aug 1 2008 ←[1;32m02firstboot←[0m
-rwxrwxrwx 1 0 0 8177 Aug 1 2008 ←[1;32m02loopysmoothnes
stweak←[0m
-rwxrwxrwx 1 0 0 782 Aug 1 2008 ←[1;32m03ramscript←[0m
-rwxrwxrwx 1 0 0 199 Aug 1 2008 ←[1;32m04sdcard←[0m
-rwxrwxrwx 1 0 0 250 Aug 1 2008 ←[1;32m05powerfix←[0m
-rwxrwxrwx 1 0 0 1499 Aug 1 2008 ←[1;32m1apps2sd←[0m
-rwxrwxrwx 1 0 0 86 Aug 1 2008 ←[1;32m99complete←[0m
sh-3.2# busybox ls -la /cache
busybox ls -la /cache
drwxrwx--x 1 1000 2001 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
lrwxrwxrwx 1 0 0 18 Aug 17 10:54 ←[1;36mdalvik-cache←[0m
-> ←[1;34m/data/dalvik-cache←[0m
drwxrwxrwx 1 0 0 2048 Aug 17 10:54 ←[1;34mdc←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--- 1 1000 2001 2048 Aug 16 22:08 ←[1;34mrecovery←[0m
sh-3.2# busybox ls -la /data
busybox ls -la /data
drwxrwx--x 1 1000 1000 2048 Aug 17 10:54 ←[1;34m.←[0m
drwxr-xr-x 16 0 0 0 Aug 16 22:12 ←[1;34m..←[0m
-rw-rw-rw- 1 0 0 2 Aug 16 17:52 ←[0;0m.noa2sd←[0m
drwxrwxrwx 1 0 0 2048 Aug 16 17:41 ←[1;34mamit←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34manr←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mapp←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mapp-private←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:43 ←[1;34mbackup←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdalvik-cache←[0m
-rwxrwxrwx 1 0 0 202 Aug 16 22:12 ←[1;32mdalvikheap←[0m
drwxrwx--x 1 1000 1000 2048 Aug 17 10:05 ←[1;34mdata←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mdbcheck←[0m
drwxr-x--- 1 1000 1007 2048 Aug 16 18:36 ←[1;34mdontpanic←[0m
-rw-rw-rw- 1 0 0 4110 Aug 17 10:54 ←[0;0mdta2sd.lg1←[0m
-rw-rw-rw- 1 0 0 4090 Aug 17 10:54 ←[0;0mdta2sd.lg2←[0m
-rw-rw-rw- 1 0 0 3928 Aug 17 10:54 ←[0;0mdta2sd.log←[0m
-rw-rw-rw- 1 0 0 296 Aug 16 17:52 ←[0;0mdtinstall.log←[0m
prw-rw-rw- 1 1000 1000 2048 Aug 16 17:41 ←[0;35mdun←[0m
drwxr-xr-x 1 0 0 2048 Aug 16 17:52 ←[1;34mjit←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 21:49 ←[1;34mlgdrm←[0m
drwxrwx--x 1 2000 2000 2048 Aug 16 17:41 ←[1;34mlocal←[0m
drwxrwx--x 1 1000 1000 2048 Aug 16 17:41 ←[1;34mlogger←[0m
drwxrwx--- 1 0 0 2048 Aug 16 17:41 ←[1;34mlost+found←[0m
drwxrwx--t 1 1000 9998 2048 Aug 16 17:41 ←[1;34mmisc←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:41 ←[1;34mnv←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mnx←[0m
drwx------ 1 0 0 2048 Aug 17 10:54 ←[1;34mproperty←[0m
drwxrwx--- 1 1001 1001 2048 Aug 16 22:12 ←[1;34mradio←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34mscnt←[0m
drwx------ 1 1000 1000 2048 Aug 16 17:42 ←[1;34msecure←[0m
drwxrwxr-x 1 1000 1000 2048 Aug 17 10:56 ←[1;34msystem←[0m
drwxr-xr-x 1 1000 1000 2048 Aug 16 18:36 ←[1;34mtombstones←[0m
drwxrwx--- 1 1013 1000 2048 Aug 16 17:41 ←[1;34muma←[0m
drwxrwx--- 1 4001 4002 2048 Aug 16 17:41 ←[1;34mwmdrm←[0m
drwxrwxrwx 1 1000 1000 2048 Aug 16 17:43 ←[1;34mxt9←[0m
-rw-r--r-- 1 0 0 142 Aug 16 22:12 ←[0;0mzipalign.log←[0m
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
[Γ£û] Ext partition found, but not mounted.
Your rom may not be setup to run Apps2SD.
Check with your rom developer if the boot image
is programmed to run Apps2SD.
Your partition may be using an EXT4 partition,
but your rom may not support EXT4. Repartition
your SD card to use EXT2 or EXT3.
sh-3.2# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,r
elatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,
iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=c
p437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
sh-3.2#
Click to expand...
Click to collapse
whu dont u use s2e which is a great alternative to a2sd and works like a charm.
search market

doctor you are amazing... i did step 1 and 2 with that crappy cmd and...
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\Downloads\Phone stuff\droid\android-sdk-windows\tools>adb shell
sh-3.2$ su
su
sh-3.2# a2sd check
a2sd check
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Creating /cache/dc
[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
Darktremor 2.7.5.2-1 Apps2SD Status Report
================================================================================
===
Legend: [Γ£ö]=Setting is correct
[‼]=Setting is correct, but not optimal.
[Γ£û]=Setting is incorrect and needs to be fixed or option is not availa
ble.
================================================================================
===
Block Device - [Γ£ö] Found
- [Γ£ö] /dev/block/mmcblk0p2
EXT Partition - [Γ£ö] Mounted
Mount Point - [ ] /system/sd
Partition Type - [Γ£ö] EXT4
- [‼] May be incompatible w/ ROMS
Support EXT2? - [Γ£ö] Yes
Support EXT3? - [Γ£ö] Yes
Support EXT4? - [Γ£ö] Yes
Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[Γ£ö] Programs run from SD card
To run from internal storage, type a2sd remove
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[Γ£ö] Private Programs run from SD card
To run from internal storage, type a2sd remove
Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[Γ£ö] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart
Swap - [ ] Partition not present or no swap support.
[Γ£ö] Swap does not start.
ZipAlign - [Γ£ö] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [Γ£ö] 32m
Low Memory
Killer Settings - [Γ£ö] 2048,3072,4096,6144,7168,8192
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[Γüç] For a list of commands that you can use with Apps2SD
Type: a2sd help
sh-3.2#
i want to know...shoud i activate zip align? and can you please explain to me how come those tweaks prevented my ext partition to be mounted. i just don't understand. or was it because of the missnaming of app2sd?
anyway i'm glad it's working! this really made my day

shhbz said:
whu dont u use s2e which is a great alternative to a2sd and works like a charm.
search market
Click to expand...
Click to collapse
S2E is for CyanogenMod ROMs only!!!
biggiex2 said:
doctor you are amazing... i did step 1 and 2 with that crappy cmd and...
i want to know...shoud i activate zip align? and can you please explain to me how come those tweaks prevented my ext partition to be mounted. i just don't understand. or was it because of the missnaming of app2sd?
anyway i'm glad it's working! this really made my day
Click to expand...
Click to collapse
Wrt zipalign - makes boot a bit longer, should not harm anything though.
Otherwise - do not have time to download OpenOptimus ROM right now to check. Will look later whether your /system partition did not get formatted properly on flashing or whether the stuff is really misnamed and borked there.

I don't have yhis problem

If you do not have problems, then move on... As said above, most likely /system not formatted properly on flashing, leaving stale junk behind.

interesting....thanks for the help though

i have the same problem it always says sdcard not mounted, i also tried flashing again dta2sd but the same result.
Code:
C:\android-sdk\platform-tools>adb shell
sh-3.2$ su
su
sh-3.2# mount -o remount,rw /system
mount -o remount,rw /system
sh-3.2# rm -f /system/etc/init.d/04sdcard
rm -f /system/etc/init.d/04sdcard
sh-3.2# mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
mv /system/etc/init.d/*apps2sd /system/etc/init.d/04apps2sd
sh-3.2# a2sd reinstall
a2sd reinstall
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Darktremor Apps2SD Version 2.7.5.2-1
[ ] Launching Apps2SD Start Program with reinstall
[ ] Starting Darktremor Apps2SD in reinstall mode
[X] SD Card not mounted.
Cannot reinstall applications to SD card.

I had the same problem, I reinstalled the a2sd script and worked.

Related

[Q] Overmax Quattor 10+ flashing custom rom / recovery

Hi,
I bought an Overmax Quattor 10+ tablet and I would like to flash a new recovery with touch screen support (has no volume buttons) to it then later install a custom rom.
However I can't find any information about this tablet anywhere, I would like to know if anyone knows anything about this device.
Note that this is my first android device ever, and I bought it 3 days ago.
I ask for any kind of help you can give me with this tablet, pointing me to the right direction.
Thank your very much.
Please continue reading below where I detail what I did so far.
This is the tablet: I'm new so I can't post links.
Information I know so far about the device
Hardware
CPU: Allwinner A31
RAM: 1GB - 7XXMB usable
Internal memory is actually an sdcard, at least it shows up as one. When I put in an sdcard it mounts it into /mnt/extsd, while /mnt/sdcard is the internal storage.
The tablet has no volume buttons, only power and home buttons.
OTG and usb host mode.
Software
Code:
Android version 4.2.2
Firmware version v3.2
Kernel
Code:
3.3.0
[email protected] #64
Thu Aug 1 14:58:11 HKT 2013
Build
Code:
fiber_a31st-eng 4.2.2 JDQ39 20130807
What I was able to do so far
I was able to root it following this guide: I'm new so I can't post links. I followed guide on f-droid wiki.
TL;DR
1. adb shell gives root
2. i push su with adb
3. change permissions
4. with installed superuser i have root
I tested my root using root checker app and with a terminal emulator which gives me the root prompt after using su.
Got adb to work
The google usb driver didn't work on my windows desktop. However windows update found Alcatel drivers which worked.
When I boot into recovery then I the device reports itself differently. In window's device manager it changes from Alcatel Android to OV-10+, however forcing the use of the Alcatel driver enables adb to see the device.
Problems
I can't find anything about this tablet.
Has no volume buttons, only power and home buttons. Which makes recovery unusable.
adb shell doesn't work in recovery. "- exec '/system/bin/sh' failed: No such file or directory (2) -"
I tried rom manager apps from google play which could install both custom roms and custom recoveries without luck. So nothing supports it as far as I know.
Some thoughts / facts
I bought this tablet in a store in hungary.
It was made in china, but I didn't order it from china.
More information, anything I think can be useful
I don't know how much useful are these thing I come from a linux past, but I don't know much about android's internal structure.
Everyting here is without external sdcard inserted.
It uses Alcatel android drivers on windows(installed by windows update). Google usb driver doesn't recognizes the device.
Dmesg from linux (ubuntu 13.10) when I connect it
Normal
Code:
usb 3-2: new high-speed USB device number 2 using xhci_hcd
usb 3-2: New USB device found, idVendor=18d1, idProduct=0003
usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 3-2: Product: Android
usb 3-2: Manufacturer: USB Developer
usb 3-2: SerialNumber: 20080411
Recovery
Code:
usb 3-2: USB disconnect, device number 4
usb 3-2: new high-speed USB device number 5 using xhci_hcd
usb 3-2: New USB device found, idVendor=18d1, idProduct=d001
usb 3-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
usb 3-2: Product: OV-Quattor
usb 3-2: Manufacturer: unknown
usb 3-2: SerialNumber: 20080411
Info about installed (stock) recovery
Code:
Android system recovery <3e>
Android sdk reversion:exdroid4.2.2_r1-a31-v3.2
adb shell mount
Code:
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/nandd /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/nandh /cache ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/nande /data ext4 rw,nosuid,nodev,noatime,user_xattr,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/vold/93:72 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=continue 0 0
/dev/block/vold/93:72 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=continue 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
adb shell cat /proc/cpuinfo
Code:
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 2013.59
processor : 1
BogoMIPS : 2013.59
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
Hardware : sun6i
Revision : 0000
Revision : a320
adb shell ls /dev
Code:
alarm
android_adb
ashmem
aw_i2c_ts1
binder
block
bus
cachefiles
cedar_dev
console
cpu_dma_latency
cpuctl
cuse
device-mapper
disp
full
fuse
g2d
graphics
hdmi
input
ion
kmem
kmsg
lcd
log
loop-control
mem
mtp_usb
network_latency
network_throughput
null
ppp
psaux
ptmx
pts
ptyp0
ptyp1
ptyp2
ptyp3
ptyp4
ptyp5
ptyp6
ptyp7
ptyp8
ptyp9
ptypa
ptypb
ptypc
ptypd
ptype
ptypf
pvr_sync
pvrsrvkm
random
rfkill
rtc0
snd
socket
sunxi-reg
sunxi_hw
sunxi_mem
sw_sync
tty
tty0
tty1
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty2
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty3
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty4
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty5
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty6
tty60
tty61
tty62
tty63
tty7
tty8
tty9
ttyGS0
ttyGS1
ttyGS2
ttyGS3
ttyS0
ttyS2
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
ttyp5
ttyp6
ttyp7
ttyp8
ttyp9
ttypa
ttypb
ttypc
ttypd
ttype
ttypf
tun
uinput
urandom
usb_accessory
vcs
vcs1
vcsa
vcsa1
video1
xt_qtaguid
zero
Code:
[email protected]:/ # cat fstab.sun6i
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/nandd /system ext4 ro wait
/dev/block/nandh /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,barrier=1 wait,check
#/dev/block/nandi /databk ext4 noatime,nosuid,nodev,nomblk_io_submit,barrier=1 wait,check
/dev/block/nande /data ext4 noatime,nosuid,nodev,nomblk_io_submit,barrier=1 wait,check,encryptable=/dev/block/nandi
Code:
[email protected]:/dev/block # ls -l
brw------- root root 7, 0 2013-12-21 14:40 loop0
brw------- root root 7, 1 2013-12-21 14:40 loop1
brw------- root root 7, 2 2013-12-21 14:40 loop2
brw------- root root 7, 3 2013-12-21 14:40 loop3
brw------- root root 7, 4 2013-12-21 14:40 loop4
brw------- root root 7, 5 2013-12-21 14:40 loop5
brw------- root root 7, 6 2013-12-21 14:40 loop6
brw------- root root 7, 7 2013-12-21 14:40 loop7
brw------- root root 93, 0 2013-12-21 14:40 nanda
brw------- root root 93, 8 2013-12-21 14:40 nandb
brw------- root root 93, 16 2013-12-21 14:40 nandc
brw------- root root 93, 24 2013-12-21 14:40 nandd
brw------- root root 93, 32 2013-12-21 14:40 nande
brw-rw-rw- system system 93, 40 2013-12-21 14:40 nandf
brw------- root root 93, 48 2013-12-21 14:40 nandg
brw------- root root 93, 56 2013-12-21 14:40 nandh
brw------- root root 93, 64 2013-12-21 14:40 nandi
brw------- root root 93, 72 2013-12-21 14:40 nandj
drwx------ root root 2013-12-21 14:41 vold
Thank you very much for any help.

[Q] Mount data partition on GT-S5570

Hi,
I'm having problems mounting the data partition on my Galaxy Mini. Below is the steps I have taken. I'm just guessing bml12 is the data partition.
When I try and mount bml12 as rfs with read write using the command "# mount -o rw -t rfs /dev/block/bml12 /data" i get the error message "mount: Invalid argument". But when command appears to work for mounting stl14.
Any help or guidance would be greatly appreciated.
Thanks
Code:
$ su
su
# mount
mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,relatime 0 0
/dev/stl12 /system rfs rw,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8
0 0
/dev/stl14 /cache rfs rw,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0
0
# cat /proc/partitions
cat /proc/partitions
major minor #blocks name
137 0 513024 bml0/c
137 1 1536 bml1
137 2 512 bml2
137 3 768 bml3
137 4 25600 bml4
137 5 9216 bml5
137 6 5120 bml6
137 7 2048 bml7
137 8 8192 bml8
137 9 8192 bml9
137 10 768 bml10
137 11 6144 bml11
137 12 222464 bml12
137 13 192768 bml13
137 14 29696 bml14
138 12 214784 stl12
138 14 25856 stl14
# ls /dev/block
ls /dev/block
stl14
stl13
stl12
stl11
stl10
stl9
stl8
stl7
stl6
stl5
stl4
stl3
stl2
stl1
bml14
bml13
bml12
bml11
bml10
bml9
bml8
bml7
bml6
bml5
bml4
bml3
bml2
bml1
bml0!c
loop7
loop6
loop5
loop4
loop3
loop2
loop1
loop0
ram7
ram6
ram5
ram4
ram3
ram2
ram1
ram0
# mount -o rw -t rfs /dev/block/bml12 /data
mount -o rw -t rfs /dev/block/bml12 /data
mount: Invalid argument

[Q] Create a edify_defs file

I tried to create my own edify_defs file to cook my own roms, but every time I try to flash the zip it fails because of that file it's not well. I don't know how to adapt it for my device. I tried to follow the template and other tutorials but it fails too.
Can anyone help me to create this file?
I attach some info:
recovery.fstab
Code:
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/bootimg /bootimg emmc defaults defaults
/dev/recovery /recovery emmc defaults defaults
/dev/uboot /uboot emmc defaults defaults
/[email protected] /system ext4 ro,noatime wait
/[email protected] /cache ext4 noatime,nosuid,nodev,noauto_da_alloc wait
/[email protected] /data ext4 noatime,nosuid,nodev,noauto_da_alloc wait,encryptable=footer
/devices/platform/mtk-msdc.1/mmc_host/mmc1 auto vfat defaults voldmanaged=sdcard1:auto
Code:
~ # ls -l
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x 2 root root 0 Oct 19 01:35 boot
drwxr-xr-x 2 root root 0 Oct 19 01:35 cache
drwxrwx--x 26 system system 4096 Oct 19 01:14 data
drwxr-xr-x 2 root root 0 Oct 19 01:35 datadata
-rwx------ 1 400 401 1618 Sep 24 20:19 default.prop
drwxr-xr-x 10 root root 3120 Oct 19 01:36 dev
drwxr-xr-x 2 root root 0 Oct 19 01:35 emmc
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected] -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected] -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected] -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected]_f -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected]_s -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected]_ro -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 20 Jan 1 1970 [email protected] -> /dev/block/mmcblk0p7
drwx------ 2 400 401 0 Oct 19 01:44 etc
drwxr-xr-x 2 root root 0 Oct 19 01:35 external_sd
-rwx------ 1 400 401 27410 Sep 24 20:19 file_contexts
-rwx------ 1 400 401 975 Sep 24 20:19 fstab.mt8127
-rwx------ 1 400 401 187840 Sep 24 20:19 init
-rwx------ 1 400 401 3151 Sep 24 20:19 init.rc
drwxr-xr-x 2 root root 0 Oct 19 01:35 internal_sd
drwxrwxr-x 5 root system 0 Oct 19 01:35 mnt
dr-xr-xr-x 108 root root 0 Jan 1 1970 proc
-rwx------ 1 400 401 2201 Sep 24 20:19 property_contexts
drwxr-xr-x 2 root root 0 Oct 19 01:35 recovery
drwx------ 3 400 401 0 Sep 24 20:19 res
drwx------ 2 root root 0 Aug 13 16:33 root
drwx------ 3 400 401 0 Sep 24 20:19 sbin
drwxr-xr-x 2 root root 0 Oct 19 01:35 sd-ext
lrwxrwxrwx 1 root root 13 Oct 19 01:35 sdcard -> /data/media/0
-rwx------ 1 400 401 663 Sep 24 20:19 seapp_contexts
-rwx------ 1 400 401 75012 Sep 24 20:19 sepolicy
d---r-x--- 3 root sdcard_r 60 Oct 19 01:35 storage
dr-xr-xr-x 17 root root 0 Oct 19 01:35 sys
drwxr-xr-x 3 400 401 0 Sep 24 20:19 system
drwxrwxr-x 2 root shell 140 Oct 19 01:38 tmp
-rwx------ 1 400 401 7275 Sep 24 20:19 ueventd.rc
Code:
~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1017272 160 1017112 0% /dev
tmpfs 1017272 276 1016996 0% /tmp
tmpfs 1017272 0 1017272 0% /storage
tmpfs 1017272 0 1017272 0% /mnt/secure
tmpfs 1017272 0 1017272 0% /mnt/fuse
/[email protected] 28194832 7112272 21082560 25% /data
/dev/block/vold/179:97
1927480 679284 1248196 35% /storage/sdcard1
/[email protected] 1032088 662876 369212 64% /system
/[email protected] 705512 12632 692880 2% /cache
Thanks.

[Q] Request for rooting/modding orbsmart soundpad400 rk3028a

Hi,
I tried all root methods on the net but nothing worked.
Now I tried to add the su binary and the other files how it is described on the rockchipfirmware page.
But it didn't work either. Than I changed the boot.img to get write permission on the /system partition.
The permissions are now VERY unsafe, but nothing is working.
Info:
ro.build.description=rk3028a-user 4.4.4 KTU84P user.lucid.20141014.100831 release-keys
ro.com.google.gmsversion=4.4.4_r4
ro.product.version=1.0.3
Code:
mount:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtd/by-name/system /system ext4 rw,seclabel,noatime,nodiratime,user_xattr,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mtd/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mtd/by-name/metadata /metadata ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=1,noauto_da_alloc,discard 0 0
/dev/block/mtd/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.maxmpz.audioplayer.unlock-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1 0 0
/system:
drwxr-xr-x. 16 root root 4096 Jan 1 1970 ./
drwxr-x---+ 4 root root 4096 Mai 24 19:52 ../
drwxrwxrwx. 2 root root 4096 Mai 24 00:58 app/
drwxrwxrwx. 3 root 2000 4096 Mai 24 20:18 bin/
-rw-r--r--. 1 root root 3783 Dez 1 03:46 build.prop
drwxr-xr-x. 10 root root 4096 Dez 1 04:03 etc/
drwxr-xr-x. 2 root root 4096 Sep 30 2014 fonts/
drwxr-xr-x. 3 root root 4096 Sep 30 2014 framework/
drwxr-xr-x. 8 root root 8192 Dez 1 03:41 lib/
drwx------. 2 root root 4096 Jan 1 1970 lost+found/
drwxr-xr-x. 3 root root 4096 Dez 1 04:07 media/
drwxr-xr-x. 2 root root 4096 Okt 14 2014 preinstall/
drwxr-xr-x. 2 root root 4096 Okt 10 2014 priv-app/
drwxr-xr-x. 3 root root 4096 Sep 30 2014 tts/
drwxr-xr-x. 8 root root 4096 Sep 30 2014 usr/
drwxr-xr-x. 5 root 2000 4096 Sep 30 2014 vendor/
drwxrwxrwx. 2 root 2000 4096 Mai 23 23:28 xbin/
/system/bin(shorted)
drwxrwxrwx. 3 root 2000 4096 Mai 24 20:18 ./
drwxr-xr-x. 16 root root 4096 Jan 1 1970 ../
-rwsrwsrwt. 1 root 2000 1062992 Mai 24 20:18 busybox*
-rwsrwsrwt 1 root 2000 83 Mai 24 00:17 remount.sh* (self written script to remount /system in rw mode...did not work)
-rwsrwsrwt 1 root 2000 91980 Mai 24 20:18 su*
/system/xbin
drwxrwxrwx. 2 root 2000 4096 Mai 23 23:28 ./
drwxr-xr-x. 16 root root 4096 Jan 1 1970 ../
-rwsr-sr-x 1 root root 1062992 Mai 23 22:07 busybox*
-rwxr-xr-x 1 root root 104800 Mai 23 23:28 daemonsu*
-rwxr-xr-x. 1 root 2000 59748 Sep 30 2014 dexdump*
-rwxr-xr-x. 1 root 2000 9620 Sep 30 2014 io*
-rwsr-sr-x 1 root root 104800 Mai 23 23:27 su*
Do I have to do something else to get root access?
Thanks
Chrno219

[Q] Copying /userdata to sd or PC

I would like to copy a block that contains userdata to SD or a PC.
The author of undelete suggested to use:
adb shell su cat /dev/block/platform/msm_sdcc.1/by-name/userdata > /home/data_image.dat
I connected my phone to a PC and wrote in powercmd:
adb shell
su
cat /dev/block/mmcblk1p1 > /home/data_image.dat
sh: can't create /home/data_image.dat: No such file or directory
What am I doing wrong?
The second question is how to find out what block contains userdata? I just guessed it might be in mmcblk1p1.
When I write "mount" I get:
mount
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/[email protected] /system ext4 ro,noatime,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected] /data ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected] /cache ext4 rw,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/[email protected]_f /protect_f ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected]_s /protect_s ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:97 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:97 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.outfit7.talkingtom2free-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.skype.raider-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.VAMflax.ChopperMike-1 ext4 ro,dirsync,nosuid,nodev,noatime 0 0
I tried going into this dir and ls -al it:
[email protected]:/dev/block/platform # ls -al
ls -al
drwxr-xr-x root root 2015-07-08 11:57 mtk-msdc.1
[email protected]:/dev/block/platform/mtk-msdc.1 # ls -al
ls -al
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1 -> /dev/block/mmcblk1
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1p1 -> /dev/block/mmcblk1p1
For some reason mtk-msdc.0 is not visible via ls -al!? But I can cd to it:
[email protected]:/dev/block/platform/mtk-msdc.0 # ls -al
ls -al
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0 -> /dev/block/mmcblk0
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0boot0 -> /dev/block/mmcblk0boot0
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0boot1 -> /dev/block/mmcblk0boot1
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p1 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p2 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p3 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p4 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p5 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk0p6 -> /dev/block/mmcblk0p6
So, according to https://blog.avast.com/2014/07/09/android-foreniscs-pt-2-how-we-recovered-erased-data/ that uses "mount" to discover the block for userdata, my userdata is located at /[email protected] But I'm not sure how can I access this directory.
Another thing I don't understand:
[email protected]:/dev/block/platform/mtk-msdc.1 $ ls -al
ls -al
drwxr-xr-x root root 2015-07-08 11:57 by-num
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1 -> /dev/block/mmcblk1
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1p1 -> /dev/block/mmcblk1p1
[email protected]:/dev/block/platform/mtk-msdc.1 $ su
su
[email protected]:/dev/block/platform/mtk-msdc.1 # ls -al
ls -al
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1 -> /dev/block/mmcblk1
lrwxrwxrwx root root 2015-07-08 11:57 mmcblk1p1 -> /dev/block/mmcblk1p1
[email protected]:/dev/block/platform/mtk-msdc.1 #
As you can see, my phone ACER Z130 uses "by-num" instead of "by-name" for some reason.
I also wonder why after su I cannot see this dir in ls -l.
Also, some more tries:
D:\Program Files\PowerCmd>adb shell su cat /dev/block/mmcblk1p1 > /home/data.img
The system cannot find the path specified.
D:\Program Files\PowerCmd>adb shell su cat /dev/block/mmcblk1p1 > /data.img
sh: /dev/block/mmcblk1p1: can't execute: Permission denied
So, after reading for hours about how to do that, I'm still stuck.
Also, note, that it seems that on my phone internal mem and sdcard might be reversed in order. At least File Manager shows that sdcard0 has the content of the sd, and sdcard1 has the content of internal memory.
Ok, I did:
2|[email protected]:/ # ls -al
lrwxrwxrwx root root 1970-01-01 07:00 [email protected] -> /dev/block/mmcblk0p6
Ok, found that userdata.
cat /proc/partitions
179 6 2585728 mmcblk0p6
df
/dev 236M 52K 236M 4096
/mnt/secure 236M 0K 236M 4096
/mnt/asec 236M 0K 236M 4096
/mnt/obb 236M 0K 236M 4096
/system 756M 632M 124M 4096
/data 2G 1G 488M 4096
/cache 251M 4M 246M 4096
/protect_f 8M 4M 4M 4096
/protect_s 8M 4M 4M 4096
/storage/sdcard1 2G 1G 438M 4096
/storage/sdcard0 3G 3G 539M 32768
And:
Filesystem volume name: <none>
Last mounted on: /data
Filesystem UUID: 57f8f4bc-abf4-655f-bf67-946fc0f9f25b
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal resize_inode filetype needs_recovery extent sparse_super large_file
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Remount read-only
Filesystem OS type: Linux
Inode count: 163840
Block count: 646176
Reserved block count: 0
Free blocks: 115667
Free inodes: 157106
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 95
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Last mount time: Wed Jul 8 11:57:16 2015
Last write time: Wed Jul 8 11:57:16 2015
Mount count: 1
Maximum mount count: -1
Last checked: Wed Jul 8 11:57:10 2015
Check interval: 0 (<none>)
Lifetime writes: 95 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
First orphan inode: 131321
Default directory hash: tea
Journal backup: inode blocks
So, I assume the size of the block is about 2.5GB?
Ok, so how can I copy it now to my PC (preferable) or to SD?
dd if=/dev/block/mmcblk0p6 bs=4194304 of=/storage/sdcard0/data.img
adb pull /storage/sdcard0/data.img /Users/????/Desktop/data.img
or try this (i dont know if it will work)
adb shell su -c 'cat /dev/block/mmcblk0p6' > /Users/????/Desktop/data.img
if that doesn't work try this
adb shell 'su -c 'cat /dev/block/mmcblk0p6'' > /Users/????/Desktop/data.img
you need admin rights to write data.img in C:\ , so put your desktop folder.
Ok,
I managed to do that. Now I have the image and I would like to recover the deleted/corrupted contacts2.db file. Any suggestions how to do that?
Blackion said:
Ok,
I managed to do that. Now I have the image and I would like to recover the deleted/corrupted contacts2.db file. Any suggestions how to do that?
Click to expand...
Click to collapse
Boot into linux and mount the image,
Code:
[email protected] ~ # mount /path/to/data.img /mnt
[email protected] ~ # cd /mnt
[email protected] /mnt # nautilus .
Also please quote me or mention me if you're replying to me, I don't get a notification if you don't do it.

Categories

Resources