Nook HD (Hummingbird) restore stock (or possibly bricked?) - Nook HD, HD+ Q&A, Help & Troubleshooting

A few years ago, I installed CM 11 (20140804) on my friend's Nook HD. At some point, he told me it stopped working, but we didn't discuss it much until he pulled it out recently. CM would constantly reboot as though it were an initial boot (CM boot logo, "Upgrading Android - Optimizing Apps", Reboot). I've seen similar behavior fixed by resets, so I figured I'd just re-install stock while I was at it.
Not so much.
I threw in an SD which had TWRP (I forget which version offhand) and CM10 installed, and it launched to TWRP, rather than booting. I though it was a little odd, but figured I'd just held the down button while booting accidentally. I tried to install the 9/2018 stock, but it failed saying "E:\ Unknown Command" with some complaint about "no_factory_override". I tried again using CWM 6.0.2.7, but got the same result. Poking around with CWM, I found that neither /data nor /emmc will mount, and attempting to factory reset gives an error when trying to wipe /data (which makes sense, since it isn't mounted).
I pulled up ADB and shelled in, and got the following:
~ # mount data
mount: mounting /dev/block/mmcblk0p10 on /data failed: Invalid argument
~ # mount emmc
mount: mounting /dev/null on /emmc failed: No such device
~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,nosuid,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)
/dev/block/mmcblk0p9 on /cache type ext4 (rw,nodev,noatime,nodiratime,barrier=1,
data=ordered)
/dev/block/mmcblk0p6 on /bootdata type vfat (rw,nodev,noatime,nodiratime,fmask=0
000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mix
ed,errors=remount-ro)
/dev/block/mmcblk0p8 on /system type ext4 (rw,nodev,noatime,nodiratime,barrier=1
,data=ordered)
/dev/block/mmcblk1p1 on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=000
0,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed
,errors=remount-ro)
/dev/block/mmcblk1p1 on /sdcard type vfat (rw,relatime,fmask=0000,dmask=0000,all
ow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-
ro)
Click to expand...
Click to collapse
The relevant lines from fstab are:
/dev/block/mmcblk0p10 /data ext4 rw
/dev/null /emmc datamedia rw
Click to expand...
Click to collapse
So I guess my question is, is the emmc shot? I didn't know this was a thing until I was looking into the issue, and I don't know which emmc this unit has. I don't know what precipitated the original bootloop, since the tablet wasn't in my possession, but I would assume it was caused by the corruption of /data and /emmc.
If anyone has encountered such an issue and fixed it, any help would be appreciated.

antjenkins said:
A few years ago, I installed CM 11 (20140804) on my friend's Nook HD. At some point, he told me it stopped working, but we didn't discuss it much until he pulled it out recently. CM would constantly reboot as though it were an initial boot (CM boot logo, "Upgrading Android - Optimizing Apps", Reboot). I've seen similar behavior fixed by resets, so I figured I'd just re-install stock while I was at it.
Not so much.
I threw in an SD which had TWRP (I forget which version offhand) and CM10 installed, and it launched to TWRP, rather than booting. I though it was a little odd, but figured I'd just held the down button while booting accidentally. I tried to install the 9/2018 stock, but it failed saying "E:\ Unknown Command" with some complaint about "no_factory_override". I tried again using CWM 6.0.2.7, but got the same result. Poking around with CWM, I found that neither /data nor /emmc will mount, and attempting to factory reset gives an error when trying to wipe /data (which makes sense, since it isn't mounted).
I pulled up ADB and shelled in, and got the following:
The relevant lines from fstab are:
So I guess my question is, is the emmc shot? I didn't know this was a thing until I was looking into the issue, and I don't know which emmc this unit has. I don't know what precipitated the original bootloop, since the tablet wasn't in my possession, but I would assume it was caused by the corruption of /data and /emmc.
If anyone has encountered such an issue and fixed it, any help would be appreciated.
Click to expand...
Click to collapse
Nooks can't be bricked. I made a thread about a week ago of going back to stock. Have a look at this. https://forum.xda-developers.com/no...ck-nook-hd-nook-hd-2-2-1-2018-update-t3840163
And if you want to give CM 11 a try again, I made CM 11 for hummingbird. Keep an eye out on the thread, because I will have a new build out shorty. https://forum.xda-developers.com/nook-hd/development/rom-lineageos-11-t3665351
***EDIT***
I didn't read your whole thread, try going into the system... I had the same message on my Nook HD+ (ovation), and I had stock installed without a problem.

