[Q] Debugging missing NAND Block device - Android Q&A, Help & Troubleshooting

Hello,
I have a SM-P600 (32G) with failed factory reset that left the device soft-bricked so that booting to Download and recovery works, but OS-booting leaves the device freezed after boot animations (With stock-ROM). Flashing new recovery programs work and below results are from ABD Shell with CWM recovery flashed to the device.
Below are results from /proc/mounts, /partitions and /devices. It seems that NAND block device or its partitions are not listed in results.
I was wondering what can be the reasons for this behavior, and what can be done in order to get the NAND device back online?
Is there a way to manually re-initialize the device? Or some debugging tips to narrow down the problem?
Your help will be much appreciated if I manage to get this brick back alive without buying a new system board for it.
ADB cat /proc/mounts
~ # cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw 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
tmpfs /tmp tmpfs rw,seclabel,relatime 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,mode=050,gid=1028 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 0 0
/dev/block/mmcblk0p21 /data ext4 rw,seclabel,relatime,discard,journal_checksum,j
ournal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p19 /cache ext4 rw,seclabel,relatime,discard,journal_checksum,
journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
~ #
ADB cat /proc/partitions
~ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 4096 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 4096 mmcblk0p7
259 0 8192 mmcblk0p8
259 1 8192 mmcblk0p9
259 2 8192 mmcblk0p10
259 3 8192 mmcblk0p11
259 4 4096 mmcblk0p12
259 5 20480 mmcblk0p13
259 6 4096 mmcblk0p14
259 7 4096 mmcblk0p15
259 8 20480 mmcblk0p16
259 9 12288 mmcblk0p17
259 10 4096 mmcblk0p18
259 11 204800 mmcblk0p19
259 12 2465792 mmcblk0p20
259 13 27709440 mmcblk0p21
179 24 512 mmcblk0rpmb
179 16 4096 mmcblk0boot1
179 8 4096 mmcblk0boot0
179 32 30948352 mmcblk1
179 33 30944256 mmcblk1p1
~ #
ADB cat /proc/devices
Block devices:
1 ramdisk
259 blkext
7 loop
8 sd
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
254 device-mapper
~ #

Related

DEAD SLOW???

