Unbricking my Fonepad7 k00e with a currupted partition. - Asus Fonepad 7

Here are the facts:
my tablet was throwing errors about google app and google search box crashing. I restarted the tablet and it got stuck at boot loop.
K00E with firmware,UL-K00E-WW-7.6.0.0-user, not rooted.
what I've tried:
factory reset under droidboot:
Code:
E:failed to mount /cache (Invalid argument)
unable to mount /cache! we skip check debricking
SD download of the latest RAW file under under droidboot:
again
Code:
E:failed to mount /cache (Invalid argument)
unable to mount /cache!
Installing the firmware zip file using custom recovery:
I used this to run CWM. I cleared cache, user data, factory reset and then tried to install using external SD zip file.
Code:
failed to mount /dev/block/mmcblk0p8 at /system: Invalid argument
trying to re partition the internal SD:
from here
I tried to run parted to fix it but I am getting this
Code:
~ # parted
parted
/sbin/parted: line 1: syntax error: unexpected word (expecting ")")
~ #
I added no arguments to parted, and still it is giving me this error. I even tried pushing another copy of parted and chmodding it to execute it, still the same thing occurs.
I also tried this
on running th second command I have
Code:
~ # tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
tune2fs 1.41.11 (14-Mar-2010)
tune2fs: Bad magic number in super-block while trying to open /dev/block/mmcblk0
p8
Couldn't find valid filesystem superblock.
~ #
any ideas how to move forward?

Related

Phone stuck in reboot recovery... Help!

I was trying to follow the steps below to install the optical trackpad wake-up. I did the first step "adb reboot recovery". Couldn't get past there. Now my phone is stuck in reboot recovery. How do I get it out and can I do this without reformatting the phone?
zerf said:
I installed this and it worked perfect. Download the file and put the qwerty.kl file in your directory that adb is located. Then follow the commands below.
while phone is powered on plug it in and then do
Code:
adb reboot recovery
Once booted in to recovery do
Code:
adb shell
mount -a
(it will give error saying it couldnt mount curtain things. This is OK)
Looks like this
Code:
~ # mount -a
mount -a
mount: mounting /dev/block/mmcblk1 on /sdcard failed: Invalid argument
mount: mounting /dev/block/mmcblk1p2 on /sd-ext failed: No such file or directory
Now run
Code:
df
to make sure that /system is in the list that it outputs.
Should look like this.
Code:
~ # df
df
Filesystem 1K-blocks Used Available Use% Mounted
tmpfs 206848 0 206848 0% /dev
/dev/block/mmcblk0p2 198337 7453 190884 4% /cache
/dev/block/mmcblk0p1 765992 153464 612528 20% /data
/dev/block/mtdblock6 152576 122712 29864 80% /datadat
/dev/block/mtdblock3 253952 180320 73632 71% /system
then
Code:
cd /system/usr/keylayout
cp qwerty.kl qwerty.kl.old
(do this so we have a backup incase we need to go back)
now type exit and then run this
Code:
adb push qwerty.kl /system/usr/keylayout
adb reboot
once booted you should be able to power the screen on with your trackpad.
**** I have noticed that if your phone isn't waking by the trackpad try pressing a little harder or holding the button down for a little longer and then it usually works fine****
Click to expand...
Click to collapse
Sorry MODS for making this thread! I figured it out.

Please Help. i9000 Bricked sdcard mount issue. Bricked?