secretwolf98 said:
Nooks can't be bricked. I made a thread about a week ago of going back to stock. Have a look at this. https://forum.xda-developers.com/no...ck-nook-hd-nook-hd-2-2-1-2018-update-t3840163
And if you want to give CM 11 a try again, I made CM 11 for hummingbird. Keep an eye out on the thread, because I will have a new build out shorty. https://forum.xda-developers.com/nook-hd/development/rom-lineageos-11-t3665351
***EDIT***
I didn't read your whole thread, try going into the system... I had the same message on my Nook HD+ (ovation), and I had stock installed without a problem.
Click to expand...
Click to collapse
That was the stock build I was trying to install (thanks for providing it, by the way). The main problem seems to be that /data doesn't mount (bad argument probably means the partition is corrupted?). I'll try an e2fsck tomorrow. What recovery are you using to flash that stock?

antjenkins said:
That was the stock build I was trying to install (thanks for providing it, by the way). The main problem seems to be that /data doesn't mount (bad argument probably means the partition is corrupted?). I'll try an e2fsck tomorrow. What recovery are you using to flash that stock?
Click to expand...
Click to collapse
Your welcome. I used @amaces TWRP build. https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww/file/316434771307

antjenkins said:
A few years ago, I installed CM 11 (20140804) on my friend's Nook HD. At some point, he told me it stopped working, but we didn't discuss it much until he pulled it out recently. CM would constantly reboot as though it were an initial boot (CM boot logo, "Upgrading Android - Optimizing Apps", Reboot). I've seen similar behavior fixed by resets, so I figured I'd just re-install stock while I was at it.
Not so much.
I threw in an SD which had TWRP (I forget which version offhand) and CM10 installed, and it launched to TWRP, rather than booting. I though it was a little odd, but figured I'd just held the down button while booting accidentally. I tried to install the 9/2018 stock, but it failed saying "E:\ Unknown Command" with some complaint about "no_factory_override". I tried again using CWM 6.0.2.7, but got the same result. Poking around with CWM, I found that neither /data nor /emmc will mount, and attempting to factory reset gives an error when trying to wipe /data (which makes sense, since it isn't mounted).
I pulled up ADB and shelled in, and got the following:
The relevant lines from fstab are:
So I guess my question is, is the emmc shot? I didn't know this was a thing until I was looking into the issue, and I don't know which emmc this unit has. I don't know what precipitated the original bootloop, since the tablet wasn't in my possession, but I would assume it was caused by the corruption of /data and /emmc.
If anyone has encountered such an issue and fixed it, any help would be appreciated.
Click to expand...
Click to collapse
Did you try the CWM recovery/stock in this thread: https://forum.xda-developers.com/showthread.php?t=2062613
Note that there is a different CWM for the stock recovery and another for various changes. This is what I have always used to return the tablet to out-of-the-state.

Related

[CM7] Boot loop issue - Noticed more people now seeing this issue