hi i recovered my phone from accidentally format of the persisted data storage,
now seems fully operational, i flashed stock 1.26, rooted- sideloading- recovery and upgraded till 1.83. no problems at all
but now i have a weird issue, i use the phone and seems normal, but if i run any benchmark the scores are extremely low, i tried quadrant and smartbench, both result with a score less than the half of what was (from 2600 dropped to 1300 in quadrant for example)
loading games or webtop has become slow.
what could this be?maybe i need to fix another partition i may have damaged
as i told i tried a fresh install from zero, twice.
this is the output of cpuinfo
$ su
su
# echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
# echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
# cat /proc/cpuinfo
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 1998.84
processor : 1
BogoMIPS : 1992.29
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 0
Hardware : Olympus
Revision : 82d0
Serial : 0280400043a02057
#
edit with linpack i get 19 mflops...wth!
not a single idea from your minds? shouldn't be the biggest android developer comunity? cmon...
mmm thats weird did you install any other app? maybe SD (internal o ext) corrupted and take years read from sd try umount first and take again the test, or reflash and do a factory reset and see if helps
flashed 1.26 stock, wiped data and cache with android recovery.
formatted both sd int and ext with stock utility.
nothing...
which are the blocks that are not overwritten by a stock sbf flash?
i runned tegrastats both cores work, only thing iram is 0/256 always...
TegraStats:
34/192MB (lfb 146MB) GART 48/32768KB (lfb 32
B) GART_Non-Pins(48KB, lnpb(48KB)) IRAM 0/256
%,0%]@501 avp 2%@240 vde 0%@240 emc 0%@300
06-15 14:14:54.622 5710 5710 E TegraStats:
34/192MB (lfb 146MB) GART 48/32768KB (lfb 32
B) GART_Non-Pins(48KB, lnpb(48KB)) IRAM 0/256
%,0%]@501 avp 2%@240 vde 0%@240 emc 0%@300
06-15 14:14:54.732 5710 5710 E
some help...would be appreciated...seems i'm talking to myself...
ok maybe this is the point:
Code:
# cat /proc/partitions
cat /proc/partitions
major minor #blocks name
179 0 15668736 mmcblk0
179 1 3584 mmcblk0p1
179 2 512 mmcblk0p2
179 3 2048 mmcblk0p3
179 4 1 mmcblk0p4
179 5 1024 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 1024 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 8192 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 327680 mmcblk0p12
179 13 786432 mmcblk0p13
179 14 20480 mmcblk0p14
179 15 655360 mmcblk0p15
179 16 2097152 mmcblk0p16
179 17 353280 mmcblk0p17
179 18 11233792 mmcblk0p18
179 32 7772160 mmcblk1
179 33 7771136 mmcblk1p1
Code:
# mount
mount
rootfs / rootfs ro,relatime 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
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext3 ro,relatime,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext3 rw,nosuid,nodev,relatime,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
/dev/block/mmcblk0p15 /cache ext3 rw,nosuid,nodev,relatime,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/mmcblk0p13 /osh ext3 rw,relatime,errors=continue,data=ordered 0 0
tmpfs /osh/lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
varrun /osh/var/run tmpfs rw,nosuid,relatime,mode=755 0 0
varlock /osh/var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/block/mmcblk0p17 /preinstall ext3 ro,noatime,nodiratime,data=ordered 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
/proc /osh/proc proc rw,relatime 0 0
/dev/block/vold/179:18 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,
uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:18 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:33 /mnt/sdcard-ext vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
#
Code:
# df
df
/dev: 418884K total, 32K used, 418852K available (block size 4096)
/mnt/asec: 418884K total, 0K used, 418884K available (block size 4096)
/dev/cpuctl: No such file or directory
/system: 327207K total, 225552K used, 101655K available (block size 1024)
/data: 2031104K total, 483610K used, 1547494K available (block size 2048)
/dev: 418884K total, 32K used, 418852K available (block size 4096)
/cache: 634720K total, 16426K used, 618294K available (block size 2048)
/osh: 773896K total, 694304K used, 79592K available (block size 2048)
/osh/lib/init/rw: 418884K total, 0K used, 418884K available (block size 4096)
/osh/var/run: 418884K total, 20K used, 418864K available (block size 4096)
/osh/var/lock: 418884K total, 0K used, 418884K available (block size 4096)
/preinstall: 352971K total, 283745K used, 69226K available (block size 1024)
/mnt/sdcard: 11231008K total, 16544K used, 11214464K available (block size 32768
)
/mnt/secure/asec: 11231008K total, 16544K used, 11214464K available (block size
32768)
/mnt/sdcard-ext: 7755968K total, 1874960K used, 5881008K available (block size 4
096)
Code:
# ls /dev/block
ls /dev/block
179:33
179:18
179:32
vold
loop7
loop6
loop5
loop4
loop3
loop2
loop1
loop0
mmcblk1p1
mmcblk1
mmcblk0p18
mmcblk0p17
mmcblk0p16
mmcblk0p15
mmcblk0p14
mmcblk0p13
mmcblk0p12
mmcblk0p11
mmcblk0p10
mmcblk0p9
mmcblk0p8
mmcblk0p7
mmcblk0p6
mmcblk0p5
mmcblk0p4
mmcblk0p3
mmcblk0p2
mmcblk0p1
mmcblk0
#
i learnt loop and dm- partitions are for asec (app to sd)
so i'm back at the begining, any help guys?
ok i'm flashing a stock full 1.5.7
i see that a full flash do not overwrite the following partition:
mmcblk0p3 PDS.bin 2097152 Persistent Data Storage
mmcblk0p4 EBR.bin 1024 Extended Boot Record?
mmcblk0p5 SP.bin 1048576 Signature
mmcblk0p6 CID.bin 524288 UNKNOWN?
mmcblk0p7 MSC.bin 524288 Misc?
mmcblk0p9 KPA.bin 2097152 Kernel Panic Data
the rest are data sd card internal sd etc etc...
ok till the moment i replaced successfully 1,3,4,7
mflops still 18.5
suggestion?
edit: replaced all, replacing 6 gave me "failed to boot 4", flashed 1.26 full
some suggestions, please leave the pds untouched. you phone will be dead when pds is broken.
can not help with your this SLOW Problem , it's out of my knowledge. sorry.
ehehe i wouldn't have touched the pds if i didn't kill my phone using the script in recovery
but i noticed now that if i set setcpu to the maximum frequency 1000mhz
it display the current frequency to 501mhz only.
and with quadrant advanced i see it's the cpu benchmark part that sucks it's half the nexus one...
where is the dual core option in bios?
ps my phone was with empty pds partition before, i think that we would be able to really kill the phone only when bootloader will be unlock
here are the screenshots...

