[Q] Deleted important system files. help! - Android Software/Hacking General [Developers Only]

I have a motorola xt300 aka spice. It runs on android 2.1 but has a locked bootloader.
What I basically did was delete/uninstall some important files (gtalk,motoblurhome). Really stupid of me.......I factory reset hoping to have the files back but the phone completely deleted those apks so I cant exactly go into settings or access into of my apps. Currently USB debugging is disabled so I cant use adb shell. And since Gtalk is no longer there I cant install a home replacement because android market doesnt work anymore. I downloaded a romdump and renamed it to update.zip and put it onto my sd card. but when i tried flashing it, it said something along the lines of "file can not be read". after opening it up with winrar i saw a folder inside it that had the system apks in something called "system.tar". Is that right?
I'm pretty new to android (had this phone about 3 months) and Im not sure i can fix it by myself!! Help!

Related

uwlopservice ?

seems to be always running, process is com.sonyericsson.signatureapps.components
what is this and how could it be removed, could it be safely removed?
http://ccalonnec.fr/wiki/index.php?title=SE_Xperia_X10_:_list_of_default_apps_and_how_to_remove_them
Hey XperiaX10iUser,
Like your work. Helped me go from first time AT&T smartphone user 3 weeks ago, to unbranded-rooted 2.1 X10 A, now with sdk and adb capabilities. Still confused as @#$%, but learning more each day. This list is for 1.6, but updated in November...can it be used for 2.1?
agentJBM said:
Hey XperiaX10iUser,
Like your work. Helped me go from first time AT&T smartphone user 3 weeks ago, to unbranded-rooted 2.1 X10 A, now with sdk and adb capabilities. Still confused as @#$%, but learning more each day. This list is for 1.6, but updated in November...can it be used for 2.1?
Click to expand...
Click to collapse
Hi.
Glad to have helped. I would say so, it would obviously be better if it covered 2.1 but the descriptions of what does what and if it can be removed should apply to both. I'm still learning too btw, there's a lot happening for the X10 right now so it's opened up a whole new World so to speak.
I wanted to try and use Droid Explorer and abd method for my first time(thanks to ABD for Noobs). Once I got all the sdk tools saved and DE recognized my phone, I did a > select all > copy > paste > of my entire internal drive including sdcard and made a copy in a new folder on my desktop. It seemed to copy all the files, but when I accidentally deleted some of the 2.1 Sync apps and part of Goggle .gapps (I don't remember the entire file names) and went to use abd to push an app back on to the phone I opened the file it was completely empty. What did I do wrong? What folders of the drive do I need to copy and how do I save them, so I can use them individually to push apps back on the phone?
I had to to re-flash using SEUS to get a complete ROM. After I reflashed I realized the phone needed to be rooted in order to use Droid Explorer. Z4root was saved in my sd card, but was unable to figure out how to install them from my PC. I ended up setting up wifi and google account to use the Market to install a file explorer, and opened z4root that way. How do you install apks in a phone that has not been rooted from a computer?

[Q] 3 Big Problems

Hey, I have 3 problems that are sorta big.
Specs:
Motorola Droid.
Rooted
ROM: ChevyNo1 - Simply Stunning 5.00
Version 2.3.2
I don't know where I am going wrong. I am trying to use Android Commander, Droid Explorer and, APK Edit
None of them work, and the problem I think is all not detecting my device. This is what I have done:
1) Enabled Debugging on Phone
2) Installed Java/SDK Manager
3) Installed Moto Drivers (and updated)
4) Connected phone via USB Cable (Of Course)
5) Restarted Phone
6) Restarted Computer
And still won't find my phone, I think that's all I did, I just want to be able to change my icons. Safely
Which leads me to my next problem, I thought 4 hours ago, that all I had to do to change an icon, was copy the apk zip file to the sd card, change it in photoshop, then copy and paste over the old apk file/zip. So I did that.. with my browser app... I read that the problem is probably a signature not written, is that it? I'm thankful I only did that to my browser app, but is there any way i can restore my browser app? It won't run: "Could not launch the requested activity."
And 3rd, When ever my phone boots up, the Motorolla boot logo loops. Then If I hold down the power button till the Boot animation comes on (which is not the red eye, but was changed by default on my rom) and then the boot animation even loops twice then works "normally") How do I fix this?
Plus, I am looking for suggestions for a really good rom, free or not (through Rom Manager since that is the only way I have done it (I got root through SuperOneClick or something like that) because I have been flashing one after another until I did a hard reset and just settled with what I have now.

[Q] system files missing

I have a Spreadtrum based S930 phone.
It's on a boot-loop and the only thing working is the recovery mode. (While I was playing around with it, I noticed that it had a fastboot partition but, I never found a way to access it - only has 4 buttons: POWER, UPVOL, DWNVOL, and HOME.)
I tried to install an app in ZIP but, I got an error saying that it wasn't verified so I tried to manually install it by unpacking it directly into the folders. After doing so, it still didn't work AND the equalizer app that I installed began not to work either. I then tried to manually uninstall it by deleting the files. It didn't work (or at least my equalizer app still didn't work) so, I tried to restore it to the way it was. I deleted the BIN, ETC, and LIB folders and was replacing them with the ones I originally had before the installation but the phone suddenly rebooted. Hence, now it's on a boot-loop.
I can still go into recovery-mode but I can't use adb shell commands because it says that it can't find it (/SYSTEM/BIN/SH). I tried to push it but I get an error saying that I don't have access/permissions for it.
Before it happened, I was able to extract a boot.img but I can't get it in because...
...I don't have access to fastboot and adb shell options.
...I tried creating my own ROM but I get signing issues.
The only thing that seems to work is the push and pull adb commands (remount, logcat, and bugreport gives me an error) and anything I push doesn't stay there when the phone reboots. In recovery-mode, the phone only stays on for about 10 minutes before it restarts.
I've tried pulling some files. The RES folder seems to be intact. BIN and ETC still have some files in them but, the SYSTEM files are completely gone.
Any input would be very much appreciated.
To do list:
- figure out a way to do boot using the SD card
- install a new kernel
Hindrances:
- phone does not even recharge the battery; it simply enters the boot-loop mode
I'm obviously an android noob but I can follow directions and think of a way to piece things up from different sources. I just need someone to point me in the right direction.
...or is this a hopeless case?!

