[Q] Booting to black screen but I can still get shell - Captivate General

Brief background: I started with a stock AT&T Captivate, rooted it, then read this: http://samsungcaptivate.wikia.com/wiki/How_To_Enable_Non-Market_apps_for_Captivate. I used Ghost Commander to get the settings.db file, copied it to my Windows machine, ran the SQLite command (and checked that it worked), copied the file back and chmod'ed to 660 (that's read-write for user and group, nothing for world, right?).
Now, I reboot normally, logo comes up, etc., aaaaand... black screen. My buttons are backlit, but nothing on the screen. I can `adb shell` no problem, and I have a backup of the file I modified, but I can't copy it. When I try `su`, it sits for a bit then says "denied", presumably waiting for me to click on the prompt
Right now I'm copying the contents of my SD card (just to be safe) using `adb pull` -- the irony is, I'm doing all this so I can test restoring from the Titanium Backup I just made last night!
At any rate, I'd rather stay on a stock ROM (at least for now) -- I don't have a ton of time to spend on it -- but any fix would be appreciated.
ETA: Answered my own question -- a factory reset did it, and luckily I had a Titanium Backup of everything from last night. Still curious what I could have done to salvage things had I not had the backup...

Odin one-clock to JF6 would also set it back to stock

Related

Multiple Problems