I noticed more people are having same issue as me and I wanted to create a thread to find the solution.
I was running CM7 RC4 / OC 40311 - It was running fine and one day system hung and so I rebooted and that was it.
Symptom :
System boots and pass the "Touch the future Reading" and displays "ANDROID _" on the bottom of the screen and after 10-15 sec it reboots and loop this process.
Things I tried so far :
CWR 3.0.0.5
- Repratition to stock nook.
- Getting error when I try to format system and data - I thought it was because CM7 was setting system to ext4.
- ADB and DD boot.img, System.img and copy Factory to mmcblk0p3
- Try to restore from back up I made
- Nothing works but goes back to boot loop
CWR 3.0.0.6 - One I got from CM7 install to emmc thread
- System format works
- Install latest nightly
- Restore from back up
- ADB can't find device - This is odd and couldn't find a way to fix it yet.
- Tried to install Stock zip but going back to CM7 boot loop
CWR 3.0.1.0
- Can't format data/system
- ADB to delete partitions and create them again but it doesn't help
- Tried all zip files to bring it back to stock - no go
- ADB to copy Factory.zip to emmc partition - umount and mount again then file I copied is gone.
- Deleted partitions and reboot but some how I got back to CM7 loop
If you are having same issue please post and share your experiences so we can find the solution!!!
tuxhacker said:
Symptom :
System boots and pass the "Touch the future Reading" and displays "ANDROID _" on the bottom of the screen and after 10-15 sec it reboots and loop this process.
Click to expand...
Click to collapse
This means the kernel is loading, and most likely the init.encore.rc is running as well. Have you tried grabbing a log from adb logcat? Or perhaps checking if the shell works?
tuxhacker said:
Things I tried so far :
CWR 3.0.0.5
- Repratition to stock nook.
Click to expand...
Click to collapse
How are you repartitioning?
tuxhacker said:
- Getting error when I try to format system and data - I thought it was because CM7 was setting system to ext4.
Click to expand...
Click to collapse
What is the error?
tuxhacker said:
CWR 3.0.1.0
- Can't format data/system
Click to expand...
Click to collapse
Again- if its getting an error, what is that error? Have you tried formatting manually?
tuxhacker said:
- ADB to delete partitions and create them again but it doesn't help
Click to expand...
Click to collapse
Errors? Logs?
You have to be more specific.
- I was flashing "repartition-boot-with-stock.zip" also tried to delete the partitions using fdisk - from adb shell
- And I was getting "Error formatting / system!" and "Error formatting /Data!" from CWR format system and format data
I also tried to format it manually using "mke2fs /dev/block/mmcblk0p1,2 and 3..."
And could you please tell me how to get the log?
Thank you.
have you tried booting off an cwr 3.0.1.0 bootable sd card and formatting reinstalling?
john10101 said:
have you tried booting off an cwr 3.0.1.0 bootable sd card and formatting reinstalling?
Click to expand...
Click to collapse
Yes I have. I tried several times. It seems like my nook is a read only device now. It won't take any changes.
tuxhacker said:
Yes I have. I tried several times. It seems like my nook is a read only device now. It won't take any changes.
Click to expand...
Click to collapse
unpossible!
chisleu said:
unpossible!
Click to expand...
Click to collapse
Here's one example. I did this from CWR 3.0.1.0.
- Mount mmcblk0p3 to emmc
- Copied factory.zip to emmc
- ls -l /emmc to check the new file
- umount /emmc
- Mount /emmc again
- ls -l as you can see old file date again.
Code:
~ # mount -w /dev/block/mmcblk0p3 /emmc
mount -w /dev/block/mmcblk0p3 /emmc
~ # mount
mount
/dev/block/mmcblk0p3 on /emmc type ext2 (rw,errors=continue)
~ # exit
C:\Program Files\Android\android-sdk\platform-tools>adb push factory.zip /emmc
3779 KB/s (168335604 bytes in 43.492s)
C:\Program Files\Android\android-sdk\platform-tools>adb shell
~ # ls -l /emmc
ls -l /emmc
-rw-rw-rw- 1 root root 168335604 Apr 17 04:06 factory.zip
drwx------ 2 root root 12288 Oct 23 05:27 lost+found
-rw-rw-rw- 1 root root 2567 Nov 17 22:27 rombackup.zip
~ # umount /emmc
umount /emmc
~ # mount /dev/block/mmcblk0p3 /emmc
mount /dev/block/mmcblk0p3 /emmc
~ # ls -l emmc
ls -l emmc
-rwxrwxrwx 1 root root 168332495 Nov 11 23:35 factory.zip
drwx------ 2 root root 12288 Oct 23 05:27 lost+found
-rw-rw-rw- 1 root root 2567 Nov 17 22:27 rombackup.zip
~ #
May I ask why you had to mess around with the partitions at all?
lechiffre said:
May I ask why you had to mess around with the partitions at all?
Click to expand...
Click to collapse
It was keep rebooting itself so I was trying to reflash CM7 but didn't work. Next I was going back to stock to start over and that didn't work. Found one thread about DD boot.img, system.img and factory.zip to mmcblk0p3 then 8 failed attempt to restore to stock. etc...
I'm sure that while I was trying to fix I made more mess.
I did adb logcat and got the permission denied error.
Code:
C:\Program Files\Android\android-sdk\platform-tools>adb logcat
- waiting for device -
- exec '/system/bin/sh' failed: Permission denied (13) -
Did you try going into clockwork recovery and using the fix permissions option?
tuxhacker said:
It was keep rebooting itself so I was trying to reflash CM7 but didn't work. Next I was going back to stock to start over and that didn't work. Found one thread about DD boot.img, system.img and factory.zip to mmcblk0p3 then 8 failed attempt to restore to stock. etc...
I'm sure that while I was trying to fix I made more mess.
Click to expand...
Click to collapse
I still don't get why you decided the partitions were faulty.
This might not help you now but might help others in you situation. IMO the process should be when you encounter bootlooping:
1. Reflash current OS using CWR 3.1.0 uSD.
2. If Step 1 fails, using CWR 3.1.0 uSD: format /system /data /cache. Attempt to install CM7. If CM7 install fails, attempt to install stock.
3. ***Requires a a working CWR backup which should contain your original boot partition***
If Step 2 fails, using CWR 3.1.0 uSD: format /system /data /cache and /boot. Restore stock /boot partition only via advanced restore. Attempt to install CM7 or stock.
4. ONLY if the previous steps fail should you even touch any partition tool. I've never had to use any, but I've never messed with the partitions in the first place (ie double booting off eMMC).
Just wanted to share that getting stuck on the boot screen may not have anything todo with what or how you've flashed.
On a fresh install/flash of CM7 I can reboot just fine as many times as I want. As soon as I restore all my apps and reboot I get stuck on the boot screen.
So SOMETHING amongst all the apps I have backed up gets me stuck on the boot screen. Really don't want to go through a reboot for each app one at a time though
FIXED - wipe battery status in CWM
This problem seems to occur when the battery runs out, Nook is plugged in and then it hangs at "the future..."
So to fix this problem, boot into CWM (using CWM for SD) and go to Advanced-Recovery and Wipe Battery Status. Remove the CWM SD and go back to the root menu and reboot.
Your CM7 would boot now just fine. I don;t know what the problem is yet, but that seems to fix it. It saved me from reinstall.
the Nook gets into this state only when the battery is completely drained.
TuxHacker, did you ever resolve your issue of what seems to be the internal memory being in a write-protected state? I'm in the exact same boat you are but instead of CM7 I got CWR 3.0.0.5 installed on my boot and brianf's custom froyo installed.
I agree it seems like the device is now write protected as I've mounted boot/system/media and deleted everything in there, ls'd to double check, but once I remount, all the old stuff is back there again.
I also tried using samuelhalff's NookUMC app to mount all the partitions in windows, deleted everything, and upon remount, all the files are back. The NookUMC app was the one I initially used to copy a bunch of mp3's and vids to the media partition in the first place and now this partition behaves as if it was write-protected as well.
lechiffre said:
I still don't get why you decided the partitions were faulty.
This might not help you now but might help others in you situation. IMO the process should be when you encounter bootlooping:
1. Reflash current OS using CWR 3.1.0 uSD.
2. If Step 1 fails, using CWR 3.1.0 uSD: format /system /data /cache. Attempt to install CM7. If CM7 install fails, attempt to install stock.
3. ***Requires a a working CWR backup which should contain your original boot partition***
If Step 2 fails, using CWR 3.1.0 uSD: format /system /data /cache and /boot. Restore stock /boot partition only via advanced restore. Attempt to install CM7 or stock.
4. ONLY if the previous steps fail should you even touch any partition tool. I've never had to use any, but I've never messed with the partitions in the first place (ie double booting off eMMC).
Click to expand...
Click to collapse
I can't speak for TuxHacker, but mucking around with the partitions seems to be a last ditch effort to at least *change* anything on the device. I've followed a few guides on here about showing the partition table and mine matches a stock partition table. I haven't gotten around to actually modifying any of the partitions yet though...
In all of your steps, the first sub-step is to format one or all of /system /data /cache /boot. This is precisely the step that fails for us with "Error Formatting /system!" or any of the others The only CWR that it doesn't fail on is CWR 3.0.0.6, but any flashes don't take, the NC just reverts back to what it was just before the system decided to go read-only.
I'm running off SD now but that is a pretty crappy experience... if anyone can fix the mess we got ourselves into I will def buy that guy a cold one!
drazil22 said:
In all of your steps, the first sub-step is to format one or all of /system /data /cache /boot. This is precisely the step that fails for us with "Error Formatting /system!" or any of the others The only CWR that it doesn't fail on is CWR 3.0.0.6, but any flashes don't take, the NC just reverts back to what it was just before the system decided to go read-only.
I'm running off SD now but that is a pretty crappy experience... if anyone can fix the mess we got ourselves into I will def buy that guy a cold one!
Click to expand...
Click to collapse
Yes. And on CWR 3.0.0.6 I can't connect via ADB so can't do much with it. On CWR 3.0.1.0 and CWR 3.0.0.5 I can connect via ADB but can't format. I tried all the ADB connect tips and tricks but no go.
I think it coubd be a permission issue since I get - exec '/system/bin/sh' failed: Permission denied (13) - when I tried ABD logcat while its rebooting.
I'm also running off SD now and it is really bad.
I'm in the same boat as you guys and I just wanted to add my two cents.
I've tried multiple times to use the partitioning tools that drazil22 is talking about, but every time I reboot, the partitions come back. What is weird is that while I'm still in adb, after I've written the partition table back to the device, is that it shows the new partition table when I tell it to print it out. I can exit all the way out of adb and, unless I've rebooted my nook, the partitions are back to the way they were. However, once I reboot my nook, the partitions come back...
I've gone as far as deleting every single partition and then rebooting just so that I could have a brick to take back to B&N, but the stupid partitions keep coming back...
lol that's what I was thinking too... brick the thing and get the store to reflash it, as someone else with a bricked nook did. I think the store must have another utility or device to reflash it back to stock.
The weird thing is any changes I make stay for the session until I unmount. I tried to copy the system.img and boot.img which is a little over 500MB to the /media partition (mmcblk0p8) but because I filled it with mp3's and videos, only about 200MB was free and of course the adb push errored out saying not enough space. I then navigated to the /media partition, deleted a bunch of videos and was able to adb push the two files over. I was also able to run the dd commands and got the expected results. Upon reboot, of course nothing got dd'd, the two .img files I copied to /media were gone, and the videos I deleted to free up space were back!
I was also hoping that with the new B&N update to 1.20, they might have released a flashing utility but I guess that was wishful thinking...
Edit: one other peculiar thing I noticed is that when I use adb when booted into CM7 (using the SD), it shows the serial number as 11223344556677. When I use adb booted up using the CWR on my boot partition, or with a bootable SD, it shows the actual serial number written on the sticker behind the sd cover.
getllamasfast said:
I'm in the same boat as you guys and I just wanted to add my two cents.
I've tried multiple times to use the partitioning tools that drazil22 is talking about, but every time I reboot, the partitions come back. What is weird is that while I'm still in adb, after I've written the partition table back to the device, is that it shows the new partition table when I tell it to print it out. I can exit all the way out of adb and, unless I've rebooted my nook, the partitions are back to the way they were. However, once I reboot my nook, the partitions come back...
I've gone as far as deleting every single partition and then rebooting just so that I could have a brick to take back to B&N, but the stupid partitions keep coming back...
Click to expand...
Click to collapse
This is odd, but I dont think this is limited to CM7 as I've seen it happen with different phones running AOSP. Over on the Evo there was numerous accounts of peoples devices suddenly rebooting and then getting stuck in a bootloop, all partitions seemed to be corrupted including the recovery partition and there was absolutely no way to write to the system anymore. Complete booting brick. No one was able to find the cause and no one was able to find a fix.
RileyGrant said:
This is odd, but I dont think this is limited to CM7 as I've seen it happen with different phones running AOSP. Over on the Evo there was numerous accounts of peoples devices suddenly rebooting and then getting stuck in a bootloop, all partitions seemed to be corrupted including the recovery partition and there was absolutely no way to write to the system anymore. Complete booting brick. No one was able to find the cause and no one was able to find a fix.
Click to expand...
Click to collapse
I really hope this isn't true...
On an unrelated note: Do you think that B&N would notice if I microwaved my nook for a few seconds?

