[Q] my phone turns off and on after root - Galaxy S 4 Q&A, Help & Troubleshooting

Hey, today I decided to root my phone , everything went well, but it has begun to turn itself on and off automatically.
I rooted my phone fllowing this video https://www.youtube.com/watch?v=jgsaf8xeMI4
and i found a thread with same problem here (i will link it) i tried to delete those files with using the same app, but when i try to delete them they pop up again..:S
http://forum.xda-developers.com/show....php?t=2799563
could someone help me please?
model: i9505
android: 4.4.2
kernel:3,40-3162654

You need to delete knox related files.

i m trying to do that
yeah, as i said, i cant delete them. when i delete them, they pop up again, and i use root explorer as recommended in the thread i have linked in my post

There is no thread found at that link. 404 Page Not Found.
Also, the stock rom has an apk that installs deleted system apps at every boot. So that's why they might popup again.
Delete that apk and it won't install deleted apps at every boot.

GDReaper said:
There is no thread found at that link. 404 Page Not Found.
Also, the stock rom has an apk that installs deleted system apps at every boot. So that's why they might popup again.
Delete that apk and it won't install deleted apps at every boot.
Click to expand...
Click to collapse
thanks but deleting the knos files did help, used a another explorer app to delete the knox files

Related

Re-install AccountAndSyncSettings.apk

I accidentally deleted the AccountAndSyncSettings.apk file. Does anyone have a backup of the file? Please help. Thanks in advance.
Snag it from a stock .zip rom in the development section. Just extract and find it (Same data structure as your filesystem).
i am also having the same issue. I have already found the stock rom from and moved the apk file with root explorer, but it won't allow me to install. Any input on how you solve this would be great.
Sorry for reviving the thread. Could someone post the AccountAndSyncSettings.apk and odex for the stock rom. I tried downloading the stock rom file but couldn't find the files that I need. Thanks so much!
Use the search feature, I posted this link for a pretty long period now.
http://www.mediafire.com/download.php?r1mrbtsep2k84kb
This includes AccountAndSync.apk/odex so remove that if you don't want it.
Thanks so much, I put the files back and it's fixed now. You're a life saver!
Menu
Did you get Accounts and Sync option back on your menu list under Settings? I have accountandsyncsettings.apk under the System/app folder but there is still no menu option.
xoulsinz said:
Thanks so much, I put the files back and it's fixed now. You're a life saver!
Click to expand...
Click to collapse
Hi, could you explain how exactly you managed to re-install the .apk, because I already replace it, rebooted and tried installing it manually, but it wont install or show up in the list of applications under settings, and I'm trying to update OTA to gingerbread and it keeps saying that "AccountandSyncSettings.apk was not found". I would really appreciate your help.

I deleted my phone app. :<

so i accidentally deleted my stock phone and/or contacts app.
does anyone have an .apk or knows where i can dl it?
or any other solution for the problem.
thanks.
If you used Root Explorer, you have trouble. Probably the best solution is to re-flash stock ROM with SEUS. You might also try using .sin files decryption from flashtool files, but it's a little difficult.
i used the wrong expression, i didn't delete them, i just uninstalled them. according to what you thought, i guess the .apks still exist on my phone. but i don't know where. :/
or don't they?
Check in system/app using Root Explorer. If you won't find them, they're probably deleted and hard to restore.
What ROM do you use? If it's cooked ROM, you can get the .apk simply by unziping the ROM archive, you've downloaded in system/app.
I have found the .apks.
I have installed them but nothing. I tried deleting the data and reinstalling but nothing. I believe they would show up in menu if i deleted them completely and installed them again. But in the app manager i can only stop the process and wipe the data, i can't uninstall..
I have uninstalled them with another app, fast uninstaller for root.
Flash the ROMĀ“s update.zip again.
or restore a backup of the same ROM with advanced restore, so that you only restore /system.
wow, that's clever. i flashed the whole ROM, never thought of only restoring the /system. :/
but it's solved.

[Q] Problem With Package Installer

