[Q] How do I recover a mis-kerneled SGT? - Galaxy Tab 10.1 Q&A, Help & Troubleshooting

I mistakenly dropped pershoot's 10.1v kernel onto my 10.1 (P7500). Now thw screen draws garbage, and does not seem happy. I do have CWM 4.0.0.4 on it, and that does seem to work well, except that it won't mount a USB drive. ("unable to open ums lunfile" issue)
Any help would be appreciated.

adb shell mount /data
adb push NEW_KERNEL /data/media
flash new kernel and reboot.
done.

Or if you don't understand what pershoot is telling you to do. The backup that you shoulve made prior to flashing anything should work. You can select backup and restore in cwm, then advanced restore, select your backup, then just select boot

pershoot said:
adb...
done.
Click to expand...
Click to collapse
Thank you so much. In my panic, I had forgotten that the adb monitor is still running in recovery mode. I took this time to put ADB on my new Win7 machine. (been using it on my Ubuntu for kernel builds and client coding)

Related

[Q] Stuck in Clockwork

Where I'm at:
I read, and followed the instructions at Viewsonic Gtablet for Dummies.
I have a version 1.2 Gtab. I installed Clockworkmod v3.0.2.8. I backed up my ROM. I repartitioned to 2048m. I installed from internal SD card the Calking+Clemsen Froyo version 8 (got the message that the install was successful). I went into mounts and storage and mounted everything. I rebooted, and the Gtab went right back into Clockwork Mod, with everything unmounted.
I tried restoring my old version. I got the message that the restore worked. When I rebooted, it booted back into Clockworkmod. I installed Cyanogenmod 7, Vegan-tab, and Beasty's2, with the same result. I can't get out of Clockwork.
I've spent the past 3 hours combing through the forums here, and I can't find a solution. What am i doing wrong?
Thanks for your time.
Revy.
See this thread.
Thanks, I posted in that thread. Looks like the same problem, now I just need to figure out how to wipe the Misc partition. So far, I can't even locate it.
You won't be able to wipe the misc partition using any of the CWM menus.
Put the gTab into recovery mode, connect the USB cable to it and then run that adb command line on your desktop in a CMD window.
Thanks for the help.
I ended up just reflashing. Installed the latest clockwork, put in the Caulken Clemsen Froyo, and everything is working like a charm.
Thanks again.
Ok, somehow i've stuck myself in the same problem again. I'd love to learn how to use my computers command prompt to fix this. I booted into recovery mode (I have no other choice, everything I try boots into recovery mode)
I opened up the command prompt at typed
C:\> adb shell erase_image misc
and I got the message that 'adb' was not a recognized command. I tried to switch directories to where the gTab was located (J but couldnt change directories.
How the frell do I use that command from my PC to a USB connected gTab?
That's happened to me 2 times before, and the only way I know how to get it back to normal is to nvflash.
Revyloution said:
I opened up the command prompt at typed
C:\> adb shell erase_image misc
and I got the message that 'adb' was not a recognized command.
Click to expand...
Click to collapse
You've a) not installed adb or b) the location where adb is installed is not in the PATH. See this thread.
In future, don't select "Reboot Recovery" in CWM. If you want the reboot into recovery mode to work correctly, install CWM-4.0.1.5.
You can also wipe the misc partition using nvflash. First, change to the directory where nvflash and the bootloader.bin file are. Then, find out the partition number for the MISC partition. Most commonly it is 7; but, on some gTabs it is 6.
Code:
C:\SOME\PATH> [B].\nvflash --bl bootloader.bin --getpartitiontable partition.txt[/B]
Look through partition.txt for MSC. Assuming MSC is partition no. 7, wipe it like this:
Code:
C:\SOME\PATH> [B].\nvflash -r --format_partition 7 --go[/B]
The gTab should automatically reboot if you've used the correct bootloader.bin (1.1 or 1.2). However, I strongly recommend the adb method.
Ah. in that other thread, and here, I didnt see any mention of loading a program called adb. Ill find it, and add it to my new bag of Android tools.
Thanks.

Please help my nook ?

I'm using CM7 ALpha2, so i use 1-click CWM to recover stock recovery, and i reboot it! After that i receive endless bootloop! So i try to 8 times factory reset but it doesn't work! However it can boot into CWM from sdcard, and i flash another rom , but it still have bootloop! I try all roms i have but it still bootloop ! So Please help me !
Anyone help me please? I tried my best!
Check the checksum of the CM7_NT_Alpha12_Public1.zip on your uSD to see if it matches. Many time, the fault lies in corrupted file getting flashed. Cheap uSD reader from China can corrupt your file during transfer. I've had this experience and heard of it. Use a good uSD reader and always check the checksum.
You can shutdown your NT by holding the power button until it shut of. Re-download CM7_NT_Alpha12_Public1.zip and re-flash.
succulent said:
Check the checksum of the CM7_NT_Alpha12_Public1.zip on your uSD to see if it matches. Many time, the fault lies in corrupted file getting flashed. Cheap uSD reader from China can corrupt your file during transfer. I've had this experience and heard of it. Use a good uSD reader and always check the checksum.
You can shutdown your NT by holding the power button until it shut of. Re-download CM7_NT_Alpha12_Public1.zip and re-flash.
Click to expand...
Click to collapse
Not only CM7 Alpha2, i tried all rom in forum, none of them worked !
From recovery, do a complete data wipe (-wipe data/factory reset)
then wipe your cache (-wipe cache partition)
Install an md5 verified zip of CM7.
Wipe cache partition again. Reboot
See if that works.
During CM7 testing, the only time we encountered boot loops was from not doing a cache wipe. If you have installed numerous files, chances are stuff is getting corrupted.
Know-Fear said:
From recovery, do a complete data wipe (-wipe data/factory reset)
then wipe your cache (-wipe cache partition)
Install an md5 verified zip of CM7.
Wipe cache partition again. Reboot
See if that works.
During CM7 testing, the only time we encountered boot loops was from not doing a cache wipe. If you have installed numerous files, chances are stuff is getting corrupted.
Click to expand...
Click to collapse
It still not work , it still bootloop ! !
blackhat007 said:
It still not work , it still bootloop ! !
Click to expand...
Click to collapse
Try the cwm fix by indirect to push cwm image again back in place , you may want to do all the wipes data, cache, advanced> dalvik cache and system partition just in case but DO NOT format any other partition or you'll mess your device even more.
~ Veronica
Sent from XDA premium using my Nook Tablet
lavero.burgos said:
Try the cwm fix by indirect to push cwm image again back in place , you may want to do all the wipes data, cache, advanced> dalvik cache and system partition just in case but DO NOT format any other partition or you'll mess your device even more.
~ Veronica
Sent from XDA premium using my Nook Tablet
Click to expand...
Click to collapse
Yesterday when I tried to fixed this problem, perhaps I formated the /system and the /bootdata partition! Is this cause my problem
When you boot into CWM recovery, go to advanced and show log. Do you have any errors listed there?
failed to open /sys/class/android_usb/android0/state: no such file or directory
Sometimes if i unplug cable and press power button, the N screen appear one time and turn off after that, but if i plug into computer, it will become bootloop !
Is there any ideas, i dont want to send back for warranty because i'm in Viet Nam !
If you don't have ADB set up, go download Indirect's nook&zergy file. It has ADB included in it, and you will need to grab the drivers from that same post. Located here
Then you will need to follow the instructions Here
Once you have working ADB, and you copy the parted file to your sdcard do this: (not listed as such in Celtic's post)
adb devices (make sure you are detected)
adb shell (this will return a # prompt)
cd /sdcard
parted /dev/block/mmcblk0 print
answer yes and fix as many times as necessary. Eventually it will return a partition break down.
From there, clear cache again to be safe, then reboot
I was in the situation where my Nook would boot, showed the "cardboard box", and then blackness. I just took it to the B&N store hoping for a reformat. Instead they gave me a whole new NT. YMMV of course. Good luck!
Dobabobalina said:
I was in the situation where my Nook would bot, shoe the "cardboard box", and then blackness. I just took it to the B&N store hoping for a reformat. Instead they gave me a whole new NT. YMMV of course. Good luck!
Click to expand...
Click to collapse
I don't think he would have the same experience being in Vietnam.
Know-Fear said:
If you don't have ADB set up, go download Indirect's nook&zergy file. It has ADB included in it, and you will need to grab the drivers from that same post. Located here
Then you will need to follow the instructions Here
Once you have working ADB, and you copy the parted file to your sdcard do this: (not listed as such in Celtic's post)
adb devices (make sure you are detected)
adb shell (this will return a # prompt)
cd /sdcard
parted /dev/block/mmcblk0 print
answer yes and fix as many times as necessary. Eventually it will return a partition break down.
From there, clear cache again to be safe, then reboot
Click to expand...
Click to collapse
I do following the instruction but i don't understand how to :
"ADB into your device and run the binary with the following command (you'll need it to be the accesible path or you can just be in the directory where it is)"
I double click on adb.exe but nothing happend !
you must have adb set up and working on your computer. Plug your NT USB cable in to the PC. If you have this:
Open a command window from the folder your adb.exe is located. (assuming you are running windows, linux would have a totally different set up that you would need to research). If in windows, navigate to the folder your adb is in (if you followed the guide in Indirect's thread, it would be in your c:\NTROOT folder. Either way, once you are in that folder, hold down your shift key and right click and select the 'open a command window here option from the menu.
Once you have a command window open, type the following:
adb devices (again, to make sure you are being detected)
adb shell
cd /sdcard
parted /dev/block/mmcblk0 print
answer the prompts with yes and fix as directed.
Know-Fear said:
you must have adb set up and working on your computer. Plug your NT USB cable in to the PC. If you have this:
Open a command window from the folder your adb.exe is located. (assuming you are running windows, linux would have a totally different set up that you would need to research). If in windows, navigate to the folder your adb is in (if you followed the guide in Indirect's thread, it would be in your c:\NTROOT folder. Either way, once you are in that folder, hold down your shift key and right click and select the 'open a command window here option from the menu.
Once you have a command window open, type the following:
adb devices (again, to make sure you are being detected)
adb shell
cd /sdcard
parted /dev/block/mmcblk0 print
answer the prompts with yes and fix as directed.
Click to expand...
Click to collapse
I'm using win7 ultimate 64bit , i open but nothing happened! I open task manager and see process adb.exe ! I tried it in winxp sp3 so it didn't work too !
adb is ran from a command window. its not a GUI based program. Follow the instructions I have given you and you should be good to go.
This same error happened to me earlier this afternoon and was easily recovered from.
blackhat007 said:
I'm using win7 ultimate 64bit , i open but nothing happened! I open task manager and see process adb.exe ! I tried it in winxp sp3 so it didn't work too !
Click to expand...
Click to collapse
[HOW-TO] Use ADB tool | Android Debug Bridge
you cant just type adb devices and expect it to work unless you add adb to windows PATH, first you have to "cd" to the path where adb files are located, most likely C:\ntoot or wherever you have placed them, more specific info is in the tutorial i posted.
~ Veronica
Know-Fear said:
adb is ran from a command window. its not a GUI based program. Follow the instructions I have given you and you should be good to go.
This same error happened to me earlier this afternoon and was easily recovered from.
Click to expand...
Click to collapse
I understand and i run the command but it didn't recognize my devices !
List of devices attached
blackhat007 said:
I understand and i run the command but it didn't recognize my devices !
List of devices attached
Click to expand...
Click to collapse
if you never rooted using a pc but the sdcard method then you need to run the runmefirst.bat that will create a .Android folder with adb_usb.ini containing nook vendor's id needed by adb to recognize your device.
~ Veronica

[Q] No USB/SDCARD mount option in CWR

Hey every1, hope every1 is having a great day.
My problem is that im stuck with one room inside my tab (GT-7500) and its a CM9 ICS rom. For some strange reason i cant install it properly even though i have CWR 5.5.0.4 as listed in the installation steps. Then downloaded another rom (Infamous) and apparently i have to install another Honeycomb rom before installing this one.
Now to my question is there any other way to mount the sdcard beside the CWR?
As i can not find mount usb nor sdcard in CWR->Mount and Storge.
Thanks for the help in advance
In CWM, if you want to mount the internal /sdcard partition, select the option "mount data" in "Mount and Storage"
If you're talking about an external USB, you'll have to mount it manually via adb (if you're in CWM)
Well, ive done that. And it get recognized in the computer but does not show up in "My Computer", went to Computer Management to hopefully find it there with out any results. I also tried uninstall the driver and install it again. Thanks again mate
Oh no, it won't show in your computer as a usb drive or something similar if you are in cwm. What I understand is that you don't have a functional ROM, I mean, you can't boot into android and you need to put a new ROM in your tablet.
If that's the case, just use adb to push the ROM file. Read the answer #11 in this FAQ if you don't know what adb is: http://forum.xda-developers.com/showthread.php?t=1642009
Thanks Mate, all done thanks to you .
In case anywone is wondering heres how i did it.
First i installed ADB via a guide that i found on google (For some strange reason i cant link to the guide). Then via Terminal or Command Promt i used the command adb push Nameoftherom.zip /sdcard/Nameoftherom.zip.
Thanks again

[Help] usb-otg won't mount to load new ROM from PC after data format

UPDATE!
Finally got it working. All in one tool kit + adb sideload the rom = win
Hope this helps anyone else in the future that does this!
So I formatted data and have no ROM to flash anymore - I'm trying to mount USB but it keeps saying "E: Unable to oust 'usb-otg' - How can I get this thing to mount so I can flash my ROM back on and use the phone again!
TWRP Recovery is what I'm using if that helps
Edit: Update!
I also ran into a similar predicament a few days ago. I found adb push to be much easier than sideload. Make sure that your drivers and adb is installed on your PC (I assume Windows). In recovery mode, plug phone into USB and your PC should detect the phone but you won't be able to see phone contents; mine made a connection sound.
Then open a command prompt and type: adb push ROM.zip /data/media/ROM.zip
Rom.zip is the rom file that you want to flash, which should be in the same folder as adb. For the path, I used "/data/media" because the custom recovery defaults to that but you may be able to use "/sdcard" as well.
Then flash the rom using recovery
Click to expand...
Click to collapse
Tried to do this as well, moved AR 10.3 rom to adb folder, did the push command and it couldn't find/connect to device.
Would finding a non-aroma rom and flashing it using fastboot work?

[Q] Bootloop: mmcblk0p2 error

Hello all, longtime reader first time poster. I've got the Galaxy Player 4.0 (YP-G1US), and I'm in a "bootloop" situation similar to the others I've seen around here. It seems that the device can't mount the /data partition (mmcblk0p2), and I've tried flashing the stock ROM using Odin in Windoze, Heimdall in both Windoze and Ubuntu 12.04 and 12.10 (not that that I expected a difference) and Terra Silent ROM as well. I flashed using the files from zaclimon's post (http://forum.xda-developers.com/showthread.php?t=1531850), using the pit (with repartition), param, cache, dbdata, factoryfs and zImage. None of that worked, so, I've resigned myself to the fact that my internal memory must have been damaged.
I stumbled on this post http://forum.xda-developers.com/showthread.php?t=1861294 to try to format my external SD as the /data partition. I realize this isn't for the YP-G1US, but I thought I would try anyway (and the first steps should be agnostic of device.) I made two partitions, one in vfat, the other in ReiserFS, flashed stock ROM using all the files I mentioned above, but still got the bootloop. To monitor the situation, I installed google's SDK tools, but can't get ADB to work with my device. When I am in recovery mode for Terra Silent ROM, I am in USB debugging mode automatically, but ADB shows that my device is offline (specifically, the command 'adb devices' returns '????????? offline' ) I understand this is because my device can't authenticate the RSA key from my computer, which would be a handy feature if my device actually worked (you know, to prevent someone from taking my information.) But, since my device won't boot and I've wiped out all the data it had, this is an unnecessary annoyance that prevents me from diagnosing my problem.
Here are my questions:
1.) Do you know how to restore my device to some sort of working order (which most likely involves mounting the external SD as the internal SD in some manner.)
2.) If you don't know how to do 1.), could you at least tell me how to get ADB to recognize my device so I can figure out what my problem is? Maybe some method of moving the RSA key from my computer to the device, or some other way to run ADB on a device that can boot to recovery or download but not all the way so that I can transfer the key normally?
Thanks very much,
Eric
ewgrashorn said:
Hello all, longtime reader first time poster. I've got the Galaxy Player 4.0 (YP-G1US), and I'm in a "bootloop" situation similar to the others I've seen around here. It seems that the device can't mount the /data partition (mmcblk0p2), and I've tried flashing the stock ROM using Odin in Windoze, Heimdall in both Windoze and Ubuntu 12.04 and 12.10 (not that that I expected a difference) and Terra Silent ROM as well. I flashed using the files from zaclimon's post (http://forum.xda-developers.com/showthread.php?t=1531850), using the pit (with repartition), param, cache, dbdata, factoryfs and zImage. None of that worked, so, I've resigned myself to the fact that my internal memory must have been damaged.
I stumbled on this post http://forum.xda-developers.com/showthread.php?t=1861294 to try to format my external SD as the /data partition. I realize this isn't for the YP-G1US, but I thought I would try anyway (and the first steps should be agnostic of device.) I made two partitions, one in vfat, the other in ReiserFS, flashed stock ROM using all the files I mentioned above, but still got the bootloop. To monitor the situation, I installed google's SDK tools, but can't get ADB to work with my device. When I am in recovery mode for Terra Silent ROM, I am in USB debugging mode automatically, but ADB shows that my device is offline (specifically, the command 'adb devices' returns '????????? offline' ) I understand this is because my device can't authenticate the RSA key from my computer, which would be a handy feature if my device actually worked (you know, to prevent someone from taking my information.) But, since my device won't boot and I've wiped out all the data it had, this is an unnecessary annoyance that prevents me from diagnosing my problem.
Here are my questions:
1.) Do you know how to restore my device to some sort of working order (which most likely involves mounting the external SD as the internal SD in some manner.)
2.) If you don't know how to do 1.), could you at least tell me how to get ADB to recognize my device so I can figure out what my problem is? Maybe some method of moving the RSA key from my computer to the device, or some other way to run ADB on a device that can boot to recovery or download but not all the way so that I can transfer the key normally?
Thanks very much,
Eric
Click to expand...
Click to collapse
Are you using adb on Ubuntu? You have to run adb start-server as root.
Mevordel said:
Are you using adb on Ubuntu? You have to run adb start-server as root.
Click to expand...
Click to collapse
I am (technically Kubuntu, 12.10), but whether or not you need to be root to use adb depends on where you installed it. At any rate, if it were a root user priviliges issue, I'd be seeing "?????????? No Permissions". I did run adb as root, just to be sure, and got the same response as described in the original post.
I know that the issue is the RSA key authentication (whitelist) "feature" that google introduced with more recent versions of adb, which is fine if you can actually boot your device and click "yes" on the popup that asks to verify that you want the connected computer to access your device. The problem I have has arisen because I can't boot normally (I can only get to recovery) and so can't authorize my computer to connect to my Galaxy player (and so can't transfer the RSA key from my computer to my Galaxy.) So again, I ask, is there a workaround?
Thanks,
eric
ewgrashorn said:
I am (technically Kubuntu, 12.10), but whether or not you need to be root to use adb depends on where you installed it. At any rate, if it were a root user priviliges issue, I'd be seeing "?????????? No Permissions". I did run adb as root, just to be sure, and got the same response as described in the original post.
I know that the issue is the RSA key authentication (whitelist) "feature" that google introduced with more recent versions of adb, which is fine if you can actually boot your device and click "yes" on the popup that asks to verify that you want the connected computer to access your device. The problem I have has arisen because I can't boot normally (I can only get to recovery) and so can't authorize my computer to connect to my Galaxy player (and so can't transfer the RSA key from my computer to my Galaxy.) So again, I ask, is there a workaround?
Thanks,
eric
Click to expand...
Click to collapse
The build property ro.adb.secure=0 will override that. You can try putting it in build.prop, but if it doesn't work, you'll have to put it in /default.prop, which requires modifying the kernel ramdisk. While you're at it, ro.secure=0 will give you an automatic root shell.

Categories

Resources