Cannot format partitions, flash roms or do a factory reset

I went to use my Nook Color (cm7 nightly) after it had sat sleeping for 4 days while I was camping and it locked up almost immediately (first time it has ever locked up). I powered it off and now it is all kinds of messed up.
Whenever it boots it takes forever (like first boot, or longer)
When i do a factory reset, it still boots with all my settings, but boots as if my previous installation and settings are the 'factory' settings. IE
It appears to be locked in its current state, as nothing I do ever sticks, whenever it is rebooted it returns to the previous state. I can make changes, delete files, change settings, but when i reboot it restores them back to how they were before it froze.
I cannot flash any roms. flashing through CWR says that the installation is successful but it always reboots with the same settings.
I can boot to SD, but Bootable CWR sd card does not flash any differently
I have flashed a bootable honeycomb image to SD and can boot to it just fine.
Formatting the partitions in CWR gives "Error formatting /xxxxxx!"
I have tried all the bricked restore/stock restore methods that I can find, but none make any difference.
the ONLY thing that makes the nook behave differently is if i flash "nook-complete-restore-1.0.1.zip" I then boot to a black screen after the cyanogen mod green bootloader logo
I fear that the internal memory is screwed up, but even flashing the boot and system images using ADB and dd commands do not work. Even tho the images appear to burn/copy successfully, It always boots up with all my previous settings and applications.
What do I do next? I feel like I have overlooked something. I have tried so many of the methods that I cannot remember everything that I have tried, so I apologize if I left something out.
Perhaps there a method that can completely remove and recreate all partitions on the internal memory?
Any help would be greatly appreciated.
I found this:
http://nookdevs.com/NookColor_Making_system_partition_Read-Write
but when i run the "mount command" i only see:
rootfs on / type rootfs (rw)
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)
/dev/block/mmcblk0p7 on /cache type ext3 (rw,nodev,noatime,nodiratime,errors=continue,data=ordered)
Click to expand...
Click to collapse
"./adb remount" returns "remount failed: Unknown error: 0"
It should be showing multiple partitions, but only shows the cache partition. now.... how to go about recreating all of the partitions on the nook color?
"fdisk -l /dev/block/mmcblk0" returns the expected results, showing all partitions. something is wonky with the internal memory, or perhaps the hardware controller for it?
Hopefully I can get this sorted out. Using the emmc is much more convenient that booting off the SD card. But at least for now I am able to use cm7 from SD.
at this point i would settle for obliterating the partitions... or entire internal memory. I dont have much personal data on there, but do not find much comfort in knowing that it all appears to be forever locked in the memory.
Check out how to restore nook color back to stock, then reroot it for whatever firmware you are on....
Sent from my ADR6300 using Tapatalk
..........

