[Q] Deleted LG-home, no backup.. now what? - LG Optimus 2x

First post! So hello,
I made a big screwup. First i rooted my lg-p990, next i deleted lg-home using Titatium Free. I did not backup my file. Also i never installed a new homescreen.
When finishing this action, the phone didnt respond anymore. Now it wont restart. It is still possible to connect to pc and view sd cards. Also it will restart bringing the installation sequence, but when finishing it, the phone stops responding again.
I realise i havent been very smart. But does anybody have a solution?

Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!

Moonie17 said:
Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!
Click to expand...
Click to collapse
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out

goaner33 said:
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out
Click to expand...
Click to collapse
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot

doesn't pushing apks to system/app require root? Correct me if I'm wrong

aMpeX said:
doesn't pushing apks to system/app require root? Correct me if I'm wrong
Click to expand...
Click to collapse
Yes it does, as well as removing /system apps

Piter1225 said:
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot
Click to expand...
Click to collapse
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
-edit-
I did some more research, and i cant use the commandline to acces :\android-sdk-windows\tool. This path doesn excist. Neither am i sure if USB-debugging is activated on the phone. I cannot acces the phones menu, so i cannot check..
what to do....

goaner33 said:
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
Click to expand...
Click to collapse
You need to use command line to enter the lines I've written

Piter1225 said:
You need to use command line to enter the lines I've written
Click to expand...
Click to collapse
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though

Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App

Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands

gensplejs said:
Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App
Click to expand...
Click to collapse
And what when i... and i dont know this for sure, turned usb debugging off...

goaner33 said:
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though
Click to expand...
Click to collapse
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.

gensplejs said:
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.
Click to expand...
Click to collapse
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.

gensplejs said:
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.
Click to expand...
Click to collapse
Wow, that would be great! i'll pm you for my contactinfo!

Piter1225 said:
Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands
Click to expand...
Click to collapse
Okee, i must sound liek a real noob. I cannot find this SDK folder and the only file that i can find that relates to adb is adb_usb.exe..
i know that i am a real pain in the ass

If you manage to get a working adb connection the commands you need to execute are. Please make sure that the phone is unlocked when typing su (you will get a su access prompt on the phone and need to press allow)
adb push LGLauncher.apk /sdcard/
adb shell
su
busybox mount -o,remount -rw /system
stop
cp /sdcard/LGLauncher.apk /system/app/
reboot

problem solve
E-mail download link of the LGhomeLaunger.apk
Download on you phone and install.
It works as new!

Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!