I am having a problem with the package installer on my Nexus 7. (Wi-Fi, 32 GB) I think I may have done something to it accidentally while browsing through the system files. I did click to install the installer itself out of curiosity, though, but I don't know if that could have any adverse effects on anything. I cannot install any apps, whether they're from the Play Store or an APK through a file explorer. I get error 406 when I try to download anything from the Play Store. (Except when I tried to update ES File Explorer. That worked fine... Every other app that I've tried will not update/ download.) When I try to install an APK, I get a message like, "There is no program to open this file." I had just rooted my Nexus after having it for nearly a year with the Motochopper root exploit, so the bootloader is still locked. I could still install apps, though, until after my first reboot. Could anybody identify the problem? Any help would be greatly appreciated!
you might have removed packageinstaller.apk thats in the system. you can fix it by getting the correct packageinstaller.apk from the interent and move it to the correct /system/app path and apply CORRECT permissions for it
Billchen0014 said:
you might have removed packageinstaller.apk thats in the system. you can fix it by getting the correct packageinstaller.apk from the interent and move it to the correct /system/app path and apply CORRECT permissions for it
Click to expand...
Click to collapse
It's still there. I think installing it with itself out of curiosity is what messed it up. It now shows up in the installed apps menu in Settings.
TheZeldaLova said:
It's still there. I think installing it with itself out of curiosity is what messed it up. It now shows up in the installed apps menu in Settings.
Click to expand...
Click to collapse
Change its permissions to the same as the other apps in the same folder should fix it
Billchen0014 said:
Change its permissions to the same as the other apps in the same folder should fix it
Click to expand...
Click to collapse
It doesn't seem that I am able to change permissions. I'm just going to back everything up and either flash a stock rom or another good rom. Thank you very much for your help anyways.
Same problem..
What do you mean about "changing permissions"? If you mean to change the file properties to -rw-r-r- then that didn't worked for me .. pls help!

Gallery APK

hello forum
can any1 provide me with the official android gallery apk version 4.2.2 it suddenly stopped working and i deleted it by mistake now when i try to open it it says this application is not installed
my s4 GT-I9505 is rooted...
thanks
can some1 plz help?...its not hard u can use titanium backup.....i think
xweel said:
can some1 plz help?...its not hard u can use titanium backup.....i think
Click to expand...
Click to collapse
Hi,
Look HERE
malybru said:
Hi,
Look HERE
Click to expand...
Click to collapse
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
xweel said:
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
Click to expand...
Click to collapse
with root explorer move this app to system/app, then fix permission to 744, reboot
xweel said:
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
Click to expand...
Click to collapse
Hi,
Go to the market and get "FX File Explorer" + root
Navigate to system/app
Unlock the padlock at the top of the page.
Paste the Gallery app into the folder.
Save.
Reboot
malybru said:
Hi,
Go to the market and get "FX File Explorer" + root
Navigate to system/app
Unlock the padlock at the top of the page.
Paste the Gallery app into the folder.
Save.
Reboot
Click to expand...
Click to collapse
samersh72 said:
with root explorer move this app to system/app, then fix permission to 744, reboot
Click to expand...
Click to collapse
weird, the app was already in that folder.....i still moved the downloaded one though its the same, and i changed permission to 744, nothing changed....btw reboot as in restart?...
edit: now i cant see the gallery icon in the app drawer...
xweel said:
weird, the app was already in that folder.....i still moved the downloaded one though its the same, and i changed permission to 744, nothing changed....btw reboot as in restart?...
Click to expand...
Click to collapse
you ment that it is not deleted!
reboot=restart
samersh72 said:
you ment that it is not deleted!
reboot=restart
Click to expand...
Click to collapse
i thought it was deleted...the icon was in the app drawer...when i tried opening i get the message application is not installed, this happened after i cleared date from the application manager which i forgot to mention or thought it wasnt important..was it important ^^?
thanks
edit: maybe i should delete the .odex file? ..
i think a titanium back file will work...no1 can provide ??....or it wont work.....?
xweel said:
i thought it was deleted...the icon was in the app drawer...when i tried opening i get the message application is not installed, this happened after i cleared date from the application manager which i forgot to mention or thought it wasnt important..was it important ^^?
thanks
edit: maybe i should delete the .odex file? ..
i think a titanium back file will work...no1 can provide ??....or it wont work.....?
Click to expand...
Click to collapse
hey just root your phone with cf root download rootbrowser and replace the downloaded version with the one in system/app
then reboot
Hi guys!
I'm bumping an ancient thread here, hope that's okay with you.
I have this old S4+ lying around. I love it's Gallery app due to the built-in possibility to losslessly trim MPEG-4 AVC (H.264) videos by cutting to nearest keyframe, and also lossless rotation by changing the rotation metadata flag of the MP4 file in question. This simple feature is not implemented in "modern" Gallery apps, or well at least not in the OnePlus 5T I'm using today. So, I was thinking I could extract the .APK from my S4+ (running Android 5.x) and put it in my OP5T (running Android 8.x) without too much headache. Guess if I was wrong.
I get the error about that app was not installed. After browsing around on e.g. ApkMirror, I ultimately found a Samsung Galaxy derived Gallery .APK that I could install, it was a very early version (v1.x.something) which has the cutting feature, but not the rotation (flag changing) feature. So, this ancient Gallery3D .apk installed well, but not the one on my own Galaxy S4+.
So, what could be my issue? Is the .APK flagged to be installed as a system app, and due to my OP5T not being rooted I don't have access too /system/app/, therefor the error? Could it be that simple? If so, is it possible the modify the .APK to install as in /data/app/ instead? Of course I'd resign the APK with some dummy/androiddebug signature afterwards to make installation possible.
Could it be some silly (not really needed) demand listed in the AndroidManifest.xml of the APK in question? If so, is it possible to replace the AndroidManifest.xml with a very "basic" one listing more or less no demands, and re-wrap everything with new signature?
I'm really investigating all my options __except__ for having to root my OnePlus!
I figured that I could get a more specific error message from ADB than by just trying to install the .APK through the phone interface.
So, here goes..
Code:
C:\>adb.exe install F:\Galleri_com.sec.android.gallery3d.apk
adb: failed to install F:\Galleri_com.sec.android.gallery3d.apk: Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/com.sec.android.gallery3d-RAEW5FZ4VBWqTWXx48LPmQ==: Package /data/app/com.sec.android.gallery3d-RAEW5FZ4VBWqTWXx48LPmQ==/base.apk code is missing]
What does this tell me?
gewone said:
What does this tell me?
Click to expand...
Click to collapse
The Galaxy S4 and most Samsung devices has a second framework app, twframework-res.apk, that only works with their apps. Here's the fun part: the existing Android framework-res.apk is modified by Samsung so both framework apps are required by a given Samsung app to function. Even better is that you cannot simply port the app and twframework-res.apk to a totally different device and expect it to function. You'd have to port the framework-res.apk as well, and with that apk being a system file, you'd soft brick your device after copying it and rebooting.
The tl;dr here? What you're attempting won't work due to Samsung modifications to Android.