Hi,
iam getting sdcard mount error message. I tried to flash with odin froyo 2.2 with partition checked 512 and every file properly loaded and also with ezrom.
Then i tried to adb push some files to /sbin/ which are
e2fsck
mke2fs
parted
resize2fs
sdparted
tune2fs
which worked. i type adb shell and i get /# sign. Then i try to change directory typing /sbin/ and i get a message permission denied.
What iam doing wrong. I have searched and tried a lot. My i9000 was running darky 10.1 before sdcard mount issue.
Code:
--Copying media files...
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard your storage not prepared yet. please use ui menu for format and reboot actions.
Meida files copy failed.
--Wiping data...
Formating /data...
E:format_volume: rfs format failed on /dev/block/mmcblk0p2
Formating /dbdata...
Formating /cache...
Data wipe failed.
--Applying /Multi-CSC...
Installing Multi-CSC
Can't access to '/system/csc/xee/system/'.
Sucessfully applied multi-csc
indianx said:
Hi,
iam getting sdcard mount error message. I tried to flash with odin froyo 2.2 with partition checked 512 and every file properly loaded and also with ezrom.
Then i tried to adb push some files to /sbin/ which are
e2fsck
mke2fs
parted
resize2fs
sdparted
tune2fs
which worked. i type adb shell and i get /# sign. Then i try to change directory typing /sbin/ and i get a message permission denied.
What iam doing wrong. I have searched and tried a lot. My i9000 was running darky 10.1 before sdcard mount issue.
Code:
--Copying media files...
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard your storage not prepared yet. please use ui menu for format and reboot actions.
Meida files copy failed.
--Wiping data...
Formating /data...
E:format_volume: rfs format failed on /dev/block/mmcblk0p2
Formating /dbdata...
Formating /cache...
Data wipe failed.
--Applying /Multi-CSC...
Installing Multi-CSC
Can't access to '/system/csc/xee/system/'.
Sucessfully applied multi-csc
Click to expand...
Click to collapse
just reflash...next time post in the proper section
I have reflashed at least 10 times. Getting the same message over and over again.
Is Android UI loaded correctly? If so, go to settings and format your internal SD
its not booting up. no menu nothing.
i can get into recovery and download.
I'm also stuck @ same problem still unsolved!!
but buddy this is not the section a mod would close it !!
and here's the link to my thread!
http://forum.xda-developers.com/showthread.php?t=1249641
Try this while in recovery (clockwork) via adb:
adb shell
mount /sdcard
su
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
quit
Now odin with repartition and your phone maybe will be resurrected . I tried this to my phone and worked
Alberto96 said:
Try this while in recovery (clockwork) via adb:
adb shell
mount /sdcard
su
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
quit
Now odin with repartition and your phone maybe will be resurrected . I tried this to my phone and worked
Click to expand...
Click to collapse
Thanks this resurrected my phone , yeah !!!
ghettino said:
Thanks this resurrected my phone , yeah !!!
Click to expand...
Click to collapse
You are welcome

[Q] [data2sd] invalid filesystem superblock

Moin,
after no special action on sunday I got a boot loop. It should be cause by the following error:
Code:
I//system/xbin/busybox(): /system/bin/tune2fs: No such file or directory while trying to open /dev/block/mmcblk0p2
I//system/xbin/busybox(): Couldn't find valid filesystem superblock.
I//system/xbin/busybox(): mount: mounting /dev/block/mmcblk0p2 on /data failed: No such file or directory
The output of
Code:
/system/bin/tune2fs -l /dev/block/mmcblk0p2
is:
Filesystem state: not clean with errors
I have tried to install Data2SDReInstallerX1.zip - but it doesn't work.
And I cant find fsck to repair the partition.
filesystem cleaned in recovery with:
Code:
umount /dev/block/mmcblk0p2
e2fsck -ycv /dev/block/mmcblk0p2
tune2fs -l /dev/block/mmcblk0p2
What can I else do?
Model: Bravo HTC Desire PVT1 SHIP Aktivmatrix-OLED MICROP-031d
Baseband/Radio: 32.56.00.32U_5.17.05.23
Software/ROM: GingerBurst_1.0.0.3.zip
Boatloader/H-BOOT: 6.93.1002
Recovery: Revolutionary ClockworkMod Recovery v4.0.1.4
ROOTED: Revolutionary v4.0.1.4 S-OFF
Provider: O2 Germany
Android: 2.3.3
HTC Sense: 2.1
filesystem cleaned in recovery with:
Code:
umount /dev/block/mmcblk0p2
e2fsck -ycv /dev/block/mmcblk0p2
tune2fs -l /dev/block/mmcblk0p2
Better redo it in a card reader and linux. Recovery fsck has limitations.