goaner33 said:
Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!
Click to expand...
Click to collapse
well...
that is not a permanent fix.
when you install that way it is only installed in user space... If you ever factory reset the phone you will be stuck without a launcher again... and probably no way to config ur email :-(
you need to put the launcher apk file on your sd card... and then copy it to the /system/app folder using root explorer.
If you do this it will be fixed even after a factory reset...
anyway. Next time just freez apps. Dont uninstall them. If they are only frozen you can allways factory reset to get them back.

Related

push hero widget

Hi I running a version of hero that runs very smooth on my g1 but the only flaw is that the contact widget isn't working ...does some1 know how I can push a working 1 thru thru terminal.....for instance. I dloaded another rom took the contact widget apk out of it & placed it to the root of my sd how can I install from there.....
I tried all of the app installers but they just say they cannot install
Thanx in Advance!!
Dam no 1,.....
mccurt29 said:
Dam no 1,.....
Click to expand...
Click to collapse
you can just adb push to /system/sd/app_s/
double post
palosjr said:
you can just adb push to /system/sd/app_s/
Click to expand...
Click to collapse
So it would be
Adb install /system/sd/app_s/nameofapp.apk
Or
Adb push /system/sd/app_s/nameofapp.apk
if it's on your sdcard, go to the terminal and type
cp /sdcard/blahblah.apk /system/sd/app_s
AdrianK said:
if it's on your sdcard, go to the terminal and type
cp /sdcard/blahblah.apk /system/sd/app_s
Click to expand...
Click to collapse
Thanx ths worked
mccurt29 said:
Thanx ths worked
Click to expand...
Click to collapse
glad you got it figured out, and for anyone else that may read this later, it would have been
Code:
adb push nameoffile.apk /system/sd/app_s/

SOLVED - Pull an APK from unrooted phone

I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!

Anolog clock resets o reboot

Hi all,
Was not really sure where to put this apologies if its the wrong place.
I recently created my own analog clock, I'm using CM7 RC0, I simply replaced the clock background .png in the original desktopclock.apk, renamed it, signed it and then installed it through filemanager.
Now, it works fine! I was very happy, until I rebooted my phone today, got back onto the desktop and it had reset to the original anolog clock! Tried it again and sure enough everytime I reboot I have to reinstall the .apk!
Anybody have any idea why on earth this would happen?
Many thanks,
Sean
This was originally brought to my attention with the HTC_IME mod by Jonasl. I installed a themed version over the top of the one already installed by default in /system/app and on reboot the original (quite frankly ugly) keyboard was back...
for some reason I do not know, you have to manually un-install the previous version. Don't know why...
use this http://forum.xda-developers.com/showthread.php?t=644909
to un-install the original apk for the clock, then push your app into /system/app using adb. reboot and it should all be sorted... I hope.
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
wiiija said:
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
Click to expand...
Click to collapse
I'm on linux right now, and I did this to remove my stock messaging app not 3 hours ago...
Just open up your terminal and use adb, assuming you have the androidsdk on your computer...
If you don't it's going to be a little harder, you're going to have to find a root exploring file manager and delete the analog clock app from /system/app and then you're going to have to put the new one there AFTER rebooting.
If you want adb just ask and I'll tell you how to get it.
1. download the android sdk from http://dl.google.com/android/android-sdk_r12-linux_x86.tgz
2. open up the .tgz and extract it to /home/-your_user_name/androidsdk
3. open up terminal and type
su
PATH=$PATH:/home/-your_user_name/androidsdk/tools
adb
adb devices <-------(make sure your device is connected and in debug mode. If that fails just boot into recovery)
qiuness said:
adb shell
su
cd /system/app
mount -o rw,remount /system
rm -r analogclock.apk
Click to expand...
Click to collapse
4. install your new, themed app
abd push /path/to/your/app.apk /system/app
5. reboot.
Brilliant guys thank you very much, its all sorted, easy once you know how

[Q] CM7.1 Proximity - screen stays off after call

Hey everyone,
My proximity sensor & light sensor are both broken (repair shop said the cable needed changing), and thats fine with me.
I used to run MIUI and i just disabled the use of proximity sensor and autobacklight and everything worked ok.
I tried CM7.1 yesterday, and I really like it more than MIUI, but the issue im having is that most of the time, when I get or make a call (even if the phone is in my hand) the screen turns off immediately and refuses to wake up again, I have to pull the battery.
Any ideas on how to fix? thanks
you need disable it, try this, i solve problem by this method
THANK YOU
Thank you very very very very much! it worked like a charm!
what exatly did you do from that post that resolved your problem???did you copy the files on from uksusoff in the mentioned folder???
gjergjisel said:
what exatly did you do from that post that resolved your problem???did you copy the files on from uksusoff in the mentioned folder???
Click to expand...
Click to collapse
try put this file (unzip first!) to /data/local/ it must be work in CM7 or maybe lower...
Click to expand...
Click to collapse
read this post
do you adb push the file in data\local ? or is there some other way
Thnx in advance
gjergjisel said:
do you adb push the file in data\local ? or is there some other way
Thnx in advance
Click to expand...
Click to collapse
If you have s-off can use any filemanager with rw to system, if s-on you need load custom recovery and mount system then load adb shell and using cp command copy this files from SD to system
sorry for the noob question but what is s-off,,i have an unlocked neus one with cm7
gjergjisel said:
sorry for the noob question but what is s-off,,i have an unlocked neus one with cm7
Click to expand...
Click to collapse
most likely you have s-on, use adb shell with recovery
sorry to bother again,,can anyone tell me how and where should i put this file,,i mean to data/local but how using what commands in adb,,or what do i neeed to mount if u use clockwork,,,thnx thnx thnx i am really greatfull and sorry for the bother again
look in phone specific thread how to get access to system and search simple linux commands, like copy, remove etc
Thanks man i did the thing using droid explorer as an app and workis fine ,,the only thing i notice up to now is the loss of the ability to put widgets i ownload from market in louncher , ,,
Thnx again

Phone unusable/help me find the bad app

Well to get a long story short,im not a complete noob in the rooting,optimising,flashing bussiness.
So dont tell me flash this kernel or this stock rom,or this or that.
The problem after hours of searching is a bad app.
I have bought over 500 apps cause i want to support the community.
So,when i restore all my apps,when the phone starts,after the home screen loads AT THE MOMENT WHERE IN TOUCHWIZ OR ADW OR WHATEVER THE APPS ARE FINALLY LOADED
REBOOT,hot reboot most of the times...
I tried everything...startup managers to block everything and i mean everything...
Rescan media root app to stop scanning of sdcard...
Everything,no matter if it froyo,ginger,ics,stock,rooted or WHATEVER.
Of course i can install one app at a time an reboot,to see what happens but that will take ages and also maybe one app 'hit' with another...
So help me find the bad app...
I am no noob but i am no pro either...
So how do i take a logcat? Will that help either way?
Do i have to use adb?
help....
You are kidding right? You have 500 apps installed at the same time? Why on Earth? I think you are lucky the phone even tries to boot...
On to your problem at hand - no one here will be able to help you with the info you provided.
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
kylew1212 said:
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
karapoutsoglou said:
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
Click to expand...
Click to collapse
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
kylew1212 said:
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
karapoutsoglou said:
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
Click to expand...
Click to collapse
Unfortunately I have very little adb experience...
Maybe try something like the same command you used
"./adb logcat"
I guess going by what you're saying you could try something like
"./adb logcat -w" try that then maybe replace the w with e..
Keep in mind these are just guesses because I do not know for certain
I will research as soon as possible and write a quide for it as this can benefit lots of people
Sent from my HD2 using xda premium
kylew1212 said:
I will research as soon as possible and write a quide for it as this can benefit lots of people
Click to expand...
Click to collapse
thanx.
i had the same in mind.maybe something good can come out of this
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
avltree said:
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
Click to expand...
Click to collapse
thank you!
great idea,i will test it
yes,i can turn the debug on,because the phone crashes just when all the apps are loaded in the drawer.
it must be a bad app because i used to have many apps since froyo times and no problem.
like 500...and the phone was fast.
i really want to find that bad app and kill it
edit
================================
wow,ddms is a dream! thats what i was looking for!!!
thank you
Sorry for the double post but i thought it needed a single post.
Well,the problem is fixed with the help of you guys!!!
I was getting a hell lot of warnings about watchdog_n and stuff.
I googled it and appeared that a whole bunch of people had the same problem especially with nexus s etc.
They said it was due to some crappy app wanting to auto-sync.
So i did a wipe cache,wipe dalvik cache,fix fc and then when the phone rebooted i disabled the auto-sync.
Guess what,no more loops and soft reboots!!!
I still dont know what app is causing all the problems and propably never will,if you thing that the same apps in my tablet dont cause a thing,but after the auto-sync off the problem is gone.
Good thing though i dont need auto-sync cause its not the best solution...

Categories

Resources