LG Viper Sprint

Does anyone know where I can find the CWM Recovery for the viper?
Sent from my LG-P999 using XDA
Bump
Sent from my LG-P999 using XDA
You can install the recoveries for the vs840 or the ms840 (lucid and connect respectively) through ROM Manager since all the sprint reps say they have the same coding but so far I haven't been able to do much other than boot into CWM. I can't make backups as it won't mount /system and when I manually mount /system for it it seems to backup but then the files just disappear :/ By the way you wouldn't happen to know the partition # of the recovery partition would you? I have a vague table laid out but it may not be 100% accurate so that info would help, or just let me know how to get into the bootloader/fastboot if you know how.
P.S. here's the table I've gotten so far with the file layouts (not 100% sure what files correspond to each partition)
Code:
/dev/block/mmcblk0p1 >IMAGE/MODEM*
/dev/block/mmcblk0p12 >Gaspra,LostFound,WCN1314_qcom_wlan_nv.bin,qcom
/dev/block/mmcblk0p14 >image/*.MBN
/dev/block/mmcblk0p22 >lost+found/,lpass/,mdm/,modem/
/dev/block/mmcblk0p23 >lost+found/
/dev/block/mmcblk0p27 >app/,bin/,build.prop,etc/,fonts/,framework/,lib/,media/,recovery/,sounds/,tts/,usbautorun.iso,usr/,xbin/ (/ ?)
/dev/block/mmcblk0p28 >lost+found/,recovery/
/dev/block/mmcblk0p29 >amit/,anr/,app/,app-private/,backup/,dalvik-cache/,data/,dontpanic/,fonta/,gesture/,img/,lgdrm/,local/,logger/,lost+found/,misc/,property/,qcks/,radio/,secure/,shared/,sutest/,system/,time/,tombstones/,wiper/,wmdrm/,wpstiles/ (/SYSTEM)
/dev/block/mmcblk0p30 >lost+found/
/dev/block/mmcblk0p31 >MPT_*,aat_result.txt,acc_calibration.dat,enable/,lost+found/,pid/,started/
Rom Development?
My wife just upgraded her EVO for this phone. I was able to find the rooting method with the superoneclick, and it worked slick. I was able to remove the sprint apps like NBA and NASCAR... but was looking for any custom rom. I had ICS running on her EVO, and since this comes with GB... I hate to go backwards. Is there anyone working on rom development for this phone yet?
some get me a dump of the stock recovey please
Also do
Code:
adb shell
Code:
cat proc/mounts
and
Code:
cat proc/partitions
Sounds like the viper has a different mount for system than its cousins.
In terminal emulator:
df to get list of partitions, if possible, and mount each on a temporary directory with loop options.. Hopefully the stock kernel supports fs wraps..
Just barely got this phone for my fiance, and I'm waiting for someone to nail this sucker to the wall.. Hopefully someone can come up with a working recovery..
Hope the above helps, because if you can df on su, especially with the -a option, if I remember right, it tells you the file systems used on each part.
Maybe once stuff settles down (because hectic is an understatement at this particular point irl, lol), I can jump in and be of more help, but right now.. It's just not the best time as I'm trying to keep a roof over our heads here..
Good luck all!
-----
Sent from my phone
using my finger... ;-)
-----
this needs testing and I still need the above mentions.
http://d-h.st/GFZ
# df -a
Filesystem Size Used Free Blksize
-a: No such file or directory
# df
Filesystem Size Used Free Blksize
/dev 400M 48K 399M 4096
/mnt/asec 400M 0K 400M 4096
/mnt/obb 400M 0K 400M 4096
# df
Filesystem Size Used Free Blksize
/dev 400M 48K 399M 4096 /mnt/asec 400M 0K 400M 4096
/mnt/obb 400M 0K 400M 4096
/mnt/extasec 400M 0K 400M 4096
/mnt/extobb 400M 0K 400M 4096 /system 1009M 348M 661M 4096
/tombstones 71M 4M 67M 4096 /firmware 1G 28M 1G 32768
/data 1G 579M 1G 4096 /persist 7M 4M 3M 4096
/cache 314M 5M 309M 4096 /LGE_RC 4M 24K 4M 4096
/mpt 15M 9M 6M 1024 /system/etc/firmware/misc_mdm 199M 22M 177M 4096 /mnt/sdcard 14G 4G 9G 32768
/mnt/secure/asec 14G 4G 9G 32768 /mnt/asec/com.droidemu.game.lite-1 12M 10M 1M 4096 /mnt/asec/com.diotasoft.spark-1 28M 26M 1M 4096
/mnt/asec/com.nelphy.android.heavenhell-1 32M 30M 1M 4096
/mnt/asec/com.mojang.minecraftpe.demo-1 8M 6M 1M 4096
#
Here are the proc/ results
Code:
# cat proc/mounts
rootfs / rootfs rw,relatime 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
none /acct cgroup rw,relatime,cpuacct 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
tmpfs /mnt/extasec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/extobb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p27 /system ext4 rw,relatime,barrier=0,data=ordered 0 0
/dev/block/mmcblk0p22 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p29 /data ext4 rw,nosuid,nodev,noatime,resuid=1000,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p12 /persist ext4 rw,nosuid,nodev,relatime,barrier=1,nodelalloc,data=ordered 0 0
/dev/block/mmcblk0p28 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p30 /LGE_RC ext4 rw,nosuid,nodev,relatime,barrier=1,data=writeback 0 0
/dev/block/mmcblk0p31 /mpt ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p14 /system/etc/firmware/misc_mdm vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.droidemu.game.lite-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.mojang.minecraftpe.demo-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.nelphy.android.heavenhell-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.diotasoft.spark-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.nelphy.android.crazyshuttle-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
# cat proc/partitions
major minor #blocks name
7 0 12506 loop0
7 1 8348 loop1
7 2 33296 loop2
7 3 29138 loop3
7 4 28098 loop4
179 0 3780608 mmcblk0
179 1 32768 mmcblk0p1
179 2 1024 mmcblk0p2
179 3 1024 mmcblk0p3
179 4 1 mmcblk0p4
179 5 1024 mmcblk0p5
179 6 5120 mmcblk0p6
179 7 5120 mmcblk0p7
179 8 10240 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 8192 mmcblk0p12
179 13 16384 mmcblk0p13
179 14 32768 mmcblk0p14
179 15 3072 mmcblk0p15
179 16 3072 mmcblk0p16
179 17 3072 mmcblk0p17
179 18 3072 mmcblk0p18
179 19 1024 mmcblk0p19
179 20 8192 mmcblk0p20
179 21 16384 mmcblk0p21
179 22 73728 mmcblk0p22
179 23 8192 mmcblk0p23
179 24 24576 mmcblk0p24
179 25 8192 mmcblk0p25
179 26 1024 mmcblk0p26
179 27 1048576 mmcblk0p27
179 28 327680 mmcblk0p28
179 29 1843200 mmcblk0p29
179 30 5120 mmcblk0p30
179 31 16384 mmcblk0p31
259 0 5120 mmcblk0p32
179 32 15558144 mmcblk1
179 33 15554048 mmcblk1p1
254 0 12505 dm-0
254 1 8347 dm-1
254 2 33295 dm-2
254 3 29137 dm-3
254 4 28098 dcode
?
sooo did you guys manage to find a cwm recovery?
im a total noob and i managed to root this phone but now i cant find a recovery :/ im still in GB

[Q] Dump Lenovo B8080 boot.img/recovery.img

I'm trying to dump the boot.img in the hopes of porting CWM and, eventually, CM11 to the Lenovo B8080, better known as the Lenovo Yoga 10 HD+. But I'm at a loss how to extract the boot.img.
I've been following this guide here: http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device and am stuck at trying to extract my boot.img as the binary is missing. All I get is
Code:
$ dump_image boot /storage/sdcard1/boot.img
dump_image: not found
I've also tried using romdump but the binary that I found won't run on the b8080, wrong architecture.
Lastly, I tried
Code:
$ cat /proc/mtd
as recommended in this guide: http://www.addictivetips.com/mobile...es-boot-recovery-and-system-partition-images/
but that also doesn't work as there is no "/proc/mtd".
What I do have is the following output:
Code:
$ cat /proc/partitions
major minor #blocks name
7 0 17703 loop0
179 0 15267840 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 512 mmcblk0p3
179 4 32 mmcblk0p4
179 5 32 mmcblk0p5
179 6 768 mmcblk0p6
179 7 768 mmcblk0p7
179 8 500 mmcblk0p8
179 9 500 mmcblk0p9
179 10 16384 mmcblk0p10
179 11 500 mmcblk0p11
179 12 500 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 1536 mmcblk0p14
179 15 1536 mmcblk0p15
179 16 10240 mmcblk0p16
179 17 1572864 mmcblk0p17
179 18 32768 mmcblk0p18
179 19 131072 mmcblk0p19
179 20 204800 mmcblk0p20
179 21 16384 mmcblk0p21
179 22 1024 mmcblk0p22
179 23 1536 mmcblk0p23
179 24 1 mmcblk0p24
179 25 8 mmcblk0p25
179 26 12646383 mmcblk0p26
179 32 4096 mmcblk0rpmb
254 0 17703 dm-0
179 64 31166976 mmcblk1
179 65 31162880 mmcblk1p1
and
Code:
$ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=962644k,nr_inodes=182058,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
/dev/faccc /fac ext4 rw,seclabel,nodev,noatime,nodiratime,data=ordered 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=755,gid=1000 0 0
tmpfs /mnt/asec2 tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=962644k,nr_inodes=182058,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/lesw /lesw ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 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/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/[0]com.sketchbook-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/vold/179:65 /storage/sdcard1 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:65 /mnt/secure/asec2 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
Does anybody know how to proceed from here? Thanks!
In case anybody else is wondering, I found this wonderfully useful post that solves this problem:
http://forum.xda-developers.com/showpost.php?p=45564277&postcount=4
In case anybody is interested, here's the repository I'm working on:
https://github.com/zyrill/android_device_LENOVO_B8080
I am extremely interested! Nice work
Anny update ?

[Request] [Uniscope-U1203] Roms Development weird request

Hi there,
I am posting this post after long hard working on my own to cook a new rom and recovery for my phone. I have faced alot of problems that I have passed by the help of self digging and searching here and there. But finally I'm now stuck with these very stupid problems that made me completely down, which start with poor internet connection speed, and end with those foolish electricity cutting off periods, that make it very difficult to download all of required sources to establish a development experience. Additionally I cann't establish a VPS due to previous elec. reason and some financial points as well.
So now I'm asking any one who can help me cooking a new one so that I can download and test. And I really appreciate any help because I'm really willing to have one.
My phone is a chinese one made by UNISCOPE brand and it has ((a lot of chinese roms and recoveries)) but they are not recommended to me now as they are not updated and dont have arabic interface.
The phone specifications are as follow:
Manufacturer : Uniscope
Model : U1203
CPU : Qualcomm MSM8625 1.152 GHz x2
RAM : 512+256 MB DDR (Usable: 591 MB)
GPU : Adreno (TM) 203 (single core GPU) by Qualcomm
Display size : 540×960 (X/Y dpi 159 / 160 ; Pixel Density: 240 dpi)
Network : Dual SIM (CDMA/ GSM)
Camera : Back 8 MP and front 2 MP
Full specs and other Information about this phone will be found at its formal web page on this link : http://en.uniscope.com/show.php?contentid=21
Alternative links:
if the Official website are not loading which is the case now from my location at least here are the alter natives:
- Full specs at : http://www.mobile-phones.cn/uniscope-u1203-dual-core-msm8625-768mb-inch-smart-phone-p-13703.html
= Official firmwares:
- Ice cream sandwich 4.0.4 at : http://www.romzj.com/rom/6180.htm
- Jily beans 4.1.2 at : http://pan.baidu.com/share/link?shareid=423245&uk=2871557411
- Custom ROMs and recoveries at : http://bbs.zhiyoo.com/forum-820-1.html
Note: Official firmwares are of two different file system tables(partitions) which are ics 4.0.4 one and jb 4.1.2. so that I will concentrate on jb 4.1.2 version resources here; to continue building according to them specially the file system partitioning.
Here are some essential requirements:
1- A copy of /system/build.prop file : http://www.mediafire.com/download/occiy4b84c2yu4f/build.prop.7z
2- The file system table of the phone:
Code:
# mount point fstype device [device2]
/boot emmc /dev/block/mmcblk0p16
/system ext4 /dev/block/mmcblk0p17
/data ext4 /dev/block/mmcblk0p21
/persist ext4 /dev/block/mmcblk0p15
/cache ext4 /dev/block/mmcblk0p18
/recovery emmc /dev/block/mmcblk0p13
/FOTA emmc /dev/block/mmcblk0p19
/splash emmc /dev/block/mmcblk0p22
/emmc vfat /dev/block/mmcblk0p20
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
3- The result of "cat proc/partitions":
Code:
major minor #blocks name
179 0 3817472 mmcblk0
179 1 20 mmcblk0p1
179 2 250 mmcblk0p2
179 3 51200 mmcblk0p3
179 4 1 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 3072 mmcblk0p6
179 7 3072 mmcblk0p7
179 8 3072 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 4096 mmcblk0p10
179 11 1024 mmcblk0p11
179 12 768 mmcblk0p12
179 13 13576 mmcblk0p13
179 14 10240 mmcblk0p14
179 15 10240 mmcblk0p15
179 16 13576 mmcblk0p16
179 17 460800 mmcblk0p17
179 18 102400 mmcblk0p18
179 19 24576 mmcblk0p19
179 20 1048576 mmcblk0p20
179 21 1983508 mmcblk0p21
179 22 3072 mmcblk0p22
179 23 62171 mmcblk0p23
179 32 15454208 mmcblk1
179 33 14359552 mmcblk1p1
179 34 1085440 mmcblk1p2
4- The result of "mount" :
Code:
rootfs / rootfs ro,relatime 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
none /acct cgroup rw,relatime,cpuacct 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
debugfs /mnt/debugfs debugfs rw,relatime,gid=512 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.3/by-num/p17 /system ext4 ro,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.3/by-num/p21 /data ext4 rw,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.3/by-num/p18 /cache ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.3/by-num/p15 /persist ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/vold/179:20 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=continue 0 0
/dev/block/vold/179:33 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=continue 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=continue 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
5- A copy of its stock recovery.img: http://www.mediafire.com/download/k5xr0dkn1zpe3dc/recovery.img.7z
6- A copy of its stock boot.img: http://www.mediafire.com/download/c26vipdqmdruqvq/boot.img.7z
7- A copy of device/uniscope/u1203 folder that I worked hard to produce (building it from scratch) is on this link: http://www.mediafire.com/download/qgejhh6q1cbfv1r/device-uniscope-u1203.7z
Note: I built these device files according to different resources. firstly the original source has been taken from Codeaurora project. then has been modulated according to the building rules of CyanogenMod.
The list of required blobs has been created by help of other MSM8625 phones lists and by help of two pieces of software that I developed; and finally the list is now up. but I hope its really full and enough to establish an appropriate and fine booting; and this will depend on the future testing I guess.
8- A copy of device/qcom folder that is needed by device/uniscope/u1203 because of some includes is on this link : http://www.mediafire.com/download/bcnxkn85iuawsvc/device-qcom.7z
Note: I think with developing a new rom you may find some includes, from this part of "make files", that are missed which may be found in the source of Codeaurora project in the links below. Another small note here, which is when I run "adb devices" in the terminal my device appear with msm8625qdr5. and this my give a hint to help selecting the appropriate source from list in the QDR-Android Codeaurora project.
9- A copy of vendor/uniscope/u1203 folder that I prepared and extracted according to the scripts in the uniscope device folder is on this link : http://www.mediafire.com/download/v3bsa1den7az81v/vendor-uniscope-u1203.7z
10- And here's a copy of all phone's /system/bin folder contents if needed : http://www.mediafire.com/download/vfl48va4qam5lcp/system-bin.7z
Android Sources related to my phone:
1- The most correctly expected as source of my phone android present in this Codeaurora project :
https://www.codeaurora.org/xwiki/bin/QRD-Android/
2- The source of general android project of codeaurora:
https://www.codeaurora.org/xwiki/bin/QAEP/
3- The list of active projects of Codeaurora:
https://www.codeaurora.org/projects/all
Thank you in advance

Cyanogenmod: Internal Storage not fully recognized / accessible

I installed CM 12.1 (Android 5.1.1) on my Meizu MX4 Ubuntu (16GB internal storage)
Internal storage (User) in CM is shown as 775MB (Used: 617M, free: 158.0M), but DiskInfo indicates: Data (userdata) mmcblk0p16, Used: 11,7GB, free 131MB
Diskinfo seems to show the right size (16GB minus Android-data etc), but I cannot access this space within my internal storage in cm to check the 11,7GB used (could be some ubuntu files or zip-files from flashing).
Anyone an idea how I can access the full userdata partition and how i can tell cm to show/use it?
Partition results from terminal:
[email protected]:/ # cat /proc/partitions
major minor #blocks name
7 0 3136 loop0
179 0 15388672 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 256 mmcblk0p5
179 6 384 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 6144 mmcblk0p9
179 10 512 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 10240 mmcblk0p12
179 13 10624 mmcblk0p13
179 14 2113536 mmcblk0p14
179 15 720896 mmcblk0p15
179 16 12439040 mmcblk0p16 => (userdata -> /dev/block/mmcblk0p16)
179 17 16384 mmcblk0p17
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
253 0 3136 dm-0
[email protected]:/ # du -hs /
1.2G /
: df
Filesystem Size Used Free Blksize
/dev 946.1M 64.0K 946.0M 4096
/sys/fs/cgroup 946.1M 20.0K 946.0M 4096
/mnt/asec 946.1M 0.0K 946.1M 4096
/mnt/obb 946.1M 0.0K 946.1M 4096
/storage/emulated 946.1M 0.0K 946.1M 4096
/system 1.2G 479.3M 791.6M 4096
/data 774.9M 616.9M 158.0M 4096 (=> userdata)
/cache 681.9M 808.0K 681.1M 4096
/protect_f 4.8M 56.0K 4.8M 4096
/protect_s 4.8M 52.0K 4.8M 4096
/mnt/secure/asec 774.9M 616.9M 158.0M 4096
/mnt/shell/emulated 774.9M 616.9M 158.0M 4096
/mnt/asec/mz.guitar 3.0M 1.8M 1.2M 4096
I have exactly the same issue with my MX4 and a CM13 image.
Did you find a solution ?
cm_ubu said:
I installed CM 12.1 (Android 5.1.1) on my Meizu MX4 Ubuntu (16GB internal storage)
Internal storage (User) in CM is shown as 775MB (Used: 617M, free: 158.0M), but DiskInfo indicates: Data (userdata) mmcblk0p16, Used: 11,7GB, free 131MB
Diskinfo seems to show the right size (16GB minus Android-data etc), but I cannot access this space within my internal storage in cm to check the 11,7GB used (could be some ubuntu files or zip-files from flashing).
Anyone an idea how I can access the full userdata partition and how i can tell cm to show/use it?
Partition results from terminal:
[email protected]:/ # cat /proc/partitions
major minor #blocks name
7 0 3136 loop0
179 0 15388672 mmcblk0
179 1 3072 mmcblk0p1
179 2 5120 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 10240 mmcblk0p4
179 5 256 mmcblk0p5
179 6 384 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 6144 mmcblk0p9
179 10 512 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 10240 mmcblk0p12
179 13 10624 mmcblk0p13
179 14 2113536 mmcblk0p14
179 15 720896 mmcblk0p15
179 16 12439040 mmcblk0p16 => (userdata -> /dev/block/mmcblk0p16)
179 17 16384 mmcblk0p17
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
253 0 3136 dm-0
[email protected]:/ # du -hs /
1.2G /
: df
Filesystem Size Used Free Blksize
/dev 946.1M 64.0K 946.0M 4096
/sys/fs/cgroup 946.1M 20.0K 946.0M 4096
/mnt/asec 946.1M 0.0K 946.1M 4096
/mnt/obb 946.1M 0.0K 946.1M 4096
/storage/emulated 946.1M 0.0K 946.1M 4096
/system 1.2G 479.3M 791.6M 4096
/data 774.9M 616.9M 158.0M 4096 (=> userdata)
/cache 681.9M 808.0K 681.1M 4096
/protect_f 4.8M 56.0K 4.8M 4096
/protect_s 4.8M 52.0K 4.8M 4096
/mnt/secure/asec 774.9M 616.9M 158.0M 4096
/mnt/shell/emulated 774.9M 616.9M 158.0M 4096
/mnt/asec/mz.guitar 3.0M 1.8M 1.2M 4096
Click to expand...
Click to collapse
Solved
I deleted all, played around with adb parted and formatting (fastboot and adb), installed android, deleted all again, installed CM and now it works. I dont know exactly where the error was, but this way you probably can also solve the problem. Good luck!
PS: I am really disappointed from ubuntu phone. CM is exactly what I expected from ubuntu, it is great!!

Categories

Resources