Stock Gallery not installing

Hi. I accidentally deleted my stock gallery app so I re-downloaded it (from here: http://forum.xda-developers.com/showthread.php?t=2449815) to try to install it again. Apparently I can't just re-install it because it's a system app so it keeps telling me that it's not installed. I tried a file manager to move the apk file into the system/app folder and changed the permission to rw--r--r--. I restart after that and now I can find the gallery app installed on my phone, but it crashes right away every time I try to open it ("Gallery has stopped working"). It also doesn't work whenever I go into camera and tap on the photo browser box because it also says gallery stopped working.
I'm on Kitkat right now with root access and I can't for the life of me figure out what I'm doing wrong. Please help!
joline4 said:
Hi. I accidentally deleted my stock gallery app so I re-downloaded it (from here: http://forum.xda-developers.com/showthread.php?t=2449815) to try to install it again. Apparently I can't just re-install it because it's a system app so it keeps telling me that it's not installed. I tried a file manager to move the apk file into the system/app folder and changed the permission to rw--r--r--. I restart after that and now I can find the gallery app installed on my phone, but it crashes right away every time I try to open it ("Gallery has stopped working"). It also doesn't work whenever I go into camera and tap on the photo browser box because it also says gallery stopped working.
I'm on Kitkat right now with root access and I can't for the life of me figure out what I'm doing wrong. Please help!
Click to expand...
Click to collapse
First, are you on NC2 leak or NC4 OTA? I'm not sure if it matters with a gallery apk but you never know.
If you're on NC2 leak go to Beans thread here : http://forum.xda-developers.com/showpost.php?p=52088473&postcount=1
If you're on NC4 go here : http://forum.xda-developers.com/showpost.php?p=53508270&postcount=1
1) Next, I'd download the rom for whatever you're on NC2 or NC4.
2) Extract rom zip with 7zip or Winrar or whatever your zip extraction program is.
3) Look for the secgallery.apk and pull the apk from the folder and transfer to your phone on your sd card.
4) Once on your sd card use your file explorer with root access. I prefer Root Explorer, if you don't have it it's worth buying to me.
5) Push the secgallery apk to system/priv-app and set permissions to rw-r--r--, then reboot and see if that helps.
6) If you still have problems try going to settings>application manager>all>then look for gallery and clear cache and see if that works
I don't know if you should use the apk you got from that link you posted as I don't know if it's been altered or not. It might be as easy as you putting that secgallery apk you have already in system/priv-app instead of system/app but let's be on the safe side. That's why I said download Beans stock rooted roms.
Hopefully this works for you.
EDIT: After going through both roms I have on my pc it appears the gallery is the same so I pulled it and uploaded here for you : http://d-h.st/9TK Let me know once you have it so I can take it down.
TheAfroSamurai said:
First, are you on NC2 leak or NC4 OTA? I'm not sure if it matters with a gallery apk but you never know.
If you're on NC2 leak go to Beans thread here : http://forum.xda-developers.com/showpost.php?p=52088473&postcount=1
If you're on NC4 go here : http://forum.xda-developers.com/showpost.php?p=53508270&postcount=1
1) Next, I'd download the rom for whatever you're on NC2 or NC4.
2) Extract rom zip with 7zip or Winrar or whatever your zip extraction program is.
3) Look for the secgallery.apk and pull the apk from the folder and transfer to your phone on your sd card.
4) Once on your sd card use your file explorer with root access. I prefer Root Explorer, if you don't have it it's worth buying to me.
5) Push the secgallery apk to system/priv-app and set permissions to rw-r--r--, then reboot and see if that helps.
6) If you still have problems try going to settings>application manager>all>then look for gallery and clear cache and see if that works
I don't know if you should use the apk you got from that link you posted as I don't know if it's been altered or not. It might be as easy as you putting that secgallery apk you have already in system/priv-app instead of system/app but let's be on the safe side. That's why I said download Beans stock rooted roms.
Hopefully this works for you.
EDIT: After going through both roms I have on my pc it appears the gallery is the same so I pulled it and uploaded here for you : http://d-h.st/9TK Let me know once you have it so I can take it down.
Click to expand...
Click to collapse
Oh my goodness, you're a life safer! It finally worked after spending many hours trying to figure out what was wrong. I guess it's because I use the wrong apk and also because I put it in the wrong folder in the system root. After I downloaded the apk you provided, I moved the file to system/priv-app and changed the permission. After rebooting, gallery is now working perfectly fine again instead of crashing.
Thank you so much for your help! I really couldn't have figured this out on my own without your information!
joline4 said:
Oh my goodness, you're a life safer! It finally worked after spending many hours trying to figure out what was wrong. I guess it's because I use the wrong apk and also because I put it in the wrong folder in the system root. After I downloaded the apk you provided, I moved the file to system/priv-app and changed the permission. After rebooting, gallery is now working perfectly fine again instead of crashing.
Thank you so much for your help! I really couldn't have figured this out on my own without your information!
Click to expand...
Click to collapse
That's what's up... ?
Glad I could help you out, it's no problem at all.
Sent from the Note 3 of The Afro Samurai

Categories

Resources