[Q] ra 3.16 recovery encryption problems - Acer Iconia A500

Tonight i was going to flash the newest flexreaper ics build on my iconia tab. While i was waiting for it to download, i decided to play around with the ra recovery options. I tried to upgrade the internal storage to ext4 but it said that it failed at data so i formated all of them back to ext3 but data still wouldn't mount and still won't. When i booted the rom up it said that there was a problem with the encryption and it needed to reboot. I tried an older honeycomb rom but now it asks for an password to decrypt the tablet but i never put one on. Is there anyway to get around it because it is unusable right now?

darktwolf380 said:
Tonight i was going to flash the newest flexreaper ics build on my iconia tab. While i was waiting for it to download, i decided to play around with the ra recovery options. I tried to upgrade the internal storage to ext4 but it said that it failed at data so i formated all of them back to ext3 but data still wouldn't mount and still won't. When i booted the rom up it said that there was a problem with the encryption and it needed to reboot. I tried an older honeycomb rom but now it asks for an password to decrypt the tablet but i never put one on. Is there anyway to get around it because it is unusable right now?
Click to expand...
Click to collapse
I thought Drellisdee put warnings about messing with those things. Check his RA Revamped thread, and I think he put some answers. More specifically in the very first paragraph, with a link to the fix
http://forum.xda-developers.com/showthread.php?t=1459821
Here I believe is the part you need, quoted from the post;
"Those are advanced options that most users shouldn't have a need for and shouldn't normally use. Your data should have already been ext4 and you tried to reupgrade it to ext4 and looks like you corrupted your /data partition. For reference the 1st page has a description of the menu items. Dont just go selecting every option if you dont know what it does.
To fix your blunder you will need to boot into my recovery and open adb shell.
This will cause loss of all data contained on /data which will lose your /data/media.
From adb shell
Code:
mount (this is to check data isn't mounted) if mounted use "umount data"
mke2fs -j -b 4096 /dev/block/mmcblk0p8
tune2fs -O extents,uninit_bg,dir_index -C 1 /dev/block/mmcblk0p8
e2fsck -fy /dev/block/mmcblk0p8
After this is done your file system on /data will be fixed."
Click to expand...
Click to collapse

Moscow Desire said:
I thought Drellisdee put warnings about messing with those things. Check his RA Revamped thread, and I think he put some answers. More specifically in the very first paragraph, with a link to the fix
http://forum.xda-developers.com/showthread.php?t=1459821
Here I believe is the part you need, quoted from the post;
Click to expand...
Click to collapse
i tried that method but it didn't find my device in adb but i found another way. If you hold the power and volume up button on boot and switch the rotate lock over it erases all file systems. I tried that and it booted up like brand new.

darktwolf380 said:
i tried that method but it didn't find my device in adb but i found another way. If you hold the power and volume up button on boot and switch the rotate lock over it erases all file systems. I tried that and it booted up like brand new.
Click to expand...
Click to collapse
Yep, that sometimes fixes it also. Sometime
ADB sometimes takes 2 or 3 plug ins to connect. Was messing with it earlier today, and had the same issue, but eventually it found the tab.
Glad you got it going.

Related

LolBoot xD SGS2 dualboot - NEW 12.12.11: Easy-Setup App v2.51

(I wasn't really sure if this might fit into "Development", so I put it here, maybe a mod will move it, if it's a dev topic )
Anyways, here we go, I DUALBOOTED two different, independant ROMs on the S2
Video of dualboot in action: http://www.youtube.com/watch?v=l9-V_6Ua_D0
** THIS IS NOT (YET) COMPATIBLE **
** WITH ICS (ANDROID 4.0.x) ROMS! **
-- this goes for custom ROMs as well as stock ROMs --
Icey Sammich compatibility will be added once Sammy released their ICS kernel sources.​
!!! There now is an app for more convinient and easy setup of the dualboot !!!
(04.11.2011) DualBoot setup app v2.00: http://forum.xda-developers.com/showpost.php?p=19049047&postcount=94
(12.12.2011) App has been updated to 2.51, lot's of good new stuff! >> Free Version -- Donate Version <<
Click to expand...
Click to collapse
First off:
This is only a little experiment I did like "c'mon, has to be possible" - this is NOT (at least yet) tweaked for usability and anything the like, just a humble experiment.
That said, don't flame me if things are rather complexicated to do this ATM.
Maybe I'll come up with a more userfriendly way of setting this up, maybe someone else does, maybe no one does.
Also now that I found a base on what to do, there might be different ways (more easy ones maybe) to set this up, I'll keep toying around with it.
But let's cut to the chase, shall we
So, how was this set up? I'll give a brief rundown of what I did:
I edited a few .rc files in the initramfs of the kernel to make it actually perform a full boot when recovery mode was triggered and to fire up recovery mode when in battery-charging mode.
I also edited a few mounts in the boot .rc for the 2nd OS (in "recovery" mode) to use different partitions for /system and /data, so that we'd end up with really independant installs.
What partitions did I missuse for that:
partition 12 (mostly unused, only when installing a stock ROM AFAIK) for /system - that's a neat choice IMO as p12 is 512MB in size, just as p9 where /system usually sits on
partition 7 (which is usually /cache) for /data
gives us only 100MB of user data space, but for now that's OK, as said, it's only an experiment on how such a thing could be done.
with the original partition for /cache "gone", I mounted a tmpfs for it.
So the OS still has a usable /cache
Then I set up the two OSes:
(dualboot kernel not yet flashed)
Launchprep part 1:
I made a CWM backup of my normal installation I was running (stock XXKG6 at the time).
I installed DevNull-Test AOSP as to it's instructions
Some su'ed voodoo via a terminal while having the 2nd OS (the DevNull AOSP one, in this case) installed - best done in recovery mode via ADB:
rm -Rf /cache/*
cp -Rp /data/* /cache/
dd if=/dev/block/mmcblk0p9 of=/dev/block/mmcblk0p12 bs=4096
That did "set up" the 2nd OS to where it's supposed to go.
Launchprep part 2:
Then, "advanced restore" of the backup made a few minutes earlier:
- boot
- system
- data
Reboot
At this point OS #1 is running again and OS #2 is sitting in hiding, prepared to roll - so, let's roll:
Flashed the modified "dualboot kernel" (via an App or Odin or magic, doesn't matter).
---> DONE <---
reached the point to where everything works as shown in the video.
As said above already, yes it needs some manual work to set it up, yes there's a lot of things that might not work, yes there are other/better ways to set it up.
It's only a humble experiment - lot's of space for improvement.
Maybe you like it - for those who do, I wanted to share this
Attached to this post you find the modified kernel I used, it's based on my v1.20 custom kernel (see sig) but with the above mentioned changes.
I've seen the video m8, this is totally different approach, ur giving this device a new dimension. love u "in a straight way" hahaa
there currently an app called Bootmanager which also handle up to quadruple booting. But sadly currently only support HTC phones.
http://www.appbrain.com/app/bootmanager/com.drx2.bootmanager
well, one can hope!
Thanks OP this is an awesome concept! Very happy to see you posted it with a video! and nice boot animation!
sunwee said:
there currently an app called Bootmanager which also handle up to quadruple booting. But sadly currently only support HTC phones.
Click to expand...
Click to collapse
Yeah, that's the thing.... that app is HTC only.... but we have Samsung S-II and want dualboot as well.
I'm already brainstorming on how to enhance the actual usability of this, i.e. flashing a 2nd OS directely to it's place instead of first installing it to the main system partition. But there is problems when /data is not mounted to the original partition, at least stock doesn't like it on initial boot.... well, well....
That is great. Going to use this for sure. This should be in development for sure.
Congratulations already.
Sent from my GT-I9100 using Tapatalk
This is impressive bro sure will use it
but i want to ask one thing
SD card needed for this or not ?
That would be really cool (and definitely should goes to original development). Does it work with CM7/MIUI + custom rom?
vikas776 said:
SD card needed for this or not ?
Click to expand...
Click to collapse
No, so far this completely works with all internal storage.
But I have a few ideas I have yet to try to get mounted from other places - like images in /sdcard for example (I *so* hope that'll work.... )
Hi
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Sent from my GT-I9100 using Tapatalk
Tricky103 said:
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Click to expand...
Click to collapse
I made this build based on my v1.20 custom kernel, so it has everthing that one has - plus the touchfix already
exactly what i was hoping for.
great job - pls continue your work
Hi i tried this with instanity rom last night. When I use the three buttons to boot it just sits there not booting. My guess is the kernel is not compatible. Unless I made a mistake somewhere.
Sent from my GT-I9100 using Tapatalk
Hm, yah, might be that the kernel isn't fully compatible with that ROM, what kernel does the ROM usually use?
Did you boot it up fully at least once before copying /data to /cache ?
Yes I did fully boot up. But his kernel didn't have advanced activated in recovery so I flashed your kernel and moved the cache okay. But it said /data not found when I ran the 2nd command line.
I will flash aosp later. I like that rom.
I am not sure what kernel nitr8 uses. I think it is his own, Insane.tar would you like it to see if they can work together.
Sent from my GT-I9100 using Tapatalk
Tricky103 said:
But it said /data not found when I ran the 2nd command line.
Click to expand...
Click to collapse
Hm, yeah, that sounds like something didn't work.... make sure you run those commands as root, i.e. "su" as very first command (I'll add that to the first post).
Give me a direct link to the ROM and I'll try it.
Make take a few days though as I'm away from my computer a lot because of work the next two days, but I'll try once time permits.
Well yeah, and this still is in highly experimental stage, if I (or someone else) should ever get this to more stable and reliable state, I'll make an easy to use installer/setup tool
But I got a few other ideas on setting it up I have to try first....
http://goo.gl/2uZCh
This is the complete rom. Only 47mb. I thought you would like the whole rom
Tricky103 said:
Hi
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
May be someday WINDOWS Mo 7 and Android on our sweet beast
Hi
I tried again with Aosp Dev-null. I still get this error "cp: can't stat '/data/*': No such file or directory "
after running this command line " cp -Rp /data/* /cache/ "
Any Ideas ?
It still doesn't boot if I press 3 button it brings up the boot logo and then black screens until it boots to the 1st partition.
Thanks for the link, will download and try as soon as time permits.
Also, try this command sequence, I got an idea what the issue maybe might be, give it a shot:
Code:
su
rm -Rf /cache/*
busybox cp -Rp /data/* /cache/
dd if=/dev/block/mmcblk0p9 of=/dev/block/mmcblk0p12 bs=4096
(use "busybox cp" instead of plain "cp", maybe it helps)
And some update on my ongoing thoughts for those interested:
- got an idea on how to make a more easy to use App for prepping and setting up the dualboot environment
- managed to do a neat thing I didn't really think it would work: issued a "mount" command and the OS thought it was mounting a partition of the internal flash (/dev/block/mmcblk0p12 in this test, but was testing for later on actually doing it with p9 - you might see where I'm headed here ) but instead of the partition it actually mounted from an .img file! (loopback)
i.e. "mount /dev/block/mmcblk0p12 /somedir" actually mounted "/somepath/someimage.img" to "/somedir" instead of the partition from /dev/block/... (you just gotta love Linux and it's flexible way of handling things....)
NOW, imagine /dev/block/mmcblk0p9 (the partition carrying the system) and p10 (data) being (kinda) transparently mounted from an IMAGE FILE
I "only" have to find a way to sneak this in before init starts mounting stuff.
If there's a way to do THAT.... unlimited multiboot from OS images, anyone?
(so far this is kinda dreaming, but would be cool to get it working )

Crashing Nook

Well, my Nook appears to be in trouble.
The long and the short of it is that it got wet. Not too wet, but wet.
It boots but whatever I boot to crashes. This includes sdcard installs. The ROM completes the boot, and I can sometimes even open the app drawer, but it crashes before I can interact with it in any meaningful way.
All ROMs complain of "System process" and Wireless issues, with FCs.
I cannot get adb to recognize the device anymore. lsusb does find the Google Inc. entry, though. When I try and run adb devices (ubuntu), it returns ?????? and says insufficient permissions. I have, in response, set up the 99-android.rules in etc/udev/rules.d but it still cannot connect. I have also tried to quickly access the android terminal in the brief period I am allowed before the device crashes with no luck. My goal with this was to try fdisk -l.
The sdcard never mounts while in the ROM, and the emmc storage appears completely wiped.
However, I was able to see I had the correct files in /rom once, so those are there.
Thinking that the wireless chip might be the problem (as when even when I return to stock the set-up fails there, well, until it crashes again...) I tried to just turn off Wifi in 7.2. But as I unchecked the box, right under the setting just displayed "error"
CWM appears to be working EXACTLY as it should, including mounting the sdcard and allowing me to choose update zips.
The uboot and the uboot menu work as well.
I have tried flashing CM7, 9 and stock, as well as booting from sdcard in CM9. All flash and boot normally, but crash.
I have done the 8x reboots, succesully, but when the B&N set-up begins, I cannot connect to wireless. Which would be okay, in the long run, but it then crashes, which is not okay.
I was hesitant to reveal that it got wet, because I can see this being written off as a hardware issue (which it may be, don't get me wrong). But the fact that CWM works and the ROMs boot sure look like software problems to me.
I have tried flashing just about everything that looked promising. I have not dd any images, because I cannot get adb to work, and don't have any idea which partitions are in what shape.
Any suggestions?
Position the unit upside down with the SD flap open. Blowdry it from the bottom up on medium several times over a couple of days. If it's still doing it after that you can probably eliminate moisture as a cause.
old cell phone trick
Fill a bowl with rice (uncooked).....the rice will draw the moisture out.
you can also submerge it in ispropol rubbing alcohol... is what we use to clean electronic components... it will combine with the water... also used for water in gas on a car
Whoa, isopropyl alcohol. I feel like that would take some stones...
I have already put it through a 30 or so hour rice regimen (if that is true, even. It makes some kind of weird intuitive sense, which is usually the kiss of death...)
I have it standing up now and will see about a little air dry method while I investigate where to find the alcohol.
It didn't get submerged, it was lying on a counter and a glass got knocked over. I grabbed it right up, and then left it off like I said.
It boots, CWM works, but since it has been set all the way back to stock and all iterations have the same issue I am fearing the worst...
Thanks for the ideas...any and all welcome!
You can take the back off. I have not done it, but somebody just said they did it to disconnect the battery to reset. Look at that recent thread in q/a. Maybe he can tell you how he did it.
Attempt at your own risk, no support will be provided.
I'm not the battery guy leapinlar was talking about but,
Open the battery flap, remove SD card, remove the tape dots from the T-5 torque screws then remove the screws. Slowly and carefully so as not to break any of the hooky thingies that are holding the back on pry the cover up from that point moving slowly around the unit.
I've only done this once, it was a while back and I ended up breaking two of the little hooky thingies. That's why I suggested providing points for evaporation to escape and attempting to accelerate evaporation. Heck we don't even know if moisture is the issue anymore.
Thanks for the extra suggestions.
I tend to think at this point that whatever water got in there is gone. It's been four days, and it wasn't soaking. I may just go ahead and try and take out the battery, I don't know exactly why that would help, but what have I got to lose?
If I had to guess, I would think that the wifi chip might be shorted, as that is the only thing that doesn't seem to work at least for some period of time.
The FC's sure do look software related though. I fail to see how CWM could read and mount the sdcard while the ROM cannot as being anything other than sotware. Unless they use wildly different methods to do the same thing.
This nagging feeling that I should be able to at least fix that with some software methods keeps me thinking the same or the other problems. I'd be okay with an non-networked tablet, if it came to that. But maybe the thing has to have wifi as an option to work right. I don't know...
Two weeks ago my daughter managed to completely soak her nook.The nook would just constantly reboot with the stock os and system process would repeatedly fc with the cm7 sdcard. I pulled the back cover off and let it stand for a week. Today I pulled the battery and power button cable and it booted up just fine so far. So there is hope.
Malave said:
Two weeks ago my daughter managed to completely soak her nook.The nook would just constantly reboot with the stock os and system process would repeatedly fc with the cm7 sdcard. I pulled the back cover off and let it stand for a week. Today I pulled the battery and power button cable and it booted up just fine so far. So there is hope.
Click to expand...
Click to collapse
Considering that this is basically what is happening to me (but with some additional Wifi setting crashes) this gives me hope.
I had burned a bootable CWM card, from Leapinlar, which was a higher version than I usually used. I think 5.5.0.4 (?)
Anyway, of interest (before I shut it down 2 days ago):
internal sd card is not wiped, it can be explored in CWM.
The /ROM partition is at least somewhat functional, as battery stats can be wiped
When I request a log, I get:
Code:
Battery Stats
Block Groups: 3
reserved block group size: 23
Created filesystem with 11/22608 inodes
and 2883/90357 blocks
warning: wipe_block_device: Discard Failed
W: failed to mount /dev/block/mmcblk1p2 (no such file or dir)
also at one point:
Code:
make_ext4fs failed on /dev/block/mmcblk1p2
(note: both of the above from hastily scrawled notes)
It looks like mmcblk1p2 is related to system mounting, although I am not sure. Maybe that is why I am having trouble with ADB. It just kept saying insufficient permissions and ???????????. I tried setting up android-rules for udev with no luck.
Unless I hear anything else promising, I will go get the proper screwdriver and try the battery thing. It has been sitting off for a couple days now...
Thanks for all the ideas, people.
I'm confused... but trying to help you out... why are you trying that stuff on /dev/block/mmcblk1p2 when /dev/block/mmcblk0p2 is the ROM partition?
Try your edits to /rom... and if you have to try: mount /dev/block/mmcblk0p2 /rom
DizzyDen said:
I'm confused... but trying to help you out... why are you trying that stuff on /dev/block/mmcblk1p2 when /dev/block/mmcblk0p2 is the ROM partition?
Click to expand...
Click to collapse
I actually didn't try to do anything. I just wiped system, cache, davlik, battery stats and asked for a log prior to flashing a new zip in the hopes that the rom would work if provided a blank slate.
I wiped battery stats since the .bin that holds them is in /rom. The log was something I had never done before.
The notes from above were just the CWM output from the log.
edit: I just saw your second paragraph. Don't know how I missed it.
But I don't know what you mean by edits. I haven't been able to get ADB working. I have been able to mount and unmount through CWM that's it. Unless you might know anther way to resolve insufficient permissions with beaucoup question marks instead of device number?
Ok... sorry about my confusion on that... It appears that you are using a CWM that is modifid to work on SD... since it is trying to access /dev/block/mmcblk1p2 since the rom partition is on /dev/mmcblk0.
I would try a different version of recovery.
DizzyDen said:
Ok... sorry about my confusion on that... It appears that you are using a CWM that is modifid to work on SD... since it is trying to access /dev/block/mmcblk1p2 since the rom partition is on /dev/mmcblk0.
I would try a different version of recovery.
Click to expand...
Click to collapse
Which I was. I got it from Leapinlar, and was under the impression, since I had seen him warn that roms flashed from that recovery would go to emmc, that it would work.
I did make a regular 3.2.0.1 bootable, and tried again, but with the same result, so I don't know if that made a difference. But it did seem hopeful, so thanks for the response.
I am going to finally go get the torque screwdriver and take this battery off and give it some days. It's been almost a week already, but you never know.
Thanks a bunch for the reponses, Diz.
mateorod said:
I had burned a bootable CWM card, from Leapinlar, which was a higher version than I usually used. I think 5.5.0.4 (?)
warning: wipe_block_device: Discard Failed
W: failed to mount /dev/block/mmcblk1p2 (no such file or dir)[/CODE]
also at one point:
Code:
make_ext4fs failed on /dev/block/mmcblk1p2
(note: both of the above from hastily scrawled notes)
It looks like mmcblk1p2 is related to system mounting, although I am not sure.
Click to expand...
Click to collapse
Mateorod, if you got that log using my CWM boot SD version 5.5.0.4, the recovery.fstab lists /dev/block/mmcblk1p2 as SD-EXT, which for some devices is the extended partition on SD for storing additional apps to supplement /data. Our implementation of CM does not use that. So when recovery tries to do some wiping, formating, backing up, etc, it always fails when it looks for that partition. It has nothing to do with /system or /rom.
If you told it to do a factory reset, it tries to wipe /SD-EXT as part of that and it fails to wipe that because it cannot find that partition.
Edit: That CWM SD does do its modifications to emmc. It only referenced mmcblk1p2 because of sd-ext.
Here is the filesystem table from my log using it on SD:
0 /tmp ramdisk (null) (null) 0
1 /boot vfat /dev/block/mmcblk0p1 (null) 0
2 /system ext4 /dev/block/mmcblk0p5 (null) 0
3 /data ext4 /dev/block/mmcblk0p6 (null) 0
4 /cache ext4 /dev/block/mmcblk0p7 (null) 0
5 /emmc vfat /dev/block/mmcblk0p8 (null) 0
6 /sdcard vfat /dev/block/mmcblk1p1 (null) 0
7 /sd-ext ext4 /dev/block/mmcblk1p2 (null) 0
The alcohol trick does work, I did it on my old HTC Kaiser. I disassemble it as much as I was comfortable, and then completely submerged it in alcohol until It stopped throwing up air bubbles; Thus showing there was no air left in the unit. I then removed the pieces from the alcohol and put them in a bowl of rice. I let it stand for about a week. Once the time was up a reassembled and turned it on like nothing had happened.
Little note: I was in the possession of a AT&T Go Phone for use as a back up in case this destroyed the unit. If you feel that there might be another way to repair it, I would suggest you explore that option first as I do not know what a significant time in alcohol will do to the inner workings of the Nook. However if you are at the point of already replacing or upgrading to a different tablet, than you have nothing to lose and can only gain a working Tablet or fancy Paper-weight from this.
Okay, a little update.
I had taken apart the Nook and let it sit for almost a week. But upon reconnecting the battery and clearing system/cache/davlik and reflashing anything, it still wouldn't allow in-ROM mounting of sdcard or adb or wireless and I would still get some version of "process System not responding" and "Setting Wireless not responding" toasts and then a crash, either in CM7, CM9 or Stock. Unusable.
What I think I have is a totally borked wifi chip. Which is okay, in the long run, but the Nook kept crashing and I would have liked to use it in some capacity.
What I decided (which was difficult to diagnose with no terminal or no ADB) was that the Nook was crashing upon trying to access the network and the saved network info. (which I know is mad persistent, as the wifi network I used to originally register the device still shows up in the stats, even after many many system wipes and 8x reboots and so forth.)
I had never reset to factory from stock settings and I couldn't now completely erase and deregister because you need wifi to do so.
However, I found this (which I had never heard of, sounds like a boon to thieves everywhere). After skipping out-of-box experience I could boot into stock recovery and finally erase the wireless settings.
Now I have a stable (albeit un-registered) stock nook, where I can at least read the books I have on sdcard.
I will eventually reflash a CM build now that the network settings have been forgotten and see if that is usable, even if there is no wifi.
But I am pretty happy to have some semblance of the Nook back, even if it is just a neutered (literally) stock.
I'll let you know how CM goes one day soon.
Thanks for the help!
Excellent, (and powerful), link.
And by virtue of that link I will find a way to proclaim my absolute geekitude within the company by dropping Kate's name. :good:
Well, I finally tried flashing Cyanogen 7 and 9 to the thing, but as it crashes when it tries to access wifi, I can't get it stable.
Unless anyone knows a code edit (smali maybe? I know there are a bunch of boolean settings in the SystemUI.apk, maybe there) where I can change the default wifi setting, I may just be stuck with stock.
Which is way better than nothing, at least it has use. Skipping OOBE was a life-saver for getting to a place where I could erase the WiFi info.
Okay, here's another shot in the dark, still trying to get this thing to successfully boot in CM...
I am working on a little project for the Nook, which will be infinitely easier to debug if I can actually boot into CM.
Does anyone familiar with the source code know how to modify it so that WiFi is set to off by default? I am thinking about changing the 'true' to 'false' in the /device/bn/encore/overlay/frameworks/base/core/res/res/values/config.xml entry for wifi found here...
Code:
<!-- This string array should be overridden by the device to present a list of network
attributes. This is used by the connectivity manager to decide which networks can coexist
based on the hardware -->
<!-- An Array of "[Connection name],[ConnectivityManager connection type],
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
before automatically restore the default connection. Set -1 if the connection
does not require auto-restore. -->
<!-- the 6th element indicates boot-time dependency-met value. -->
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<!-- item>"ethernet,9,9,2,-1,true"</item -->
</string-array>
This looks like I am on the right track (this will eventually end up being compiled into the res folder of framework-res.apk) but I may need to track down the ConnectivityManager. Although the cursory look I have given this seems like I may be close to on the right track...
(The wifi being on at boot always crashes my CM installs due to shorted wifi chip, for those of you who may be new to the thread.)
I am asking here just in case someone knows, I may just go ahead and try it if no one chimes in. But better to ask than to blindly shoot in the dark, I figure...
Update: Success. I am back on CM9 (well, a hybrid, actually...HINT), without wifi.
Update 2: Due to the fact that this nook is now in a Cyanogen-usable state, a new rom will be posted in development tomorrow from eyeballer and I. Thanks for the suggestions, everyone. I wish I had dipped it in isopropyl alcohol, just so I could say I did it...

[NEED HELP with e2fsck] Soft-Brick : corrupted /data/ & /sdcard/ partitions

----------- FIXED ----------
Hey guys,
I'm encountering a terrible problem with my P6810 tab. Here is the story :
At first, I just did format /system/ (and /data/, cache and dalvik) in CWM before flashing a new Rom.
After reboot, the tab just got stuck on the "Galaxy Tab 7.7" logo. no bootloop, just stuck on static logo.
At this stage i could go to download mode and recovery, which I did.
I tried to reflash the rom, no success so then i tried to flash stock ICS firmware through Odin 1.85 : Stuck on flashing Factoryfs.img for several hours, so i had no choice but to reboot the tab. (i had no kies-related software running, neither my antivirus)
There, the tab got stuck on the "Firmware upgrade encountered an issue. please select recovery in Kies" screen, no way to go to either recovery or download mode (not even worth saying Kies didn't recognize the tab).
I've been struggling a few hours with that brick and finally managed to get acces to download and recovery modes again by flashing CWM with Odin alongside a PIT file with "repartition" ticked in Odin.
So there I could access recovery, I flashed CM9, everything went smooth. The tab rebooted and got passed the Galaxy tab 7.7 logo and went to the cm9 bootscreen but got stuck there (big desillusion right there).
So now in recovery, i can mount every partition but those two : /data/ and /sdcard/
I figured out by reading similar threads that the solution to my issue might be e2fsck through adb. I'm a complete noob to adb.
I can acces the adb shell but here are what the commands i've been reading about return me : (mmcblk0p9 is /data/ partition on P6810)
# e2fsck -fDC0 /dev/block/mmcblk0p9 :
e2fsck : Superblock invalid, trying backup blocks...
The superblock could not be read or does not describe as a correct ext2 filesystem.
If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else),
then the superblock is corrupt and you might try running e2fsck with an alternate superblock : e2fsck -b 8193 <device>
also had this once with this command :
bad magic number in superblock while trying to open /dev/block/mmcblk0p9
# e2fsck -b 8193 /dev/block/mmcblk0p9 :
Attempt to read block from filesystem resulted in short read while trying to open /dev/block/mmcblk0p9
Could this be a zero-length partition ?
# e2fsck -c /dev/block/mmcblk0p9 :
same as above
can you guide me with e2fsck or give me a link to a specific tutorial related to android e2fsck?
is there not a way in adb to like replace the corrupt partitions with freshly created ones ? or any other workaround ?
Any help will be appreciated a lot, i'm willing to donate to whoever provides me with a solution to get my tab running again.
Thanks for reading.
check this thread, very informative, helped me before
http://forum.xda-developers.com/showthread.php?t=1625675&highlight=bootscreen
Thanks a lot, already checked that one though.
Everything that worked for the guys in that thread doesn't work for me, or I'm too ignorant to find out the right e2fsck command...
Still no one able to provide some help please ?
It's weird that so many people are having the same issue on 7.7 these days, could it be related to the EU ban of this tab ?^^
Anyway, last day before i send it to Samsung
check this thread here it may help you solve your issue. All problems are coming from a brick bug in the ICS Kernel thats trigerred by wiping.
Thanks a lot, trying this right now
Can someone please post a (parted) print of a safe and working Galaxy Tab 7.7 (either of the two models) ?
I need the exact size of the /data partition
ISSUE FIXED Thanks to Zorbakun's last post. A million thanks dude.
However, the actual internal storage of my tab is now 50mb :silly: anyway i'll find a way to fix that too.
the actual internal storage of my tab is now 50mb
Hello Androguide.fr.
Did you manage to find a way to fix your shrink of internal storage? If so, would you mind to share the method. Thanks
Regards
Budi
cakrabayu said:
Hello Androguide.fr.
Did you manage to find a way to fix your shrink of internal storage? If so, would you mind to share the method. Thanks
Regards
Budi
Click to expand...
Click to collapse
Well yeah, didn't recover the 16gb but you can try to earn yourself some extra gigs by doing this once you created a fresh /data partiton :
this is an example for p6810, replace resize 9 with resize 10 if on a p6800
Code:
adb shell
parted /dev/block/mmcblk0
print
resize 9
It will ask you for start/end values, keep the same start value otherwise it will give you an error. A good idea is to resize the partition like + 500mb at a time, to avoid i/o errors you might get when creating/resizing large file systems.
Hope it helps, good luck.
I am about to have to do this myself, and i'm not a developer. i have accessed and navigated around my device through adb, but this level of complexity *almost* over my head. i just want to make sure i'm not going to permanently mess this up. also, someone in another thread tried flashing ICS with an older version of ODIN and now his tab won't even power on. which i'm trying to avoid... so after reading around these forums for a few days (it happened saturday morning--and i KNEW to avoid flashing from stock ICS recovery--i think i wiped /data-cache-dalvik with CWM 5.0.1) i'm pretty sure that failure to mount /data seems to be the super brick bug everybody's talking about. i bought the p6800 as an import in the US so i am without warranty... if anyone can help with a step by step guide for the masses or something... i'm intelligent, and quite computer literate/net saavy, but i'm not a mentat ("dune" reference)...
like, i'm having trouble figuring out how to install adb on windows. and how do i use parted when it's linux software? i've repartitioned HD's before, and i'm familiar with some command-line basics, but....
--going to bed now...my head hurts--
aletheus said:
I am about to have to do this myself, and i'm not a developer. i have accessed and navigated around my device through adb, but this level of complexity *almost* over my head. i just want to make sure i'm not going to permanently mess this up. also, someone in another thread tried flashing ICS with an older version of ODIN and now his tab won't even power on. which i'm trying to avoid... so after reading around these forums for a few days (it happened saturday morning--and i KNEW to avoid flashing from stock ICS recovery--i think i wiped /data-cache-dalvik with CWM 5.0.1) i'm pretty sure that failure to mount /data seems to be the super brick bug everybody's talking about. i bought the p6800 as an import in the US so i am without warranty... if anyone can help with a step by step guide for the masses or something... i'm intelligent, and quite computer literate/net saavy, but i'm not a mentat ("dune" reference)...
like, i'm having trouble figuring out how to install adb on windows. and how do i use parted when it's linux software? i've repartitioned HD's before, and i'm familiar with some command-line basics, but....
--going to bed now...my head hurts--
Click to expand...
Click to collapse
Try the .PIT file for the P6800 located here. You will lose all data, and part of your internal SD space. Looks like the brick happens consistently at the same point of the memory chip, so the same .PIT works for most people. If that doesn't help, you will need parted.
How can you use parted? It's a Linux program that runs in your tablet. You will adb shell to it, then you will have a Linux shell. Everything you put down there will run in your tablet, as if you were typing on it (think ssh, or remote desktop). I can't help you much more, because (knocks on wood) my tablet is still very much alive, and I don't use ADB that much.
Now, I don't know how it works in your country, but here in Brazil the Samsung service accepts warranties issued anywhere. It may be worth a shot.
aletheus said:
I am about to have to do this myself, and i'm not a developer. i have accessed and navigated around my device through adb, but this level of complexity *almost* over my head. i just want to make sure i'm not going to permanently mess this up. also, someone in another thread tried flashing ICS with an older version of ODIN and now his tab won't even power on. which i'm trying to avoid... so after reading around these forums for a few days (it happened saturday morning--and i KNEW to avoid flashing from stock ICS recovery--i think i wiped /data-cache-dalvik with CWM 5.0.1) i'm pretty sure that failure to mount /data seems to be the super brick bug everybody's talking about. i bought the p6800 as an import in the US so i am without warranty... if anyone can help with a step by step guide for the masses or something... i'm intelligent, and quite computer literate/net saavy, but i'm not a mentat ("dune" reference)...
like, i'm having trouble figuring out how to install adb on windows. and how do i use parted when it's linux software? i've repartitioned HD's before, and i'm familiar with some command-line basics, but....
--going to bed now...my head hurts--
Click to expand...
Click to collapse
I am working on writing a specific 7.7 guide to teach people the parted/e2fsck technique I use to revive my bricked p6810 everytime I want to flash a new rom or test my builds.
First, as pointed out, try to Odin the PIT file for your particular model (eg : P6800 16gb).
You got to know that the parted technique is a pain in the ass, that you'll have to do it quite often if you like flashing roms, and that your tab will have a much smaller internal storage.
I think the guide will be ready in a couple days but you can pm be if you need help before that, no problem.
Good luck with this superbrick curse
thanks guys for your help, i'm going to try to figure this out this afternoon. i'm in the US, so they don't even offer warranties on imports. i was told by a samsung rep in the US that they don't grant warranties to imported models. i will first try the modified PIT file, then i will try the more complex method. @Androguide.fr i will PM you if i have trouble with the more complicated method later. thanks!!!!
aletheus said:
thanks guys for your help, i'm going to try to figure this out this afternoon. i'm in the US, so they don't even offer warranties on imports. i was told by a samsung rep in the US that they don't grant warranties to imported models. i will first try the modified PIT file, then i will try the more complex method. @Androguide.fr i will PM you if i have trouble with the more complicated method later. thanks!!!!
Click to expand...
Click to collapse
I just finished writing the guide, it's here : forum.xda-developers.com/showthread.php?t=1862294

LG G2 (Verizon) Bricking

OK, I have searched the forum and the web and everything I have found doesn't seem to work. It appears I may have bricked up my phone, soft or hard. I am not sure as this is the first time I have ever bricked up.
What I Have:
Verizon Lg G2
Rooted
Had [ROM OTA] LG G2 Verizon Stock Rooted VS98012B
ClockworkMod Recovery v6.0.4.4
What Happened:
My phone was working great until I was trying to figure out why my GF's G2 was not accepting the update from Verizon. So as the gentleman as I am, I decided to revert my G2 back to stock so I could DL and see if I got an error message as well.
So I was able to revert it back from my CW Recovery, after which it was acting sort in sloggish, strange in a way... I shrugged it off and tried the update from Verizon. I was able to DL no problem, but when I installed it, my cell rebooted... After sever attempts to re-installing an OS (ANY OS), I start searching the web for a cure to this mess.
I tried using this method HERE, only to find out that I cannot go into DOWNLOAD MODE as instructed in step #2. Every attempt I make, only brings me back to the ClockworkMod Recovery main screen.
I have no idea what else to do.
PLEASE!!! Anyone have any ideas??? Would really appreciate it as I am trapped from the outside world... :'(
manojsuper said:
mount the ohone in cwm and flash another custom rom and try again.
Click to expand...
Click to collapse
Mano,
Thanks for your quick response. I looked to see how I can do that and I cannot see where I can mount the CWM, nor do I have a ROM on my cell as I removed it to fit more music. lol
manojsuper said:
KEEP LOOKING IN THE CWM, IT WILL BE THERE.
Click to expand...
Click to collapse
I've searched everywhere and cannot find it. Where would it be and what will the cammonand be?
manojsuper said:
tell me the options that come up when you are in the recovery
Click to expand...
Click to collapse
Code:
- Reboot System Now
- Install Zip
- Wipe Data/Factory Reset
- Wipe Cache Partition
- Backup and Restore
- Mounts and Storage
- Mount /System
- Mount /Data
- Unmount /Cache
- Mount /Persist
- Mount /Firmware
- Mount /Sins
- Mount /Persist-lg
- Mount /mpt
- Format /System
- Format /Data
- Format /Cache
- Format /Persist
- Format /Firmware
- Format /SNS
- Format /Persist-lg
- Format /mpt
- Format /Data and /Data/Media (/SDCARD)
- Mount USB Storage (Tried this)
- Advanced
- Reboot Recovery
- Reboot to Bootloader
- Power Off
- Wipe Dalvik Cache
- Report Error
- Key Test
- Show Log
- Toggle Loki Support
Kilch said:
Code:
- Reboot System Now
- Install Zip
- Wipe Data/Factory Reset
- Wipe Cache Partition
- Backup and Restore
- Mounts and Storage
- Mount /System
- Mount /Data
- Unmount /Cache
- Mount /Persist
- Mount /Firmware
- Mount /Sins
- Mount /Persist-lg
- Mount /mpt
- Format /System
- Format /Data
- Format /Cache
- Format /Persist
- Format /Firmware
- Format /SNS
- Format /Persist-lg
- Format /mpt
- Format /Data and /Data/Media (/SDCARD)
- Mount USB Storage (Tried this)
- Advanced
- Reboot Recovery
- Reboot to Bootloader
- Power Off
- Wipe Dalvik Cache
- Report Error
- Key Test
- Show Log
- Toggle Loki Support
Click to expand...
Click to collapse
If you select install zip, do you see an option to SIDELOAD ZIP? If you do, you can push a ROM from your PC.
SplicedX said:
If you select install zip, do you see an option to SIDELOAD ZIP? If you do, you can push a ROM from your PC.
Click to expand...
Click to collapse
I do, let me check it out...
I'm at work now, so I will try when I get home in the AM.
In the event I cannot get this running, what is the best way to go about getting this phone switched out? Tell them it fell through a hole while ice fishing? Lost it? Or..... lol
Kilch said:
In the event I cannot get this running, what is the best way to go about getting this phone switched out? Tell them it fell through a hole while ice fishing? Lost it? Or..... lol
Click to expand...
Click to collapse
No need for that. You can fix this with a few simple commands.
SplicedX said:
No need for that. You can fix this with a few simple commands.
Click to expand...
Click to collapse
Thanks SplicedX. I am not that command knowledgeable. What would the commands be?
Kilch said:
Thanks SplicedX. I am not that command knowledgeable. What would the commands be?
Click to expand...
Click to collapse
Sorry I feel asleep on you. Here is a basic tutorial.
http://forum.xda-developers.com/showthread.php?t=2559200
SplicedX said:
Sorry I feel asleep on you. Here is a basic tutorial.
http://forum.xda-developers.com/showthread.php?t=2559200
Click to expand...
Click to collapse
No worries Spliced, I just got on about an hour ago.
OK, so I am following the instructions to the "T" and I keep getting an error: "cannot read {file name.zip}". Trying to transfer a ROM... Tried renaming the file, removing the .ZIP extension, everything... grrrr
UPDATE: I did a test to see it I can slide a file. I slid the adb.exe and it did slide it over. So sliding does work. Question is, why doesn't slide a ROM over? I am currently downloading another ROM and going to try to slide it over without changing the name of the file. Perhaps it's the signature of the file??? <shrug>
ANOTHER UPDATE:
Ok, it appears "[ROM OTA] LG G2 Verizon Stock Rooted VS98012B" is not like, cannot be sideloaded. I am now sideloading "[ROM] LG G2 VZW Digital Dream v2.1" but stuck on 85% sending... lol
KO, I was able to sideload an image and it instralls, but it still boots up in recovery mode. It appears my G2 is dead.
That said, what is a good excuse to use at Verizon for a replacement?
Kilch said:
KO, I was able to sideload an image and it instralls, but it still boots up in recovery mode. It appears my G2 is dead.
That said, what is a good excuse to use at Verizon for a replacement?
Click to expand...
Click to collapse
Don't replace it. This is the reason why carriers have gotten so picky with handing out replacement devices, example: VZW 14 day return policy. Guy buys new phone, guy f**ks up new phone, guy returns it claiming defect.
There is a guide to get you back to stock in this sub, and it's even specific to Verizon's G2. It works, I've used it myself. Just be patient during the process and follow the instructions precisely. Good luck!
VS980
Dork6243 said:
Don't replace it. This is the reason why carriers have gotten so picky with handing out replacement devices, example: VZW 14 day return policy. Guy buys new phone, guy f**ks up new phone, guy returns it claiming defect.
There is a guide to get you back to stock in this sub, and it's even specific to Verizon's G2. It works, I've used it myself. Just be patient during the process and follow the instructions precisely. Good luck!
VS980
Click to expand...
Click to collapse
I have tried that and there is a problem, when I press the volume up button, it just boots into CMW. In other words, I do not get the download screen.
Kilch said:
I have tried that and there is a problem, when I press the volume up button, it just boots into CMW. In other words, I do not get the download screen.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2448960
Verify power off. Hold vol up and connect USB.
VS980
Dork6243 said:
http://forum.xda-developers.com/showthread.php?t=2448960
Verify power off. Hold vol up and connect USB.
VS980
Click to expand...
Click to collapse
Did that, was a no-go. Thanks for the help. Went to Verizon and I am getting my replacement in a few days. I gave up...

[Q] Have I bricked my nook for good?

I rooted my nook and didn't like it very much so tried to return to stock. I read that holding power, then the two lower page turn buttons will factory reset it, which I did.
Now my nook says "Error, sorry we're having trouble setting up your Nook. Please shutdown the device and try again". I didn't unregister it before factory resetting (which I now realise could of been a big mistake), however I've contacted nook, and they've unregistered it for me...
Nook support also guided me through factory resetting it again, the same way as mentioned before, but I still have this issue. Google seems to yeild no results.
How do I fix my nook!
What method did you use to 'root' it?
Did you make a backup before rooting?
I know that NookManager has a factory reset functionality, though I am not sure if it relies on data already on the Nook to do that.
There a plenty of threads in this forum on recovering a 'bricked' Nook.
I used a clockwork mod img burned to an SD card, and then selected glownooter.zip to root.
When it comes to backups I've been a complete fool and rushed ahead without reading about the importance of making one, so have nothing to fall back on. I'll have a read, and wait to see if anything comes up.
David0226 said:
What method did you use to 'root' it?
Did you make a backup before rooting?
I know that NookManager has a factory reset functionality, though I am not sure if it relies on data already on the Nook to do that.
There a plenty of threads in this forum on recovering a 'bricked' Nook.
Click to expand...
Click to collapse
mrsambradley said:
I used a clockwork mod img burned to an SD card, and then selected glownooter.zip to root.
When it comes to backups I've been a complete fool and rushed ahead without reading about the importance of making one, so have nothing to fall back on. I'll have a read, and wait to see if anything comes up.
Click to expand...
Click to collapse
If you can boot your Nook with NookManager, just use the factory reset option - it works great, I've used it myself (back when I first rooted and was a total noob )
thenookieforlife3 said:
If you can boot your Nook with NookManager, just use the factory reset option - it works great, I've used it myself (back when I first rooted and was a total noob )
Click to expand...
Click to collapse
NookManager uses the same factory reset as pushing the buttons so it won't do anything that hasn't already been done. A quick google search for "sorry we're having trouble setting up your Nook" shows several threads that talk about possible problems: communications problem with B&B servers, B&N server issues, wrong password, trying to associate second email with your Nook and maybe more. So do your own search and don't restrict it to just the Nook Simple Touch as its a B&N registration issue that seems to be common to other Nook models.
straygecko said:
NookManager uses the same factory reset as pushing the buttons so it won't do anything that hasn't already been done. A quick google search for "sorry we're having trouble setting up your Nook" shows several threads that talk about possible problems: communications problem with B&B servers, B&N server issues, wrong password, trying to associate second email with your Nook and maybe more. So do your own search and don't restrict it to just the Nook Simple Touch as its a B&N registration issue that seems to be common to other Nook models.
Click to expand...
Click to collapse
Actually, maybe you might do a little research yourself. The NookManager reset is, in fact, NOT the same procedure as the stock method. It resets it all the way back to the previous software version, as well as doing other things which the regular reset does not.
However, you may be right about the B&N communication issues. Thanks for the extra info.
thenookieforlife3 said:
Actually, maybe you might do a little research yourself. The NookManager reset is, in fact, NOT the same procedure as the stock method. It resets it all the way back to the previous software version, as well as doing other things which the regular reset does not.
However, you may be right about the B&N communication issues. Thanks for the extra info.
Click to expand...
Click to collapse
NookManager uses the stock factory reset by setting the failed boot count:
Code:
/scripts/restore_factory:
mount -t vfat /dev/block/mmcblk1p1 /sdcard
mount -t vfat -o remount,rw,sync,noatime,nodiratime,uid=1000,gid=1000,fmask=117,dmask=007 /dev/block/mmcblk0p2 /rom
cp /sdcard/files/rom/devconf/BootCnt /rom/devconf/BootCnt
sync
mount -t vfat -o remount,ro,sync,noatime,nodiratime,uid=1000,gid=1000,fmask=117,dmask=007 /dev/block/mmcblk0p2 /rom
umount /sdcard
straygecko said:
NookManager uses the stock factory reset by setting the failed boot count:
Code:
/scripts/restore_factory:
mount -t vfat /dev/block/mmcblk1p1 /sdcard
mount -t vfat -o remount,rw,sync,noatime,nodiratime,uid=1000,gid=1000,fmask=117,dmask=007 /dev/block/mmcblk0p2 /rom
cp /sdcard/files/rom/devconf/BootCnt /rom/devconf/BootCnt
sync
mount -t vfat -o remount,ro,sync,noatime,nodiratime,uid=1000,gid=1000,fmask=117,dmask=007 /dev/block/mmcblk0p2 /rom
umount /sdcard
Click to expand...
Click to collapse
Aha. Well, touche to that. But then again, I haven't tried the failed boot count method before, so I see now.
PLUS, I was so dumb as to not realize that you are the great straygecko, who MADE NTGAppsAttack, and who definitely knows what he is talking about! Sorry about that.
Someone in Bangladesh was recently having a problem registering a new Nook purchased online from BestBuy. The error message was the same and it finally turned out the units serial # had been blacklisted by B&N! A call to them finally sets things right, so you may want to try contacting them.
Who'd have thought B&N would blacklist serial numbers?
:?
thenookieforlife3 said:
Who'd have thought B&N would blacklist serial numbers?
:?
Click to expand...
Click to collapse
When you get a warranty replacement they ship out the refurb before you return the original, if the original isn't returned and the credit card can't be authorized then I would imagine that they would blacklist both devices. Then again this just prevents use on their ecosystem, not very painful.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
OverByter said:
When you get a warranty replacement they ship out the refurb before you return the original, if the original isn't returned and the credit card can't be authorized then I would imagine that they would blacklist both devices. Then again this just prevents use on their ecosystem, not very painful.
OB
Sent from my SPH-D710VMUB using Tapatalk 2
Click to expand...
Click to collapse
Aha. That makes sense.

Categories

Resources