Hudl 2 tablet gone read-only - Android Q&A, Help & Troubleshooting

Recently I was asked to look at a Hudl 2 tablet for someone because Unfortunately, <app> has stopped working appears continually for various apps to the point where the tablet is unusable. It generally starts around fifteen minutes after boot, or almost immediately when connected to WiFi.
One of the first things I did was enable USB debugging and try see if logcat was of any help, since the issue seemed to affect most of the few installed apps. What I found is a little weird - it seems the device has gone read-only:
Code:
W/CatchMeIfYouCan( 1779): IOException
W/CatchMeIfYouCan( 1779): java.io.FileNotFoundException: /data/data/com.facebook.katana/app_cmiyc/--snip--: open failed: EROFS (Read-only file system)
...
E/DropBoxManagerService( 515): Can't write: system_server_wtf
E/DropBoxManagerService( 515): java.io.FileNotFoundException: /data/system/dropbox/drop72.tmp: open failed: EROFS (Read-only file system)
...
E/SQLiteDatabase( 515): Error inserting COL_TIMESTAMP=1449339690983 COL_EVENT_NAME=device.logs.message COL_JSON_DATA={"message":"Failed to open database '\/data\/data\/com.google.android.talk\/databases\/message_store.db'.","process":"SQLiteDatabase","timestamp":1449339690983,"severity":"E","eventName":"device.logs.message","processId":" 2388","sourceId":"63a914a45c666fd344ae04a0cfe24298"}
...
E/AndroidRuntime( 3944): Process: com.google.process.gapps, PID: 3944
E/AndroidRuntime( 3944): java.lang.RuntimeException: Unable to get provider com.google.android.gsf.gservices.GservicesProvider: android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
...
E/DropBoxManagerService( 515): Can't write: system_app_crash
E/DropBoxManagerService( 515): java.io.FileNotFoundException: /data/system/dropbox/drop131.tmp: open failed: EROFS (Read-only file system)
...
These errors appear continually and fill mintty's scrollback buffer within a few seconds.
Given that the device is unrooted, I figured there's not much I can do to try fix the issue other than a factory reset. The factory reset from the bootloader seemed to have completed successfully having reportedly erased the relevant filesystems, yet when I booted the device back up it was the exact same as it was before. I then thought I could try rooting the device in case I could fix the problem. I followed a guide from MoDaCo (unable to link because I'm a new user), but when I try to flash the image through fastboot it hangs. After rebooting, it's again exactly the same.
Here's the output from adb shell mount:
Code:
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
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/platform/intel/by-label/factory /factory ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/intel/by-label/system /system ext4 ro,seclabel,noatime,data=ordered 0 0
/dev/block/platform/intel/by-label/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/intel/by-label/config /config ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/platform/intel/by-label/data /data ext4 ro,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/intel/by-label/logs /logs ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime,mode=755 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
tmpfs /mnt/libreg tmpfs rw,seclabel,noexec,noatime,size=4k,mode=700,gid=1003 0 0
Hardware issue?
I'm guessing this tablet is toast, but is there anything else I could try?

Related

[Q] How to view/expand partitions

I have no idea if this belongs here, so feel free to move this thread.
I have a Qualcomm MDP MSM8660, which, frankly, I am way too much of a noob to use. I, with the help of someone, finally managed to install gapps and am able to use the market. The problem is, the Market claims that there is no room to install apps, even though the phone says that there is 888MB free. So I presume that the market sees some other partition which is full. If this is the case, how can I make it see the other partition, or alternatively expand the partition. I don't even know how to view the partitions to see if the above theory is correct.
EDIT: I checked using Android System Information, and the Data partition is nearly a Gigabyte. So any suggestions on why the Market thinks that there is no room. When I used ADB to push the gapps to /system there also wasn't any room, so I had to clear some apps. But I believe that's a different partition.
Any ideas?
Thanks
To view the partitions on your device you should run mount through adb shell. Post the output here.
Here it is:
>adb shell 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
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered
,noauto_da_alloc 0 0
/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,barrier=1,data=orde
red 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordere
d 0 0
/dev/block/mmcblk0p16 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=o
rdered 0 0
/dev/block/mmcblk0p1 /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utim
e=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=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /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/dm-0 /mnt/asec/com.estrongs.android.pop-1 vfat ro,dirsync,nosuid,node
v,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,sho
rtname=mixed,utf8,errors=remount-ro 0 0
EDIT: Not really related, but I even though this is supposed to be rooted, and through ADB it does seem so , after remount, Superuser says it's not and in Terminal it shows "$" and when I type "su" it says uid 10006 not allowed to su". Any ideas?
Does anyone have any ideas? Also how to symlinks?
Thanks.

[Q] i9300 - how to extract bootloader