[Q] [T3buntu] - GT-P5210, Loop device

Hi
I'm trying to install this http://forum.xda-developers.com/showthread.php?t=2573441 on my freshly bought and updated GT-P5210 (rooted stock rom).
The script runs to the point where it has to mount the Image. (using the script from the post)
Code:
$bbox mount -t ext2 /dev/block/loop255 $mnt
This fails with 'invalid parameter', and if i remove '-t ext2' it fails with I/O error
Code:
[email protected]:/ $
[email protected]:/ $ cd /storage/extSdCard/Img
[email protected]:/storage/extSdCard/Img $ su
[email protected]:/storage/extSdCard/Img # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Img/t3buntuv1.2_20131216.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|[email protected]:/storage/extSdCard/Img #
Do I tell busybox to overwrite the 'mount' command?
I used TWRP for root/recovery instead of CWM if that makes a difference.
Best Regards
*Edit, turns out it was a bodged image file transfer

Startup Scripts

Stock ROM, oreo.
How do you execute scripts on startup? Either by init.d or some other means, doesn't matter as long as it works. The /system/etc/init.d folder isn't there. Remounting /system for me doesn't work:
mount -o remount,rw -t ext4 /dev/block/platform/hi_mci.0/by-name/system /system
I get: '/system': Device or resource busy
I reboot into TWRP, I get the same error as above. Any help please?
TouchOdeath said:
Stock ROM, oreo.
How do you execute scripts on startup? Either by init.d or some other means, doesn't matter as long as it works. The /system/etc/init.d folder isn't there. Remounting /system for me doesn't work:
mount -o remount,rw -t ext4 /dev/block/platform/hi_mci.0/by-name/system /system
I get: '/system': Device or resource busy
I reboot into TWRP, I get the same error as above. Any help please?
Click to expand...
Click to collapse
For mounting you use these command.
In local terminal
HWBND-H:/ $ su
HWBND-H:/ # mount -o rw,remount /system
In adb terminal
adb shell su -c mount -o rw,remount /system
And to see how is mounted
HWBND-H:/ # mount | grep system
It should return like this.
/dev/block/mmcblk0p51 on /system type ext4 (rw,seclabel,relatime,data=ordered)
And to go back to ro do this or reboot:
HWBND-H:/ # mount -o ro,remount /system
HWBND-H:/ # mount | grep system
/dev/block/mmcblk0p51 on /system type ext4 (ro,seclabel,relatime,data=ordered)
mrmazak said:
For mounting you use these command.
In local terminal
HWBND-H:/ $ su
HWBND-H:/ # mount -o rw,remount /system
In adb terminal
adb shell su -c mount -o rw,remount /system
And to see how is mounted
HWBND-H:/ # mount | grep system
It should return like this.
/dev/block/mmcblk0p51 on /system type ext4 (rw,seclabel,relatime,data=ordered)
And to go back to ro do this or reboot:
HWBND-H:/ # mount -o ro,remount /system
HWBND-H:/ # mount | grep system
/dev/block/mmcblk0p51 on /system type ext4 (ro,seclabel,relatime,data=ordered)
Click to expand...
Click to collapse
Thank you for your response I appreciate it. I ended up making my problem more complicated than it had to be. The solution was to open terminal and do:
adb shell
su
mkdir /system/etc/init.d
cp /storage/emulated/0/Downloads/script.sh /system/etc/init.d/script.sh
If I tried to create the folder through a rooted app (Total Commander), it didn't work. Copying the file through an app didn't work either.

Categories

Resources