[Q] GAH! Help Needed after using LCD Density Changer - Xoom Q&A, Help & Troubleshooting

I've spent most of the day flashing my UK Wifi Xoom to the stock US build, updating to 3.1, rooting and sticking on Tiamat. I've the installed all my apps and changed prefs. I then, 10 mins ago, decided to try LCD Density Changer to see if I could sort my TV overscan issue. Changed to 200 and restarted and the Xoom's stuck in a boot loop with the honeycomb animation.
I did not perform a nandroid backup after customising! STUPID!!!
I can get into CWM recovery and access adb but I don't know what to do to change the lcd density back. I've read that it's in the build.prop but I'm trying this command to try to pull the file but it's not working.
C:\Program Files (x86)\Android\android-sdk\tools>adb pull /system/build.prop build.prop
remote object '/system/build.prop' does not exist
Any help would be greatly appreciated. I really don't want to have to reset.

OK nevermind, I forgot to mount system before trying to pull the file
For info: I pulled the file, added the line "ro.sf.lcd_density=160" (no quotes) pushed it again and rebooted. Now working.
Nand backup in progress!!!

Related

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

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

[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] Unfortunately Launcher has stopped and other issues

Hi guys,
I've been reading you for a while, but this is actually my first post.
Currently stuck with a "Unfortunately, Launcher has stopped" on my tablet, with no access to any menus except my Settings. The menu bar (back, home and multitasking) is now gone. I've got my keyboard to navigate, but something in the display is also quite wrong, image seems to be zoomed, or set at the wrong resolution. Tried to search on the forum, but all posts found were not about the same rom or the same issue. Sorry if I missed one.
Here's a little background story:
I've rooted my TF300T about a month ago and installed Hydro 4.1. It has been working very well since then, but in the last days, I thought that my tablet felt a little slower than usual, so I started searching if an update to 4.2 was available.
I'm not sure if this is what caused the issue or not, but I went into my "Power button" menu and went into "Recovery" mode (instead of Shutdown, reboot, etc.), which then restarted my unit into TWRP menu.
I then selected the "System" submenu and simply touched "Reboot". (terms might not be exact). At the first reboot, I got the problems that I described.
Can't do much, popup keeps appearing on my screen. I haven't tried yet to clear the cache of my Launcher, which I'm trying to avoid as I would prefer to avoid rearranging 5 pages of icons, but between that and reinstalling everything, obviously I prefer to simply lose my display preferences.
Can anyone help me about what caused my issue, and what can I do now?
Here are 2 screenshots that I took, showing that my bottom menu is missing and that the fonts aren't set right (clock and left icon). Also, my notifications menu now appears near the middle of my screen.
EDIT: I unfortunately cannot post links yet
I remember installing an app (with root access) that gave me a menu about my resolution. One thing that I'm wondering, could it be that the resolution got changed and I simply never rebooted since the change, which now caused my Launcher to crash? How can I launch an app without having access to the app menu?
Thanks in advance for your help.
irepressed said:
Hi guys,
I've been reading you for a while, but this is actually my first post.
Currently stuck with a "Unfortunately, Launcher has stopped" on my tablet, with no access to any menus except my Settings. The menu bar (back, home and multitasking) is now gone. I've got my keyboard to navigate, but something in the display is also quite wrong, image seems to be zoomed, or set at the wrong resolution. Tried to search on the forum, but all posts found were not about the same rom or the same issue. Sorry if I missed one.
Here's a little background story:
I've rooted my TF300T about a month ago and installed Hydro 4.1. It has been working very well since then, but in the last days, I thought that my tablet felt a little slower than usual, so I started searching if an update to 4.2 was available.
I'm not sure if this is what caused the issue or not, but I went into my "Power button" menu and went into "Recovery" mode (instead of Shutdown, reboot, etc.), which then restarted my unit into TWRP menu.
I then selected the "System" submenu and simply touched "Reboot". (terms might not be exact). At the first reboot, I got the problems that I described.
Can't do much, popup keeps appearing on my screen. I haven't tried yet to clear the cache of my Launcher, which I'm trying to avoid as I would prefer to avoid rearranging 5 pages of icons, but between that and reinstalling everything, obviously I prefer to simply lose my display preferences.
Can anyone help me about what caused my issue, and what can I do now?
Here are 2 screenshots that I took, showing that my bottom menu is missing and that the fonts aren't set right (clock and left icon). Also, my notifications menu now appears near the middle of my screen.
EDIT: I unfortunately cannot post links yet
I remember installing an app (with root access) that gave me a menu about my resolution. One thing that I'm wondering, could it be that the resolution got changed and I simply never rebooted since the change, which now caused my Launcher to crash? How can I launch an app without having access to the app menu?
Thanks in advance for your help.
Click to expand...
Click to collapse
What you describe is likely caused by changing the resolution. Are you still running hydro 4.1?
You can likely recover by replacing your build.prop or editing the one you now have. build.props are usualy rom specific so you need one from the rom you are using.
tobdaryl said:
What you describe is likely caused by changing the resolution. Are you still running hydro 4.1?
You can likely recover by replacing your build.prop or editing the one you now have. build.props are usualy rom specific so you need one from the rom you are using.
Click to expand...
Click to collapse
Yes, still using Hydro 4.1. I do have a build.prop editor installed on my tablet, but since I can't launch app, I don't know how to do it.
I'll try to connect the tablet to my PC and see if I can get access to my file from there.
Thanks!
irepressed said:
Yes, still using Hydro 4.1. I do have a build.prop editor installed on my tablet, but since I can't launch app, I don't know how to do it.
I'll try to connect the tablet to my PC and see if I can get access to my file from there.
Thanks!
Click to expand...
Click to collapse
I'm presently downloading 4.1 hydro to retrieve the build.prop. If you unzip it the build.prop is /system/build.prop also located there on your tab. I have another fifteen minutes to download if you wish for me to supply the file!
tobdaryl said:
I'm presently downloading 4.1 hydro to retrieve the build.prop. If you unzip it the build.prop is /system/build.prop also located there on your tab. I have another fifteen minutes to download if you wish for me to supply the file!
Click to expand...
Click to collapse
If you could, I would appreciate it!
Only thing left, how can I send the file to my TF300T without access to my apps? I'm currently trying to cheat by opening my apps using the Share feature with screenshots taken, but so far, no success.
irepressed said:
If you could, I would appreciate it!
Only thing left, how can I send the file to my TF300T without access to my apps? I'm currently trying to cheat by opening my apps using the Share feature with screenshots taken, but so far, no success.
Click to expand...
Click to collapse
We should be able to push with adb, set permissions, and reboot.
---------- Post added at 04:58 PM ---------- Previous post was at 04:36 PM ----------
http://www.mediafire.com/?tk3cifzci0vw24e
place the build.prop from the zip file into the directory with fastboot.
Open terminal or cmd in the directory with fastboot.
Boot into twrp – twrp provides adb access by default.
Use twrp mount menu and check mount system.
Then type
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
in twrp reboot system
type
adb kill-server
tobdaryl said:
We should be able to push with adb, set permissions, and reboot.
---------- Post added at 04:58 PM ---------- Previous post was at 04:36 PM ----------
place the build.prop from the zip file into the directory with fastboot.
Open terminal or cmd in the directory with fastboot.
Boot into twrp – twrp provides adb access by default.
Use twrp mount menu and check mount system.
Then type
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
in twrp reboot system
type
adb kill-server
Click to expand...
Click to collapse
Ok, my Fastboot folder is currently at the root of my C drive on my PC
I entered your command and got after the first one "adb server is out of date. killing...
* daemon started successfully *
error: device not found
FYI, before I got your last post, I used Android commander to push the build.prop that I still had on my PC when I installed the custom hydro 4.1 rom.
After my reboot, I got the Asus logo, than a black screen that does nothing.
I then rebooted in Fastboot and followed your instructions.
So now, it seems that my pc doesnt see my tablet anymore when in TWRP. is this normal? Do I need to restart it after checking "Mount system"?
irepressed said:
Ok, my Fastboot folder is currently at the root of my C drive on my PC
I entered your command and got after the first one "adb server is out of date. killing...
* daemon started successfully *
error: device not found
FYI, before I got your last post, I used Android commander to push the build.prop that I still had on my PC when I installed the custom hydro 4.1 rom.
After my reboot, I got the Asus logo, than a black screen that does nothing.
I then rebooted in Fastboot and followed your instructions.
So now, it seems that my pc doesnt see my tablet anymore when in TWRP. is this normal? Do I need to restart it after checking "Mount system"?
Click to expand...
Click to collapse
Ok, I just killed my adb.exe, tried the command again and that got rid of the out of date error.
But, still stuck with the "device not found".
irepressed said:
Ok, my Fastboot folder is currently at the root of my C drive on my PC
I entered your command and got after the first one "adb server is out of date. killing...
* daemon started successfully *
error: device not found
FYI, before I got your last post, I used Android commander to push the build.prop that I still had on my PC when I installed the custom hydro 4.1 rom.
After my reboot, I got the Asus logo, than a black screen that does nothing.
I then rebooted in Fastboot and followed your instructions.
So now, it seems that my pc doesnt see my tablet anymore when in TWRP. is this normal? Do I need to restart it after checking "Mount system"?
Click to expand...
Click to collapse
Slowdown, I'm getting behind. I'm willing to help but you are now worse off than before.
Sit tight for five minutes and I'll try to give you a twrp flashable zip for your build.prop and hope that is the extent of the damage.
If not we'll try to go from there.
http://www.mediafire.com/?ybplc1ws8uvskhf
This is a twrp flashable zip that only replaces your build.prop with the one from hydro 4.1.
tobdaryl said:
Slowdown, I'm getting behind. I'm willing to help but you are now worse off than before.
Sit tight for five minutes and I'll try to give you a twrp flashable zip for your build.prop and hope that is the extent of the damage.
If not we'll try to go from there.
This is a twrp flashable zip that only replaces your build.prop with the one from hydro 4.1.
Click to expand...
Click to collapse
Alright, I'll wait for your answer before trying anything else.
So now, I've got your latest .zip file.
Still can't see my TF300T from my PC, so, ADB is a no go for now.
In fact, I do see it in the Device Manager, but since my last reboot, it now shows an exclamation mark on it as if my drivers weren't good.
Since you mentioned the file is a flashable zip, I'm guessing that I can flash it using TWRP without going through my PC?
Can you give me precise info on that, since I do not want to mess with my system more than I already did.
Thanks
irepressed said:
Alright, I'll wait for your answer before trying anything else.
So now, I've got your latest .zip file.
Still can't see my TF300T from my PC, so, ADB is a no go for now.
In fact, I do see it in the Device Manager, but since my last reboot, it now shows an exclamation mark on it as if my drivers weren't good.
Since you mentioned the file is a flashable zip, I'm guessing that I can flash it using TWRP without going through my PC?
Can you give me precise info on that, since I do not want to mess with my system more than I already did.
Thanks
Click to expand...
Click to collapse
Look at the bottom of my previous post. You will find a new link there. Just flash with twrp and reboot. Don't worry about wiping or any of that, just flash and reboot.
tobdaryl said:
Look at the bottom of my previous post. You will find a new link there. Just flash with twrp and reboot. Don't worry about wiping or any of that, just flash and reboot.
Click to expand...
Click to collapse
Yep, that's the file I was talking about.
I now need to flash and reboot, your file is at the root of an SDcard in my TF300T, I go through the Install menu and then, can't seem to view the content of my sdcard. Tried to mount it first but can't select it either, it will simply stay on "Internal Storage".
EDIT: The RCK icon is the only one right now that boots me into something. If I try the USB icon, it just stays on that screen forever.
Trash the two zips you have downloaded. I'm providing a new one for when we get back to that point. And there will be no doubt about which zip you are using.
http://www.mediafire.com/?hagehu5qu5ky6sf
OK. First I'll explain your earlier comment about adb being old. Twrp expects a recent adb or refuses to allow adb access ( we'll not worry at the moment about that but it is something you need to address later (I hope).
If you have a cord between your tablet and pc remove it. The sdcard may be mounted as data on the pc and not allow twrp to mount it.
You have been using this sdcard prior to this exercise?
Do you have any backups or flashable zips or anything of that nature on your internal sdcard?
If so what?
tobdaryl said:
Trash the two zips you have downloaded. I'm providing a new one for when we get back to that point. And there will be no doubt about which zip you are using.
OK. First I'll explain your earlier comment about adb being old. Twrp expects a recent adb or refuses to allow adb access ( we'll not worry at the moment about that but it is something you need to address later (I hope).
If you have a cord between your tablet and pc remove it. The sdcard may be mounted as data on the pc and not allow twrp to mount it.
You have been using this sdcard prior to this exercise?
Do you have any backups or flashable zips or anything of that nature on your internal sdcard?
If so what?
Click to expand...
Click to collapse
Zips trashed, kept only the one provided in your latest answer.
No cord between PC and tablet. Still unable to click on "Using external SD" or "Mount SDCard". It simply won't let me check the box or switch the bullet.
As for using this SDcard before, yes in a PC, but no, first time in my Asus. Also tried with another one just in case and same result.
As for backups and flashable zips, I kept everything from when I did my root and rom install.
I do know that I have a backup in the Restore menu of TWRP, which seems about the time I installed it. I suppose I could simply do a restore and avoid additional headaches, but my question is, what exactly will it restore? At this point, I'm mentally prepared to go back to what I had after installing Hydro 4.1, as long as I can use the tablet ASAP.
Asap = restore your backup.
If I'm restoring a different rom I'll wipe Cache, Dalvik Cache, and Factory Reset. If the backup is from the same rom I'm flashing and I want to keep the apps I have Installed since the backup I won't Factory Reset.
Good Luck!
tobdaryl said:
Asap = restore your backup.
If I'm restoring a different rom I'll wipe Cache, Dalvik Cache, and Factory Reset. If the backup is from the same rom I'm flashing and I want to keep the apps I have Installed since the backup I won't Factory Reset.
Good Luck!
Click to expand...
Click to collapse
So, I did the restore, and I'm up and running, but, no more Hydro 4.1. I guess my backup was probably what got done right before the installed it.
The good thing is, my tablet is working again and my root is still active. The bad part is that I'm gonna have to dig my head again in all the tutorials and try to find the best one.
Hey, I wanted to say a huge thank you for all your help, if it wasn't for guys like you, newbies like me would be stuck with useless thin computers.
irepressed said:
So, I did the restore, and I'm up and running, but, no more Hydro 4.1. I guess my backup was probably what got done right before the installed it.
The good thing is, my tablet is working again and my root is still active. The bad part is that I'm gonna have to dig my head again in all the tutorials and try to find the best one.
Hey, I wanted to say a huge thank you for all your help, if it wasn't for guys like you, newbies like me would be stuck with useless thin computers.
Click to expand...
Click to collapse
Great I'm glad you are happy. I had hoped for the outcome you expressed but this works also.
You're welcome!

[Resolved] [FOUND]Where is the setting for Developersettings>Enable Virtual Screen saved?

Hello,
I need quick help, because I got a big Problem.
I accidentaly enabled a virtual screen (xdpi) in Developer Settings and since then my device froze and will freeze at boot.
Can someone please tell me how the vallue in settings.db from /data/com.android.providers.settings/databases is called or where else I can reset that value so my device will boot again?
I already got that settings.db and I am in Recovery now to exchange it.
EDIT: Oh I am on Android 4.2.2 CM10.1
EDIT2: found the little thing named overlay_display_devices in table Global, I just deleted the line and followed that tutorial (setting the right owner and permissions)
Still freezes during boot, will try to fix permisiions automaticaly now via recovery...
EDIT3: Nope, still freezing during boot
what are the normal owner and permissions of settings.db?
I guess they are system.system and 775?
Ok ok, I am just too dumb to handle console commands...
It worked now, let this be a lesson to me how to manipulate settings without the settings app

Categories

Resources