Hey
Currentrly i would like to analyze boostloader/download mode behavior and its internals. Coud someone help me to download bootloader binary ( or img or even some executable codes no matter ) from the i9300?
Through adb i didnt see any bootloader devices attached ( and that's right coz it already executed =D ) But i tried to locate it through
-adb shell
mount
Here is list of mounted devices:
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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_c
ommit,data=ordered 0 0
/dev/block/mmcblk0p9 /system ext4 ro,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p8 /cache ext4 rw,nosuid,nodev,noatime,errors=panic,barrier=1,
journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async
_commit,data=ordered,noauto_da_alloc,discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,gro
up_id=1023,default_permissions,allow_other 0 0
[email protected]:/ $
Click to expand...
Click to collapse
PS:
Just to clarify:
I'm researching commands that are sent by ODIN to do its job. Also implemented heimdall-based sample that send "control codes" through libusb to the device. But without any success. ( found 0x68 command that was not used in heimdall, but device responses to it ). That's why i'm looking for a way to extract device's bootloader for short arm reverse engineering :fingers-crossed:

[Q] Can't access internal storage - Ascend G300

Hello,
I'm using CyanogenMod 10.2 (on CM 10.1 that happened too) by Dazzozo.
My problem is, that apps can't access internal storage (File Explorer on Root permissions is able to). I've tried to reinstall system for a few times, formatting internal storage but nothing works.
I spent ab. 2 hours on studying google results, trying to understand what is wrong with this.
I don't know if this is helpful, but I've found, that when I will su on system/sdcard_rw I'm able to create/delete files and folders, but on default user at Terminal Emulator (u0_a44) I'm only able to read files and I can't create new ones or delete them.
Mounts:
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
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
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p6 /cache ext4 rw,seclabel,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p12 /system ext4 ro,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p13 /data ext4 rw,seclabel,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/179:19 /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
I will appreciate any help.

[Q] Can't mount External SD Card

Hi all,
I have a Samsung Galaxy S4 (gt-i9505) on which I have Philz CWM Recovery and have install CyanogenMod 11.
I have two identical phones on which I have done exactly the same procedure (I thought!) to install the new ROM and recovery and one of them is perfectly fine whereas the other one is experiencing the following issue...
Everything has worked fine and the phone functions ok except while I was installing the ROM I found that I couldn't save anything to my external SD card. Now, since the ROM has been installed the external SD card is not accessible and attempting to mount it under the Storage menu says 'mounting ...' in the notification area but then doesn't nothing and the card is not mounted.
I assume I have done something to the permissions or symlinks when in the recovery but can't figure out what I did. I have inspected the file system of both phones via adb and the layout of folders and symlinks looks identical. The fstab.qcom and init.qcom.rc files also look identical.
When running the mount command on the phone with the SD card issue I get the following output:
Code:
rootfs / rootfs ro,seclabel,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
debugfs /sys/kernel/debug debugfs 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
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
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,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,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/apnhlos /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/block/platform/msm_sdcc.1/by-name/mdm /firmware-mdm vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 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/lv.mendo.posingapp-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
Any ideas?
thanks
Aaron

Orange Rono (Zte Blade Vec 4G) totally messed up - RO memory - Help please

How did I end up here?
1. Installed CM 12.1 Beta 4 from our friendly user forumber via TWRP
2. As GPS and camera didn't work, tried to get back to stock
3. Tried to flash 5 different roms (2 custom & 3 officials) but "error executing updater binary" just wouldn't let me
4. I don't know how but I finally managed to flash Yoigo stock one (Actualizacion_Blade_Vec_4G_Yoigo_V1.0.0B04.zip)
5. TWRP & Root went off. The entire internal memory is now on read-only memory.
Can't download a single file from the phone but somehow I can install apps via Play Store (pretty much the only thing I can do).
The only progress I made so far is to get root back again via Windows Kingroot.
Adb is working properly but mount command tells me operation not permitted
What should I do now? Replace Kingroot with Supersu? Change ro.secure parameter modding boot.img?
And most important: giving the circumstances, how could I do what you suggest me?
I should point out that I know nothing about programming and having got so far surprised me.
Thank you everybody in advance.
P.D. I don't know if the code I'll post will tell you something, but this is what cat /proc/mounts tells me:
Code:
[email protected]:/ $ cat /proc/mounts
cat /proc/mounts
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=419008k,nr_inodes=104752,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
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=419008k,nr_inodes=104752,mod
e=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=419008k,nr_inodes=104752,mode=75
5,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=419008k,nr_inodes=104752,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 rw,seclabel,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/userdata /data ext4 rw,seclabel,nosuid,no
dev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,node
v,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=low
er,errors=remount-ro 0 0

Categories

Resources