[Q] Help with Cozyswan S400

Hi guys, so i thought i would have a play with the cozyswan S400 android box, having only played slightly with an android phone upto until around 2 weeks ago i didn't actually know what ADB was
The specs are
RK3188 quad core A9 1.8GHZ
2GB/8GB
Anywho, it started off as wanting to install XBMC with a few items, most of them gave me script errors which i found annoying. I like things to work so i figured i would do some googling (This is actually the 5th tab i have up from googling which leads to XDA, hence why i finally decided to sign up) and rip the ROM and fix errors while emulating aswell as set the base rom to my own
The main problem i had was even connecting to the device through ADB, after research i found that it would be found through "TPSarky-VonDroid-Root new" which worked brilliantly, although it only seems to have basic commands, i managed to pull some files but i'm pretty sure it's unrooted
So my quest to root the box, now takes me to superoneclick, but it uses the ADB with graphics interface, but of course the device can't be found on the standard adb install i tried and it crashed, so i tried merging the "VonDroid-Root new" with the superoneclick folder and the same happens.
So now i have numerous programs including ADB, superoneclick, VonDroid-Root, cywign, kitchen...actually i have lost count of how many android related programs i have :laugh:
So any help for a fast learning newbie, i have acquired all of this knowledge in the past couple of weeks but i am stuck on this headache of getting ADB to recognise the box despite the fact it recognises my phone as soon as it's plugged in :silly:
So to update....in the time i have had no replies
After more research the device is based on the MK802 chip
so in order to get it rooted i followed this...
http://www.rikomagic.co.uk/forum/viewtopic.php?f=9&t=2574
then in order to get a Rom dump i followed this...
http://forum.xda-developers.com/showthread.php?t=1771347
and now i'm at CMD where it is saying "all done"
but feel free to add anything helpful:laugh:
I have another question!
if i preinstalled software the config files are held at SDcard\android
how would i build the rom in such a way that the config files would be restored to the location on SDcard when "restore to factory settings"was used?
Can anyone help with me with the above? with my dumped rom i have
app
bin
data
etc
fonts
framework
lib
lost+found
media
system
tts
usr
vendor
xbin
boot
build.prop
I cannot see anywhere that would copy files to sdcard on restore, there is no mnt, storage folder and as much as i have looked i cannot see a zip file etc or config that would unzip to the sdcard on restore?