[Q] Internal Memory FUBAR? ADB help

Hi all,
Tearing my hair out here (and I have SFA left anyway)
My Father-in-law's SGS i9000 seems to have real issues. Initially problem I was having was that there was an app I could not uninstall- it would reappear on reboot. I initially suspected malware or such, but it appears to be a real problem with the internal memory. I had MIUI installed on it, but wanted to change to a more stock ROM.
First time I really started to worry was when I found that every time I put a new rom onto the internal sdcard, it disappeared at reboot (and thus wasn't there to install when rebooted into CWM)
Since then, haven't had a functioning phone.
adb push to sdcard still not persistent on reboot.
Cannot flash new ROM with ODIN either, although KERNEL changes, filesystem no longer mounts.
I think the version of MIUI I was using used an ext4 lagfix, as inside an adb shell, I can see the partitions:
parted /dev/block/mmcblk0
a "print" lists two partitions:
Number Start End Size Type File system Flags
1 32.8kB 14.4GB 14.4GB primary fat32 lba
2 14.4GB 16.4GB 2013MB primary ext4 lba
rm 1, rm 2
to try to delete the partitions and start again- doesn't work. Nothing happens
If I load partition 2 into parted:
parted /dev/block/mmcblk0p2
print
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p2: 2013MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 2013MB 2013MB ext4
Can;t check any partitions as ext4 isn't supported by parted.
I cannot remove any partitions, reformat them or anything.
e2fsck errors as it cant read superblock flags on any of the partitions.
Any other ideas? Anyone?
I don't want to toss the phone out
http://forum.xda-developers.com/showthread.php?t=845708
i dont know if this will help u but u can try this guy instruction. See link above
compacity said:
http://forum.xda-developers.com/showthread.php?t=845708
i don't know if this will help u but u can try this guy instruction. See link above
Click to expand...
Click to collapse
If that worked, it would have been just what I was looking for
I googled the hell out of this problem, and that one never came up, but others I'd seen led me to try that same plan.
Where it fails on my device, is that deleting the partitions in "parted" fails- rm1 followed by rm 2 to delete the partitions. "Print" reveals they're still there.
Any other partition tools worth trying?
I got it back to square one:
Flashed kernel thru Odin with a version of CWM that worked.
reboot into recovery.
Flash update from SDcard- card contents still the same, so could re-flash MIUI.
reboot, bootloop. Re-enter CWM recovery and reflash.
Back to Square One - MIUI 1.12.16 (JVK)
Cannot install anything - nothing is persistent after reboot, even WIFI settings disappear
If it is any help to anyone who knows what they're talking about:
Now that MIUI boots I can look at the filesystem better.
Can anyone point me in the direction of what I should be looking for/trying to do to figure out what is wrong here?
try finding solution here, its PIT stop for i9000 problem
http://forum.xda-developers.com/showpost.php?p=30415128&postcount=1
Mine seems to be a bit tougher than these solutions can deal with.
Tried assorted ROMs over past day. No install works.
Cannot install anything from internal memory, as nothing dropped into that card will remain after a reboot.
Installing anything from an external card just throws up bootloops etc- as the only thing that seems to be able to retained between boots is the kernel/CWM.
If I install a new ROM, first flash says partition table is incompatible and /data will be overwritten (no problems, nothing on it). I accept the inevitable and re-select the ROM.
Reboot bootloops, as expected, reboot into CWM (now a new version with the Kernel), try reflashing the ROM image- Error 0 or 7. Try from External Memory- same. Try sideloading image. Same. All I can do is re-flash the MIUI image on internal SDcard (which works)
It looks like the internal memory refreshes itself from a recovery image at each boot? (I think).
Anyway- can't get anything to stick, except MIUI
edit:
http://forum.xda-developers.com/showthread.php?t=761537&page=3
http://forum.xda-developers.com/showthread.php?t=1230059&page=3
hav u try this 2 link as this is da only thread matches ur MBR problem
compacity said:
did u try any jb kernel out there? as its also ext4 n push it using adb. juz a suggestion though.
Click to expand...
Click to collapse
Good suggestion Logical
I'd thought that also- The JB kernels should support ext4.
No joy though
The version of CWM recovery that is stable with the MIUI install is 5.0.2.7, and it doesn't have any voodoo/lagfix options
When I flash a kernel with a CWM with lagfix, and try to use the CWM lagfix toggles, nothing changes.
Doesn't matter what I select inside CWM, it reads the status from memory as "Lagfix on, Debug off"
The reason I asked about ext4 tools in ADB is that running filesystem commands in a shell just throws up errors I can't seem to fix.
e2fsck just throws up superblock errors (on both /dev/block/mmcblk0 and the partition /dev/block/mmc0p2.
Defining one of the backup superblocks doesn't help- they're all bad.
"parted" doesn't work anymore (i note it isn't in /sbin, so I am picking this kernel doesn't install it), but even when I did have it, "parted" doesn't support ext4. Using "rm" to remove a partition did exactly nothing.
Starting to think the only way forward would possibly be flashing a custom .pit file to define partitions that move the data off an obviously bad block? Above my skill level however LOL
refresh browser see my post above again

[Q] mount CyanogenMod ext4 partitions in webOS?

Hi all,
I attempted to mount the CyanogenMod andorid partitions from terminal in webOS, but
Code:
mount -t ext4 /dev/store/cm-cache /cmc
fails with "No such device" message. The same goes for the /dev/store/cm-data and /dev/store/cm-system partitions.
I noticed that neither of my /proc/filesystems or /etc/filesystems file has ext4 listed in it. Does it mean webOS doesn't support ext4 at all?
I was trying this because my cyanogenMod won't boot any more (stuck in the boot animation). I later realize I could mount the partitions in clockworkMod recovery and took a look at the log files, but unfortunately none of log files I could find provided any insight. Any suggestion on where to look is also much appreciated.
darkassain noted that the native webOS builds don't support ext4. Also I have fixed the boot issue on my touchpad. See the same topic on rootzwiki here:
rootzwiki.com/topic/84818-mount-cyanogenmod-ext4-partitions-in-webos/

[HELP PLEASE] NEED HELP WITH make_ext4fs

Hello. So i have a S3 LTE with possibly(?) an insane eMMC. Long story short: phone bought back in dec 2012. Changed battery twice. Last battery started acting up, lost all power, next thing i know phone is in permanent bootloop. Odin won't repartition the phone (idk why) nor can it flash a full firmware, getting stuck on SYSYEM flash, but can flsh recoveries. After fiddling around with recoveries, i finally flashed TWRP. What i found out : /cache, /system, /data, /sdcard and /tombstones couldn't be mounted (invalid argument). After wiping everything with make_ext4fs, everything works fine, except for /tombstones, which can't be mounted. What i have seen from the logs is that twrp doesn't wipe /tombstones as well, so there was no way of getting it to work.
Full story here http://forum.xda-developers.com/galaxy-s3/help-i9305/i9305-bootloop-mount-data-sdcard-t3379377
WHAT MY PROBLEM IS:
I need somebody to tell me the parameters for make_ext4fs in order to wipe /tombstones as well, as it seemed to work flawlessly with the other folders.
UPDATE: I managed to wipe /dev/block/mmcblk0p11, which mounts in /tombstones. used rm -fr, then mkdir for the tombstones folder. Everything mounts just fine now. Will reflash and post an update.
UPDATE 2: Phone still won't work with odin. i flashed amcha with twrp. Boots just fine, but 10 seconds after boot finishes, phone freezes and won't respond to button presses. Any ideas?

Categories

Resources