Let me apologize first of all as I come from 5 years of using Windows Mobile knwoing what I am doing (cooking ROMs included) and now just got my Galaxy /Android a couple weeks ago and am blank at all of it.
After messing up with some system files and (useless) stock applications (like I removed stk.apk and other stuff) I decided to do a full hardware reset as the phone started getting random crashes.
But after the full reset things only got dramatically worse. I quickly realized all the missing system apps are still missing (I thought they'd be "restored") and basically nothing works, just crashes one after the next, cant use anything.
So, a hardware system reset on the galaxy, doesnt really reset anything except user installed apps and settings... amazing
Can someone please tell me (the idiot here, I know) how to do a real full restore where all system files, all missing files and positively everything gets back in the Tab as it was originally?
What a flippin' nightmare... Thanks in advance very much!
deletion of Stk.apk causes FC's in phone and acore.
if you don't have a backup of this apk, download a rom (like Modaco or Overcome),
open with winzip and extract the Stk.zpk from system/app and push it to /system/app on your Tab using adb (remember set the permissions to 644 after push).
A hardreset NO restores deletions on /system
Note: Other files that are not deleteable in /system/app are: Browser.apk, Email.apk, TouchWiz30Launcher.apk and TwWallpaperChooser.apk
Note (2): For your convenience, i attach the Stk.apk file from Overcome-1.1.3. Try it
Note (3): In order to restore ALL system data and apps, you need to restore a full rom.
bartito said:
deletion of Stk.apk causes FC's in phone and acore.
if you don't have a backup of this apk, download a rom (like Modaco or Overcome),
open with winzip and extract the Stk.zpk from system/app and push it to /system/app on your Tab using adb (remember set the permissions to 644 after push).
A hardreset NO restores deletions on /system
Note: Other files that are not deleteable in /system/app are: Browser.apk, Email.apk, TouchWiz30Launcher.apk and TwWallpaperChooser.apk
Note (2): For your convenience, i attach the Stk.apk file from Overcome-1.1.3. Try it
Note (3): In order to restore ALL system data and apps, you need to restore a full rom.
Click to expand...
Click to collapse
OK, first of all a big thanks for both file and info. Aside from the Stk.apk, the biggest thing that made me run into problems was trying to update my Contacts.apk:
http://forum.xda-developers.com/showthread.php?t=907399
things didnt work out for me and even after restoring the original files (Contacts.apk and Contacts.odex) nothing really worked again, reason for wich I tried a system reset.
Now, do I need to re-root the Tab or its still rooted, and can I perform the operations easily with Root Explorer like I did before? You mentioned to use adb and set permissions to 644 after push but, sorry again for the ignorance, I have no clue what adb is nor what/how to set permissions. Pathetic to be ignorant huh?
My last 2 questions are, where could I find the original Contacts.apk and Contacts.odex and if needed a full ROM to do a total restore?... hopefully I wont need to get to that point?...
Thanks a million again.
hi,
try to download overcome-1.1.3, and extract all the deleted apk's from system/app directory. push into the /system/app in your tab.
the apk's of overcome are deodexed (you don't need the .odex files). after that, wipe your data/cache and reboot.
if this don't works, try with roto rom
bartito said:
hi,
try to download overcome-1.1.3, and extract all the deleted apk's from system/app directory. push into the /system/app in your tab.
the apk's of overcome are deodexed (you don't need the .odex files). after that, wipe your data/cache and reboot.
if this don't works, try with roto rom
Click to expand...
Click to collapse
Hmmmm thanks again but I think Im beyond all this. I dont have a file manager on my system, just realized I deleted the useless stock one and had repalced it with Root Explorer and ES File Explorer. I have them on my External SD Card to install them again but withou a file manager or an app installer cant get to them. And I tried download an app installer from the Market and get Framework errors non-stop and downloads do not initialize... I think Im beyond a quick fix... how do I get my hands on a stock full ROM to restore everything... and how? What a nightmare... gotta tell you, I love Windows Mobile... I love it... never ran into anything like this in the past 5 years of using it... never...
Thanks again!
use "adb" in order to access to your tab from your desktop pc.
bartito said:
use "adb" in order to access to your tab from your desktop pc.
Click to expand...
Click to collapse
Cant. Dont even know if I need Kies installed or not (I did have it installed) but adb just asks me to connect the phone and thats it... its connected aready... this is desperating...
OK I did manage to connect with adb but, how to I install applications? I can navigate to my SD card where I have ES File Explorer and Root Explorer but dont seem to be able to install them... Also if i try to copy Stk.apk I get immediately an failute message... this is crazy...
OK so I managed to install ES File Explorer and Root Explorer with adb... crazy process. It seems my phone is still rooted after the reset. From the phone I copied Stk.apk back to /system/apps where it was before deleted.
But needless to say nothing got fixed... not sure if Stk.apk is now "actually" installed or just there in the folder. But still nothing works and crashes every 10 seconds... logs provider, dialer, phone, framework, contacts... its all a firework of crashes...
Given that you've hard reset your device already, you are pretty much wasting your time trying to "fix" what you broke by messing with /system, and you should really just flash another ROM.
My suggestion would be to follow the advice on this thread.
Regards,
Dave
Yeap, that what i did and it was succesfull. My only issue is that Id like to convert my Tab's file system to ext4 to improve speed and performance and then update to the 1.4Ghz OC Kernel. I have no idea how to do those 2 things... actually Im not sure I understand the difference between a ROM and a Kernel... I assume a Kernel is part of the engine of the ROM itself but I have no idea how to perform the update. I read countless threads and its all scattered info without finding one straight to the point guide on how to do it...
Thanks again
VeEuzUKY said:
Yeap, that what i did and it was succesfull. My only issue is that Id like to convert my Tab's file system to ext4 to improve speed and performance and then update to the 1.4Ghz OC Kernel. I have no idea how to do those 2 things... actually Im not sure I understand the difference between a ROM and a Kernel... I assume a Kernel is part of the engine of the ROM itself but I have no idea how to perform the update. I read countless threads and its all scattered info without finding one straight to the point guide on how to do it...
Thanks again
Click to expand...
Click to collapse
Part of your problem is that you are trying to run before you can walk! Your experience with WinMo is of pretty much no use to you in the Linux/Android world, and until you get a better handle of how everything hands together you are always going to feel a little lost.
Personally, since your device is now up and running again, I'd suggest that you hold off doing anything else for while, until you get a chance to catch up with some of the basics. Once you are a little more familiar, you can then start with something simple like flashing the MoDaCo kernel (instructions here) to support EXT4, and to give you access to ClockworkMod recovery.
IMO, whilst EXT4 and O/C kernels will give you a performance boost, they are not as noticeable as jumping from a shipping ROM to one of the JMx development builds that Samsung has put out. If you are running JMI, you should already be feeling that the device has got much snappier.
Regards,
Dave
foxmeister said:
Part of your problem is that you are trying to run before you can walk! Your experience with WinMo is of pretty much no use to you in the Linux/Android world, and until you get a better handle of how everything hands together you are always going to feel a little lost.
Personally, since your device is now up and running again, I'd suggest that you hold off doing anything else for while, until you get a chance to catch up with some of the basics. Once you are a little more familiar, you can then start with something simple like flashing the MoDaCo kernel (instructions here) to support EXT4, and to give you access to ClockworkMod recovery.
IMO, whilst EXT4 and O/C kernels will give you a performance boost, they are not as noticeable as jumping from a shipping ROM to one of the JMx development builds that Samsung has put out. If you are running JMI, you should already be feeling that the device has got much snappier.
Regards,
Dave
Click to expand...
Click to collapse
Yes Dave you are right, right and right again!!! Thank you for the wisdom and advice!!!
The main thing I have understood with today's messy experience was that the actual ROM files are never deleted or damaged as long as you dont access them via a rooted tool and start deleting them. Now I understand that Titanium Backup, Sprint Backup (my favorite), My Backup Pro and others, only back-up and restore what the user installs on top of the ROM itself. So a full "reset" wipes all that data but leaves the ROM files as they always were. If they got damaged in the process, they'll still be damaged till a a full ROM restores all system data, now I get it.
What I still dont get is the issue of bakcing up and restoring. In Windows Mobile, a toll like SPB Backup has a simple option called FULL BACKUP and that backs-up everything on top of the ROM and then restores everything after a full reset on top of the ROM again like it was before. The problem I have with apps like Titanium Backup, Sprint Backup, My Backup Pro, etc... is that there is not a "BACKUP ALL" option... one has to backup "data", "settings", "apps" and I always feel stuff will be left behind and then not restored.
Till I find an app or way to do a simple one-click "backup everything" and then "restore evertything" I always feel vulnerable to changes I make to the Tab that may get it unstable or corrupt and then not being able to be restored properly without a full ROM Flash and then re-installing all from scratch.
With WinMo, I could do all sorts of crazy experiments and tweaking and after that, a registry restore or back-up restore would bring me back my phone to exactly like it was with all my stuff and configuration in a matter of seconds or minutes. Thats what I need to find out with this Tab/Android and then Im ready to be able to explore messing up with this knowing I can always easily go back within minutes to the state I had before with all my apps and settings.
This is what I need to learn next how to do! Trampoline without a safety net is not a good idea. Ive alwways loved WinMo for the ease of backing up and restoring whatever I was doing on my handsets withjout ever worrying to put myself at risk to loose it all. I need to learn this on Android and its definitely more intricate!
just put sdcard into your samsung tab and flash modaco kernel amd it will automatically covert to ext4, after that you can flash the 1.4ghz kernel you wanted.
Sent from my GT-P1000 using XDA App
instechgainza said:
just put sdcard into your samsung tab and flash modaco kernel amd it will automatically covert to ext4, after that you can flash the 1.4ghz kernel you wanted.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Sorry, I cant follow you. I put an SD card in and flash modaco kernel? What files do I put on the sd card for this effect?...
VeEuzUKY said:
Sorry, I cant follow you. I put an SD card in and flash modaco kernel? What files do I put on the sd card for this effect?...
Click to expand...
Click to collapse
no...you need a kernel to flash via odin, you need sdcard mounted so that it will backup all files automatically while converting to ext4..head over to modaco kernel section amd follow the instruction.
Sent from my GT-P1000 using XDA App
instechgainza said:
no...you need a kernel to flash via odin, you need sdcard mounted so that it will backup all files automatically while converting to ext4..head over to modaco kernel section amd follow the instruction.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Where is the modaco kernel section you refer to? I can search for hours and find zilch... these blogs are endless...
VeEuzUKY said:
What I still dont get is the issue of bakcing up and restoring. In Windows Mobile, a toll like SPB Backup has a simple option called FULL BACKUP and that backs-up everything on top of the ROM and then restores everything after a full reset on top of the ROM again like it was before. The problem I have with apps like Titanium Backup, Sprint Backup, My Backup Pro, etc... is that there is not a "BACKUP ALL" option... one has to backup "data", "settings", "apps" and I always feel stuff will be left behind and then not restored.
Click to expand...
Click to collapse
What you want is a Nandroid backup, which you can only make from a recovery image like Clockworkmod recovery.
Essentially, this does exactly what you want, but you need to flash a new kernel (e.g. the MoDaCo kernel) which supports Clockwordmod.
Regards,
Dave
bartito said:
deletion of Stk.apk causes FC's in phone and acore.
Click to expand...
Click to collapse
i beg to differ about stk.apk fc's your phone. that's the first thing i delete when removing system apps with no fc's
refer to this link about having a bare bones system. stk.apk is for management of multiple sim cards
http://wiki.cyanogenmod.com/index.php?title=Barebones
b0ricuaguerrero said:
i beg to differ about stk.apk fc's your phone. that's the first thing i delete when removing system apps with no fc's
refer to this link about having a bare bones system. stk.apk is for management of multiple sim cards
http://wiki.cyanogenmod.com/index.php?title=Barebones
Click to expand...
Click to collapse
When I delete stk.apk (for me useless useless useless) the first thing that happens immediately is that when I hang-up on a call made or received, the Tab vibrates then freezes for about 5 seconds then tells me the phone application has crashed. I tried this with 2 ROMs now as a test and its guaranteed. More even, if you use a program like SYSTEM APP REMOVER you can emulate the removal of an app by disabling it... it only takes me to disable STK and a reboot for the phone not to work. cant get rid of it, that simple
I was messing around with the root files when I deleted the CameraApp.odex file by accident. Now the stock camera app disappeared from the menu, and I am unable to get it back anyhow. My CameraApp.apk is still the stocked one, but I can't back the .odex file. Can anyone help by extracting the CameraApp.odex file from their root folders and uploading it?
Thanks so much in advance, this is killing me :crying:
chunwee said:
I was messing around with the root files when I deleted the CameraApp.odex file by accident. Now the stock camera app disappeared from the menu, and I am unable to get it back anyhow. My CameraApp.apk is still the stocked one, but I can't back the .odex file. Can anyone help by extracting the CameraApp.odex file from their root folders and uploading it?
Thanks so much in advance, this is killing me :crying:
Click to expand...
Click to collapse
The CameraApp.apk > http://www.4shared.com/android/qWylbCjC/CameraApp.html
The CameraApp.odex > http://www.4shared.com/file/eDu3vGeH/CameraApp.html
After replace the CameraApp.apk you need to install it like any other app. Just click and let the phone install, cause if you uninstall yours to make it works only like that, or doing factory reset and the system will install the app, but there is no need for a factory reset...
Good luck
When I copied the files to my root, the camera crashed when I opened it. However, it worked when I installed the apk directly from my sd. Guess im unable to get it to work as a system file anymore, unless I do a factory reset, which I am pretty much unwilling to do. Thanks anyway!
chunwee said:
When I copied the files to my root, the camera crashed when I opened it. However, it worked when I installed the apk directly from my sd. Guess im unable to get it to work as a system file anymore, unless I do a factory reset, which I am pretty much unwilling to do. Thanks anyway!
Click to expand...
Click to collapse
I told you to install normally the Camera.apk.
after install and reboot, search and see if you don't have the file in your root...
The .odex you'll probably need to paste, not sure...
Edit... sorry, I said after replace on the other reply... anyway, hope it helps.
For all people who has problems with netflix rename in /system/vendor/lib the file liboemcrypto.so to liboemcrypto.so.old and reboot after that mine worked i could finally login and watch everything again short solution for a terrible problem.
mastersjef said:
For all people who has problems with netflix rename in /system/vendor/lib the file liboemcrypto.so to liboemcrypto.so.old and reboot after that mine worked i could finally login and watch everything again short solution for a terrible problem.
Click to expand...
Click to collapse
So I tried for quite some time today to get this solution to work only to find myself completely unable to rename or delete the liboemcrypto.so file. I am rooted and running the stock vzw 6.0 rom but I can't figure this out. Tried a couple different root file managers and nothing worked. Some would tell me the rename/delete failed, others would act like it worked and then the file would still be there unchanged. Any suggestions? I assume I'm missing something simple...
JoeHockey said:
So I tried for quite some time today to get this solution to work only to find myself completely unable to rename or delete the liboemcrypto.so file. I am rooted and running the stock vzw 6.0 rom but I can't figure this out. Tried a couple different root file managers and nothing worked. Some would tell me the rename/delete failed, others would act like it worked and then the file would still be there unchanged. Any suggestions? I assume I'm missing something simple...
Click to expand...
Click to collapse
Did you mount /system read/write?
jbaumert said:
Did you mount /system read/write?
Click to expand...
Click to collapse
Since I don't know how to do that I would say I did not...
I dont have that file... I'm set to show all hidden files and have system mounted as r/w. I checked in system/lib and in system/vendor/lib and no go
Covert_Death said:
I dont have that file... I'm set to show all hidden files and have system mounted as r/w. I checked in system/lib and in system/vendor/lib and no go
Click to expand...
Click to collapse
you solved it ?
It seems my android\OBB folder is write protected. I can't install certain apps that need to write to this folder. I can't seem to unlock it and have been trawling Google for solutions.
I can delete the folder, then create a new OBB folder, but I still can't copy a folder into it. I'm using a rooted EU rom if this helps. Thanks
It is rooted device with EU rom on it
Can someone check on their phone if they can copy a file or folder into the obb folder? I'm getting very desperate for a fix
perryano said:
It seems my android\OBB folder is write protected. I can't install certain apps that need to write to this folder. I can't seem to unlock it and have been trawling Google for solutions.
I can delete the folder, then create a new OBB folder, but I still can't copy a folder into it. I'm using a rooted EU rom if this helps. Thanks
It is rooted device with EU rom on it
Click to expand...
Click to collapse
no problem at all..
any magisk modules installed? maybe disable and check
perryano said:
Can someone check on their phone if they can copy a file or folder into the obb folder? I'm getting very desperate for a fix
Click to expand...
Click to collapse
Yes, it works.
I can read/copy/delete every file/folder inside /Android/Obb directory.
Stock MIUI 10 Global.
matchung said:
no problem at all..
any magisk modules installed? maybe disable and check
Click to expand...
Click to collapse
No magisk modules installed. Thank you
I have faced this exact problem a few weeks ago. It started after I flashed a ROM, MiRum if I'm not mistaken. Tried deleting it via TWRP and make a new folder, changing the folder permission, no luck. I don't know how exactly I got my issue resolved, but I think wiping your data (storage) will do. Just backup your data, wipe your device clean, reflash your ROM, restore everything, and you'll be good to go...I guess.
I'm sorry if I can't be of more help to you in this regard.
Enthunk said:
I have faced this exact problem a few weeks ago. It started after I flashed a ROM, MiRum if I'm not mistaken. Tried deleting it via TWRP and make a new folder, changing the folder permission, no luck. I don't know how exactly I got my issue resolved, but I think wiping your data (storage) will do. Just backup your data, wipe your device clean, reflash your ROM, restore everything, and you'll be good to go...I guess.
I'm sorry if I can't be of more help to you in this regard.
Click to expand...
Click to collapse
Thanks for the suggestion. I guess this might have to be the last resort as I can't seem to find any other fix. I have tried the permission stuff in twrp file explorer also and this doesn't help. Cheers
hope this may help: -> http://en.miui.com/thread-2950541-1-1.html
matchung said:
hope this may help: -> http://en.miui.com/thread-2950541-1-1.html
Click to expand...
Click to collapse
Thank you for this. I have seen this and unfortunately on miui 10 this option is not there. The only option for mock sd card is to formal it. There is nowhere to enable/disable it. Not that I can find with developer options also enabled.
have you ever try to toggle "MIUI Optimization"? will it help?
or you may check the group/permission of the folder, here is mine
6815767 drwxrwx--x 72 root sdcard_rw 4.0K 2019-06-13 10:12 data
6815746 drwxrwx--x 4 root sdcard_rw 4.0K 2019-06-06 18:10 obb
Click to expand...
Click to collapse
matchung said:
have you ever try to toggle "MIUI Optimization"? will it help?
or you may check the group/permission of the folder, here is mine
Click to expand...
Click to collapse
I will check that now. Where can I check the group/permissions for the holder?
Thank you
I am going with a wipe and reinstall of everything. Hope this works
And a fresh wipe and install fixed it
After the update last night, all my folders with data files (files I created, documents, shortcuts, etc.) are gone. My program files are OK. I have searched and cannot find a way to get them back. I believe I have backed them up somewhere like Google cloud or the Samsung option. But I can find no way to restore them. So, I am lost...
did you update via Odin or OTA ?
3mel said:
did you update via Odin or OTA ?
Click to expand...
Click to collapse
Sorry, I'm not sure what those mean. The update happens overnight oh, so if OTA means over-the-air it would be that way
3mel said:
did you update via Odin or OTA ?
Click to expand...
Click to collapse
I'm getting the feeling that night ended up in a developers forum. Maybe this was not the right place.
ADKRKV said:
I'm getting the feeling that night ended up in a developers forum. Maybe this was not the right place.
Click to expand...
Click to collapse
this is the exact right place to ask.
if you have backups made the check the settings menu or use the search to look for backup restore
Thanks for the replies. I think I know the problem. I found one of the back-ups on OneDrive. It restored all programs and settings. It did not restore data files. I believe that is because they were not backed up, my bad. I can't seem to find a back-up on Google, so I must not have done that. At least I didn't lose anything critical, just a lot of shortcuts and websites I bookmarked.
ADKRKV said:
Thanks for the replies. I think I know the problem. I found one of the back-ups on OneDrive. It restored all programs and settings. It did not restore data files. I believe that is because they were not backed up, my bad. I can't seem to find a back-up on Google, so I must not have done that. At least I didn't lose anything critical, just a lot of shortcuts and websites I bookmarked.
Click to expand...
Click to collapse
oh right, I understand you more clearly now. I don't think you can backup app data in such a way. the only method that can do this without root is by ADB which has to be done one app at a time. some apps can be backed up by copying there folders from /storage/emulated/0/Android/data or /Android/media but even then that might not be everything you need for a full backup.
any folders apps create outside of the Android folder can be copied to external memory and copied back later. I have to do this to guarantee that my messaging apps will have all the media I've previously downloaded.
I downloaded a program called GoodLock which saves the items on your home screen and supposedly back them up. I don't know if that just means the icons or it backs up the data. I hope I never have to find out