Bought on Craigslist, Factory reset it, Many default apps are gone, Lots of issues?

Hey Guys,
Brand new to XDA and new to messing with my phone in anyway, I looked through some threads, but am not sure if I can mess something up worse by not following the right steps,
I basically bought a used phone on craigslist, AT&T LG G FLEX 2 - LG-H950 and when I factory reset it, many of the default apps are not installed, cannot use my calendar and the phone is just a little off all together.
Not sure if the phone is still rooted or if the factory reset cleared it, and I am all together worried that the only reason the kid sold it to me was because he messed it up and couldn't fix it and just pawned it off to my dumas
I know its frowned upon to start new threads when the answers are out there, but i need this for work ASAP and if I screw it up and cant use it all Ill have to go back to my work iPhone (last resort, i hate it)
I started to follow hyelton's video http://forum.xda-developers.com/showthread.php?t=2785089
but got cold feet when i couldnt find my exact model the h950
It is currently on the android 5.0.1 and when i tried the update before i reset it, it said i couldn't update it something about the root. So i reset it and everything is the same as when I bought it on CraigList.
How do I get it back to square one, like it came in the box. I am interested in learning how to root and be in control of my own property, but I just want to get back to the start safely without bricking it so I can follow the forums and not feel so helpless.
im sorry if the first response to this just point me to another thread, but I will appreciate even that much guidance so at least i know i am headed in the right direction
Thanks a lot xda community
Branden
Factory reset won't remove root BTW. Recent Android phones seem to perform an integrity check prior to updating that fails when root is present.
http://forum.xda-developers.com/showthread.php?t=3171550
Just read that to get the phone back to stock, then you'll be able to upgrade to 11x (5.1.1) and eventually 11z.
Sent from my LG-H950
cool, thanks, one more question
I made an account with MEGA
downloaded the Flex2Tool 1.4.1 and unzipped
downloaded the system.img.gz
Started watching your video. however i am not bricked.
it has missing default apps and it says this device is suspected in rooting, software update is not available for rooted device.
so what is my first step after downloading these files. do i connect phone to my computer and open up the flex2tool and
select variant 1 which is H950 v10d etc
then do I select 1 , ( i do not need anything on the phone.)
or move straight to variant 2. restore unroot stock system.
if i do that next where do I put the system.img.gz file on my phone. anywhere in the internal memory and before or after I reset it?
sorry for all the questions and thanks for all the help. i am very new to doing anything besides calling or texting on my phone
Branden
koronab said:
I made an account with MEGA
downloaded the Flex2Tool 1.4.1 and unzipped
downloaded the system.img.gz
Started watching your video. however i am not bricked.
it has missing default apps and it says this device is suspected in rooting, software update is not available for rooted device.
so what is my first step after downloading these files. do i connect phone to my computer and open up the flex2tool and
select variant 1 which is H950 v10d etc
then do I select 1 , ( i do not need anything on the phone.)
or move straight to variant 2. restore unroot stock system.
if i do that next where do I put the system.img.gz file on my phone. anywhere in the internal memory and before or after I reset it?
sorry for all the questions and thanks for all the help. i am very new to doing anything besides calling or texting on my phone
Branden
Click to expand...
Click to collapse
1. You first need the LG USB drivers for the Flex to be installed
2. The system image file (gz) will have a .img file inside that's about 4GB, so unzip the one you downloaded with 7zip, preferably from a PC. Put the .img file on the root of the phone's internal memory before proceeding. You'll also want USB debugging enable and disable the verify over USB option
3. Once file is on phone you can continue with the tool, it will eventually go into download mode & show ## when finished
Sent from my LG-H950
okay i did that but
I dont understand your last thing >>>>"You'll also want USB debugging enable and disable the verify over USB option"
when i have my usb connected the phone gives three options
1.Charge Phone
via usb
2.Media Sync (MTP)
3.Send images (PTP)
When restarting the recovery tool after img. has been installed to root of internal storage. do i just start program or do i need to turn off phone or reset it or just run it with the MTP
koronab said:
I dont understand your last thing >>>>"You'll also want USB debugging enable and disable the verify over USB option"
when i have my usb connected the phone gives three options
1.Charge Phone
via usb
2.Media Sync (MTP)
3.Send images (PTP)
When restarting the recovery tool after img. has been installed to root of internal storage. do i just start program or do i need to turn off phone or reset it or just run it with the MTP
Click to expand...
Click to collapse
http://i.imgur.com/ynGFv1j.jpg
Like that. Check that the USB debugging icon shows in the notification area while USB is connected as MTP. Then you can start the tool. Be sure that the .img is present on the root(sdcard0) prior to letting the tool reboot the phone.
Sent from my LG-H950
i dont see developer options
under system there is
shorcut key
date and time
accessibility
quick circle case
printing
about phone
figured it out, thanks
got it
firmware update
I am on a screen that says
FIRMWARE UPDATE
sync symbol with usb symbol
don not unplug the USB connection until the process is complete
status bar has read 0%
then there is box and in it says USER B99
the black window on my pc has the "##" and says that i can disconnect the USB cable
should i do this now or wait till something happens in the status bar on the phone
nevermind, phone stared back up
Thanks ACE I appreciate it
koronab said:
Thanks ACE I appreciate it
Click to expand...
Click to collapse
Did you remove the USB cord, then re insert after ##? The tool will reboot for you, and are you back into the OS now?
Sent from my LG-H950
yes it worked do i factory reset it now to get all the default apps working again
koronab said:
yes it worked do i factory reset it now to get all the default apps working again
Click to expand...
Click to collapse
Probably a good idea. I think the previous owner was trying to delete some of the bloatware and didn't properly restore the phone before selling it, not sure if that was done purposely or not.
Sent from my LG-H950
okay, i reset it but still dont have default apps
the default apps for the calendar which was my original issue still is not there, just a generic Android icon. because there is no default it will not allow me to sync calendars, also no default messaging app.
not sure if this just put me back to 5.0.1 which is where already was but i am still missing default apps to make the phone run smoothly,
any ideas on what i may have done wrong
koronab said:
the default apps for the calendar which was my original issue still is not there, just a generic Android icon. because there is no default it will not allow me to sync calendars, also no default messaging app.
not sure if this just put me back to 5.0.1 which is where already was but i am still missing default apps to make the phone run smoothly,
any ideas on what i may have done wrong
Click to expand...
Click to collapse
In settings -> apps -> disabled is calendar listed?
Sent from my LG-H950
7zip
i believe what is happeneing is the img file is not unzipping. i had originally just copied the img.gz file over witout unzipping it. now i am trying to unzip it but no success
do i unzip before or after i copy to root storage
koronab said:
i believe what is happeneing is the img file is not unzipping. i had originally just copied the img.gz file over witout unzipping it. now i am trying to unzip it but no success
do i unzip before or after i copy to root storage
Click to expand...
Click to collapse
Dude , you are new in Android? XD
Yes you need to unzip that file before run the tool
Sent from my Redmi Note 2
Super noob
Looks like it came unzipped when I downloaded from Mega. Icon is a blank paper folded too right corner and reads system.img.gz and 1.6 gb which is what I copied to the root storage and then followed everything else and did it again starting from scratch and still have generic icon without the default apps like calendar, browser, and messaging. I'm trying tho. Been reading forums since last night with no luck
I do appreciate everyone's help tho,
And ace there is no calendar under apps
koronab said:
Looks like it came unzipped when I downloaded from Mega. Icon is a blank paper folded too right corner and reads system.img.gz and 1.6 gb which is what I copied to the root storage and then followed everything else and did it again starting from scratch and still have generic icon without the default apps like calendar, browser, and messaging. I'm trying tho. Been reading forums since last night with no luck
I do appreciate everyone's help tho,
And ace there is no calendar under apps
Click to expand...
Click to collapse
You need to unzip that file
.gz like .rar or .zip are different types of compression, so download the latest version of winrar or use 7zip, you need the system.img file (4gb)
Sent from my Redmi Note 2
THANKS
Sj12345 said:
You need to unzip that file
.gz like .rar or .zip are different types of compression, so download the latest version of winrar or use 7zip, you need the system.img file (4gb)
Sent from my Redmi Note 2
Click to expand...
Click to collapse
finally did it. Thanks alot you and ace were a life saver

Categories

Resources