Hi,
I got a GTablet for Christmas today and I seem to have had some bad luck with it...
When I first got the tablet, it wouldn't keep any of my settings (not the wifi connection, not the development settings, nothing).
I thought I could get around this by flashing a different image (I am a novice user, though I do have a very modded N1 -- except it's still stock, sort of).
So... I did not have a MicroSD card at all (it's Christmas, all the places are closed until Monday, and I did not anticipate any problems). Still, I was able to flash the image of TNT Lite...Sort of. I had no problems upon booting, with the familiar N1 X boot animation.
I could add things to the stock Android launcher included with TNT Lite, but not remove them (as soon as I sled the icon I wanted to remove over to the 'trashcan', it force-closed the launcher, but my icon was removed nonetheless).
I did have a slightly working Market (I had the half-star issue). I did not have Titanium Backup installed, so I attempted to restore a working Market by force-closing and clearing the data of the 'Google Services Framework' and 'Market' services... Didn't work, like I thought, so I then tried to sideload Titanium Backup.
There is where my big, big problem came up. As soon as I tried to load TB onto my GTablet, I had tons of Force-Closes (and the tablet sort-of half rebooted). So, I got them to go away and tried again. Same thing.
So, I gave up and vowed to try again tomorrow. Except, I might not be able to tomorrow... As soon as I turned the tablet off, all was A-Okay for the most part... Later, I thought I'd try a little earlier than tomorrow, so when I turned it on.... I didn't get any farther than the GTablet logo before I realized I was in an infinite boot loop.
Now, I'm stuck with a boot-looping GTablet and a not working Christmas present! Help, please.
EDIT @ 3:44AM (Dec 29, 2010)- [FIXED]
FIXED!
When you get an sdcard you can do a fresh install from the external sdcard.
Yeah, I know that.
I don't know if I'll be able to rescue it or not (like I said, I'm new to this, and I was under the impression that [Power]+[Volume-UP] meant 'load recovery mode' which would look like the one I use on my Nexus One).
Do you think I should try (if I can get out of the infini-boot) flashing to TNT Lite (the latest, I think 3.1.0.1 or something similar)?
I'm wary of flashing to that one again, since it seems to have some serious problems with my particular tablet (I searched and there were no similar problems to mine that I could find).
I don't know if I'll be able to sideload Titanium Backup, are there any alternatives to that in getting a working Market (I tried anything else I could think of, but nothing was ever able to sideload onto my Tablet, ever)?
Have you installed Clockworkmod recovery?
Read the main threads (tnt lite, vegan, installing gapps) and I believe you will find someone has had the same problems you have
Hi there! I got the MicroSD card today.
So, I was looking through the guide I had previously used (http://forum.xda-developers.com/showthread.php?t=842004) and now I'm going to try to install ClockWork Mod recovery .8 (the one they said works best here).
I will update this (or maybe make a new message if you don't mind, if I can't edit my posts) if I can successfully get it working.
EDIT @ 12:47AM (Dec 29, 2010)- [Downloading the recovery mod file]
I downloaded the 'gtab-cwm-v08.zip' file to my MicroSD card, and extracted the 'update.zip' and 'recovery' folders inside (I imagine that is correct).
Then, took it out of the computer and loaded it onto my GTablet. I turned it on and did the recovery combination with [Power]/[Volume-UP].
It gave the screen that said it was loading the image and then another screen (black with 'ANDROID' and some other text on the screen).
For just a second, an error-type screen flashed on the screen (big warning icon, not sure how to describe it, but there was no text nor a loading bar).
Then, it rebooted (and then again and again, so it's not fixed yet).
Not sure what I did wrong... <
EDIT @ 1:43AM (Same Day)- [Installing recovery/Fixing boot loop]
Successfully installed Clockwork Mod Recovery .8 after downloading a 'command' file from my ROM's .rar (I modified the file so that it'll say <load-info>sdcard2<load-info> instead of <load-info>sdcard<load-info>).
Repartitioned to 2048 and 0 for the memory settings.
EDIT @ 1:55AM (Same Day) [Boot loop fixed, now just trying to figure out what to do next]
Repartitioning to 2048 and 0 in the memory fixed the boot loop. Yes!
Now, I don't know exactly what to do next... This one is still in progress right now.
Sounds like you did it right. Where you got the Clockwork file may make a difference though. There are 2 of them out there. One is from a thread that has it setup to load from an external sdcard. The other from the internal. Quick way to see what you have is to open the command file inside the recovery folder and see if it says sdcard, or sdcard2. You want it to point at whatever method you are using to load it. Sdcard for internal, sdcard2 for an external card.
If you haven't tried it already, look at this.
After that just load the rom you want.
Beware though, you may have a strange model that won't work with that, some have been floating around..... Read the full thread too
This may also be useful to you: http://forum.xda-developers.com/showthread.php?t=842000
Now, I see why it did not work... Mine had no 'command' file AT ALL (in the 'recovery' folder)!
So, how can I make one?
By the way... To address your initial issue of being in a boot loop. Get clockwork installed. Once installed go to advanced, partition sdcard. Use 2048, and 0 for the swap. That will get rid of the boot loop.
XANAVirus said:
Now, I see why it did not work... Mine had no 'command' file AT ALL (in the 'recovery' folder)!
So, how can I make one?
Click to expand...
Click to collapse
You can find one in most any of the roms. The earlier TnT roms had them, others too...
They are all the same except for the sdcard, or sdcard2 thing I talked about so don't worry about finding a specific one.
So, when I install Clockwork, do I need to leave that MicroSD in there to run it everytime (not sure where it puts the files/etc)?
XANAVirus said:
So, when I install Clockwork, do I need to leave that MicroSD in there to run it everytime (not sure where it puts the files/etc)?
Click to expand...
Click to collapse
Nope. Once it is installed you don't need the sdcard anymore. Be sure to read my post a couple above this about fixing your boot loop.
Okay, as you wrote in the first page to reformat to 2048 and 0 (in that order), I just did that (as wrote in my edit )
What should I do next?
XANAVirus said:
Okay, as you wrote in the first page to reformat to 2048 and 0 (in that order), I just did that (as wrote in my edit )
What should I do next?
Click to expand...
Click to collapse
Reboot and see where you are... It should go back to where you were before you got the boot loop. The stuff on your internal sdcard will be gone though. So I hope there wasn't anything important there.
BTW, you can hit the back button on the side of your screen to go backwards in the clockwork menus.
Nothing important. I haven't even installed anything new or changed any new settings on my current ROM (that TNT-Lite).
I'm rebooting it right now as I type this.
EDIT @ 1:58AM (Same Day)-
Your steps fixed my boot looping problem. Thanks!
Now, I don't know what next to do. I don't have Titanium Backup installed (couldn't sideload it, I kept having problems).
I don't know if the Market is fixed yet.
Did it boot?
Sent from my VEGAn-TAB-v1.0.0b4 using Tapatalk
Yes, thanks!
Awesome! Now I would boot back into clockwork and make a backup. You can rename them from a file manager too so they make sense..
Sent from my VEGAn-TAB-v1.0.0b4 using Tapatalk
I don't ever use titanium to do the market fix. I just use it to backup apps.
Sent from my VEGAn-TAB-v1.0.0b4 using Tapatalk
Okay, I made the backup like you asked. So, now should I try to fix the Market?
Is there anything else that needs tweaking?

[Q] All the sudden stuck at the ASUS animated boot screen

I'm not sure if this is in the wrong thread since my TF is rooted but I'm afraid to ask a question anywhere else at risk of being banned. I saw a few other posts about this but it wasn't clear if their circumstances matched mine so I figured I would create a new post about this.
Basically I decided to reboot last night to clean out any programs I had running and when I powered it back on I got back the first screen but when I got to the animated ASUS screen it just hangs. I see a little white circle animation at the bottom that appears and disappears randomly and it looks like the animation is restarting but it could just be how it normally looks. I let it sit all night and in the morning it was still in the same spot.
A few days ago I used the "One click" root method (Linux LiveCD with NVFlash scripted to root). Everything went fine and my TF was working great. Over the past few days I have loaded up all the apps I use and rebooted a few separate times. I have made a Titanium backup but I believe it backs it up to the internal memory so I believe the backup will be useless if I have to wipe.
The hacks I have done are below but I believe I have rebooted after all of them. I don't have clockwork installed so I installed the hacks manually using root explorer. All of the hacks have had the desired results so I believe they were done correctly.
Netflix Patch
Original Xoom menu icons
GPS calibration fix for Google Maps
I have ADB setup on a machine and I'm hoping someone can tell me how to get this working using ADB commands.
Please help.
Updated:
I was able to use ADB to restore the /system/framework/services.jar and services.odex from the backups I created. These files were replaced by me during the installation of the GPS Calibration fix that can be found here http://forum.xda-developers.com/showthread.php?t=1192617&page=4 and here http://tabletroms.com/forums/showthread.php?1731-ASUS-STOCK-3.2-and-PRIME-beta-1.7-patch-(calibration-window-fix)
The update seemed to fixed the calibration bug and i'm pretty sure I have restarted since the installation of the fix but setting the files back to stock resolved my boot loop. Anyone have any commends, observations or explanations about this?

Solution: For those who are stuck on boot due to changing system font!

Ok, I just spent the last day and a half of my life, trying to change the system font on my MIUI XJ GB ROM (HTC Desire) to that of the iPhone (Helvetica Neue Condensed, if you care). At first, I went into a mild state of panic, when the first attempt (using Font Installer from Android market) froze the phone at the splash screen, and it wouldn't go past that no matter how many battery pulls, nor would it get into the bootloader. Even restoring from nandroid backup did not work! If this is you, read on.
I figured out I was able to get to into the bootloader, if I attempted to from a cold start, not from splash scrn (Vol. Down + Power). Wiping everything from there, did nothing. Only re-flashing the ROM got me back into the phone. Since I already lost everything!, I tried this again. And again. And again.... And so on. Sometimes with "Font Changer/Custom Font Switcher" app, sometimes with Font Installer, sometimes directly with adb, sometimes I used another technique. Sometimes I used the fonts that came with the apps I tried, sometimes they were fonts I downloaded that were converted for android, sometimes fonts that I converted myself (to ttf). No matter, almost EVERY attempt borked the phone! In the rare cases it didn't, the font never seemed to have changed!
I was getting tired of having to reinstall the ROM, so I figured out a better way (which could have saved me from losing a lot of work, had I figured it out sooner!): First, make sure you have a backup copy of the system fonts (in MIUI, this includes Arial fonts as well as Droid, etc). If you didn't make a copy, then you have to try to find if someone uploaded the fonts you need, somewhere. Then, in adb shell, you remove the font files you added (pull from /system/fonts), and you add the stock files (push to /system/fonts). I learned you don't need to be in Clockwork (or any bootloader) for this to work. At one point, I did all the pushing and pulling from my custom splash screen! (With the USB connected to the computer). In fact, while it was stuck in the splash screen for a long time, once I had replaced the Arial.ttf font with a stock font (DroidSans, since I didn't have a backup of Arial!), the phone unstuck itself, and booted straight into MIUI!
I had problems with the commands at first, though. I figured out that getting into the system from clockwork or from the computer, requires different commands, else error msg results.
Mounting the system from the computer: adb shell mount -o remount,rw system
Mounting the system from recovery:
adb devices
adb shell
# mount /system
# mount /data
# mount /sdcard
There's a lot more involved of course, such as deleting the bad font from your adb directory (once copied) and placing the stock font there, to transfer it to your phone. But all that's information repeated many times elsewhere.
I'm sure this should all help, because I've read many examples of people messing their system trying to apply fonts!
(Ok, I think I'm done trying to install system fonts! I'm just going to do it through MIUI, via their font themes!!)

[Q] Nandroid backup without display

So, my wife has had a Sensation for about a year or so, and I finally got around to rooting it for her and getting 4EXT on it. A few days ago, my son dropped it in the toilet. With the help of a bag of rice and a little disassembly/reassembly, it works... kind of. No display (was able to successfully boot it with display a couple of times). In any case, it does turn on and boot. Is there a way to do a 4EXT backup or some other kind of backup to SD without having a display? I know that 4EXT can be scripted because there's the management app that can select files to flash and then reboot and perform the operations, but I don't know what to put where to make this happen.
There is another potential option, since I think I might get a SU prompt if I try to do anything root is going into recovery first. I'm fairly certain I can get it booted up blindly and do an 'adb reboot recovery' to get to recovery... so if there's a way to execute a backup from the recovery shell, that's an option as well.
The only thing I'm concerned about is backing up her SMS, MMS, and Contacts... and I really don't want to have to mess with manually copying SQLite DB's. Titanium Backup's nandroid features would be much easier to use
Asurion is sending the replacement tomorrow, so I've got limited time to do it. Worst case scenario I'll mess with the Online Nandroid Backup scripts while in recovery and see if I can get that to happen.
I'd appreciate any ideas... I'm very technical (have a kernel for the Galaxy Blaze 4G out), and had a Sensation myself for 6 months, so pretty much pointing me in the right direction would be helpful. Otherwise I'll just be taking stabs in the dark to figure it out.
Thanks!
A quick search pointed me t this. Boot to recovery, and while in recovery (I hope you have a custom one that supports adb), type the following commands:
Code:
[B]adb shell
nandroid backup[/B]
If you are not sure how the nandroid command works, just type "nandroid" and see which options you get.
You must enter shell to execute the nandroid command. Once you're in, you don't need to type adb shell anymore.
Source: http://forum.xda-developers.com/showthread.php?t=1086003
That didn't work for me, threw an error, but I downloaded onandroid and it worked like a charm

[Q] /sdcard not accesable anymore

Hi together,
earlier I wanted to finally give the L-Preview a shot so I downloaded it and installed it as it was mentioned in the thread's instructions. Everything was fine until I was forced to reinstall it because Wifi kept getting stuck at switching (which didn't fix itself after a reboot) and some other things. So I did everything again like I did before but after I booted it up again and set up everything I noticed that in ES-File manager I couldn't access my sdcard directory. So I booted back into my recovery and saw that even there my usual sdcard directory was nearly gone except for a few folders (0, clockwordmod, legacy, obb and TWRP) which I couldn't see in ES-File explorer before. Because I was a little confused (and angry because I never had something like this happening) I just rebooted my device and connected it to my pc to see what I can access from there. But it was the same result like with the manager, there were no folders at all . So I went back into my recovery and just looked a bit around and after a while I found out that the whole /sdcard files just moved to the "0" folder that is inside the "old" sdcard-directory. And this is kind of where I am at right now not knowing what to do to get everything back to normal. I hope there is a way I can recover all of my files or at least a way that I can move them to my pc (had a few backups on there that I was too lazy to move which I do regret now...). If there is someone who understood my post and knows a solution to my problem please help me! I am actually quite lost right now because I can't even use Whatsapp without loosing all of my messages
I am sorry that I can't give you any pictures of my phones status but I don't know how I could do a screenshot/video in TWRP :/
Edit: I found an older device of myself with which I was able to take some pictures (has very bad quality because it has a little crack in the camera)
On InternerSpeicherSeite1 you can see that on my pc it shows that storage is used up but on InternerSpeicherSeite2 you can see that it is empty if I open it.
In ES you can see that there is this /legacy instead of /sdcard.
In TWRP1 you can see that the whole /scard directory is nearly empty.
In TWRP2 is the /sdcard direcory that is now in /sdcard/0 but unaccesable from anywhere except TWRP.
R4gi3X said:
Hi together,
earlier I wanted to finally give the L-Preview a shot so I downloaded it and installed it as it was mentioned in the thread's instructions. Everything was fine until I was forced to reinstall it because Wifi kept getting stuck at switching (which didn't fix itself after a reboot) and some other things. So I did everything again like I did before but after I booted it up again and set up everything I noticed that in ES-File manager I couldn't access my sdcard directory. So I booted back into my recovery and saw that even there my usual sdcard directory was nearly gone except for a few folders (0, clockwordmod, legacy, obb and TWRP) which I couldn't see in ES-File explorer before. Because I was a little confused (and angry because I never had something like this happening) I just rebooted my device and connected it to my pc to see what I can access from there. But it was the same result like with the manager, there were no folders at all . So I went back into my recovery and just looked a bit around and after a while I found out that the whole /sdcard files just moved to the "0" folder that is inside the "old" sdcard-directory. And this is kind of where I am at right now not knowing what to do to get everything back to normal. I hope there is a way I can recover all of my files or at least a way that I can move them to my pc (had a few backups on there that I was too lazy to move which I do regret now...). If there is someone who understood my post and knows a solution to my problem please help me! I am actually quite lost right now because I can't even use Whatsapp without loosing all of my messages
I am sorry that I can't give you any pictures of my phones status but I don't know how I could do a screenshot/video in TWRP :/
Click to expand...
Click to collapse
Move all your folders and files back to the old place, or get them to your pc with adb pull (use google if you want to now how) and flash the factory image for safety
You can learn to adb pull by clicking the link in my signature and then locating the adb and fastboot thread
Don't adb push your data back though. Adb pushing your entire sdcard back will cause permissions problems so use MTP to transfer data back
Sent from my Nexus 5 using Tapatalk
its a common issue with L, i even experienced it myself. first, there is a short terminal emulator command you can use. i dont know what it is, but a search should find it for you. itll move all back to where it should be. or secondly, you can do what i did. i didnt know there was a terminal command, so i used root explorer to move everything back manually. took me about 15-20 minutes.
GtrCraft said:
Move all your folders and files back to the old place, or get them to your pc with adb pull (use google if you want to now how) and flash the factory image for safety
Click to expand...
Click to collapse
rootSU said:
You can learn to adb pull by clicking the link in my signature and then locating the adb and fastboot thread
Don't adb push your data back though. Adb pushing your entire sdcard back will cause permissions problems so use MTP to transfer data back
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I already know how to adb pull but it just gives me the output seen on the picture...
there appears to be 3 different terminal emulator scripts people have been using, one for for some but not for others. heres one that i found, try it out in a terminal emulator app..
su(press enter)
restorecon -r /data/media/0/*(press enter)
simms22 said:
there appears to be 3 different terminal emulator scripts people have been using, one for for some but not for others. heres one that i found, try it out in a terminal emulator app..
su(press enter)
restorecon -r /data/media/0/*(press enter)
Click to expand...
Click to collapse
I've tried your command but it did nothing.
But I found a way simpler solution now, as I could still access my data in TWRP I was able to flash a 4.4.4 Rom (that I luckily still had on my phone^^) and now I can access everything including the "0" Folder on my pc again. So I'll move everything on my pc now and then copy it to the /sdcard directory
Thanks though for your help, really appreciate the support from the xda-community!!
But I gotta say good night now as it is already 1am but I will update this post one more time tomorrow giving a final result.
You already know /sdcard isn't working properly. Pull /data/media/0

Categories

Resources