Hi
I have an SM-N900.
Recently I changed a few stuff in the UI including the Settings menu. I was using the Settings menu from S5 by replacing the apk. Today I thought of reverting this. This is what I did :
1) Changed the existing apk to SecSettings.apk_S5 (as a backup)
2) And i changed the backup I had (SecSettings.apk.bak) to SecSettings.apk
Now, I assumed the permissions and all would be fine as it was being used earlier. I don't know if its the permissions that is causing the problem, but, after I rebooted the phone after making the above changes, my phone won't boot up. It is stuck at the Samsung logo...
What do i do ? Is there some way of flashing the settings apk (if i find the correct one) as a zip file from CWM ? or should i just flash a stock firmware ?
UPDATE :
I used Aroma file browser to revert these changes (that is go back to s5 settings) and the phone came up finally !!! Now the questions is, how do i go back to my stock settings ?
Related
Hello Everybody, I've seen lots of Amazing ROMs, I like them all, Its just that I dont like the ICS Dialer.
So, I need Stock DialerTabActivity,apk in a Flashable zip
I tried pushing Apk into the system, but I messed it up, and Dialer app never showed in Launcher, neither it showed it installed. I had changed Permissions and restarted, but nothing worked. Please Help me!!
P.S. - I am on DDLF2 Baseband.
Hi there,
After noticing that the SamsungIME Portrait type keyboards were gone from 4.3 MJ5 I was wondering how I was going to go back to the 4.2.2 keyboard as it was the main one I used. Downgrading to an earlier rom isn't an option because of the new bootloader, so then I was thinking I could simply download the 4.2.2 SamsungIME apk and install it by rooting the phone and copy it into the SYSTEM/APPS folder, change the permissions and reboot after clearing the cache/dalvik cache. All of the versions of SamsungIME I can find either cause the system to crash ("We're sorry but the Samsung keyboard has stopped working" message). My questions, if anybody could help me, are
1) Does anybody have a step by step guide to changing the Samsung keyboard? Is it just a case of putting the apk files in the Apps folder and changing the permissions, clearing cache and rebooting? I've also tried using CWM zip files to load but these fail also.
2) Are Samsung keyboards rom specific i.e. will an MH8 keyboard work in the standard MJ5 rooted rom, or are they also not downgradeable?
3) Would anybody be able to provide me apk and odex file for the 4.2.2 i9505 MH8 Samsung keyboard (if it's useable in the MJ5 rooted rom).
4) This is a long shot, but is there a rooted/custom rom in existence that I can load to my MJ5 S4 that includes the 4.2.2 keyboard and so, still offers the Portrait Keyboard Types?
I would be really grateful for help with this.
Many Thanks
Philip
Hello everyone!
Im not new to xda forums, but I'm new as a user, so I am really sorry if I'm writing in the wrong section.
I live in Hungary and I have a GT-I9505 unlocked by default device.
Yesterday i went ahead and rooted my phone using Towelroot to keep KNOX untrigered. Oh btw i was running android ver. 4.4.2.
I rooted my phone without any problems, and KNOX was still 0x0, installed busybox and xposed framework.
I installed GS5 launcher and apps, and to get MyMagazine working i had to replace some files in /system/framework named
twframework-res.apk
and
twframework.jar
I did those without any problems. I wanted to restore my S4 to its original look, so i started putting back the original files, both in system/framework and in system/priv-app
While i was deleting thos two framework files, I accidentaly pressed the home button, so the changes took affect, and i got a lot of FC windows, making me unable to use my phone to get back those files.
I have a backup of those files, on my SD card, i just cant put them back because of those force close windows.
I tried wiping cache and data in recovery mode (stock, no CWM or such) but that didn't help either, and now i have the galaxy setup process+the FC windows.
Is there anyway to make my phone working correctly again?
Really sorry for the long text and any mistakes, it's 2am here and I'm really tired and I'm just trying to get my phone back to normal.
I ended up reflashing an official samsung firmware with Odin, and now my problem's gone.
Hi,
I'm going crazy ever since I factory reset my S5 Duos after getting stuck in a bootloop. My Settings app seems to have become totally different and I don't know how to fix it. I've
- lost two tabs (the Quick Settings and the Applications tabs)
- and the Menu (three dots)
- plus the Status Bar now sits transparently on top of the app (not the app below it) .
- The search bar is in a different place and
- some settings options are missing (e.g. Printing)
- one of the icons is too large (Download Booster) though I suspect a themeing error for that one).
Now I have reloaded one heck of a lot of apps (>300) and xposed modules plus trialled others then unistalled them so it may not be the factory reset per se. I do recall a recent OTA Security Update too (I think it was). Would that account for anything?
I've tried Googling but get swamped with too many generic topics. I've reset my theme to default and deselected all xposed modules and rebooted. No effect on the Settings errors (even the overly large icon)
Anyone shed some light on any of the above? Help would be greatly appreciated. I'll post some screen shots to aid in recognizing what's happened (pre reset shot.. actually a shot of my S5 not my S5 Duos but the two were the same bar Dual SIM options…. a current screen shot showing the problems and a crop of my status bar from my homescreen to help pick out the overlapping error which .only appears with Settings (no other app)).
Regards Mallow1
Galaxy S5 Duos (G900FD) running KitKat 4.4.2 stock Rom (rooted)
Mallow1 said:
Hi,
I'm going crazy ever since I factory reset my S5 Duos after getting stuck in a bootloop. My Settings app seems to have become totally different and I don't know how to fix it. I've
- lost two tabs (the Quick Settings and the Applications tabs)
- and the Menu (three dots)
- plus the Status Bar now sits transparently on top of the app (not the app below it) .
- The search bar is in a different place and
- some settings options are missing (e.g. Printing)
- one of the icons is too large (Download Booster) though I suspect a themeing error for that one).
Now I have reloaded one heck of a lot of apps (>300) and xposed modules plus trialled others then unistalled them so it may not be the factory reset per se. I do recall a recent OTA Security Update too (I think it was). Would that account for anything?
I've tried Googling but get swamped with too many generic topics. I've reset my theme to default and deselected all xposed modules and rebooted. No effect on the Settings errors (even the overly large icon)
Anyone shed some light on any of the above? Help would be greatly appreciated. I'll post some screen shots to aid in recognizing what's happened (pre reset shot.. actually a shot of my S5 not my S5 Duos but the two were the same bar Dual SIM options…. a current screen shot showing the problems and a crop of my status bar from my homescreen to help pick out the overlapping error which .only appears with Settings (no other app)).
Regards Mallow1
Galaxy S5 Duos (G900FD) running KitKat 4.4.2 stock Rom (rooted)
Click to expand...
Click to collapse
That does not look stock so I'd suggest reflashing stock, a factory reset is not sufficient for a reflash.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Thanks for your reply Rakuu.
I'm really hoping to avoid a full reflash having just done a factory reset last month and full reinstallation of everything. My ROM is stock (I'm just a heavy themer).
One option may be for me to get hold of a stock apk for Settings if someone with a S5 Duos would extract it and PM it to me. In the interim, I'll look at extracting my own from the factory reset partition (if that is possible… I'm quite a noob on Android after many years here on the WM side… even as far back as the old XDAs!).
That would at least eliminate anything I may have loaded then uninstalled leaving behind the mess. Keep your fingers crossed for me. .
Mallow1
Mallow1 said:
Thanks for your reply Rakuu.
I'm really hoping to avoid a full reflash having just done a factory reset last month and full reinstallation of everything. My ROM is stock (I'm just a heavy themer).
One option may be for me to get hold of a stock apk for Settings if someone with a S5 Duos would extract it and PM it to me. In the interim, I'll look at extracting my own from the factory reset partition (if that is possible… I'm quite a noob on Android after many years here on the WM side… even as far back as the old XDAs!).
That would at least eliminate anything I may have loaded then uninstalled leaving behind the mess. Keep your fingers crossed for me. .
Mallow1
Click to expand...
Click to collapse
There is no "factory reset partition", factory resetting doesn't flash anything, it wipes /data and /cache, if you brick factory resetting won't do anything, you will still be bricked.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Hi Rakuu,
Thanks for that insight. Greatly appreciated. It all adds to the personal knowledge base and big thanks to you for your time in replying
So back to my options:
-stick with what I have
-flash a new ROM
-install a new Settings apk if I can source an appropriate one
-live in hope of additional solution
Regards Mallow1
You *might* find the stock settings app in one of the zips in this thread......
http://forum.xda-developers.com/showthread.php?t=3286441
(I can't remember if I included it or not, but it should be there)
For info.....The included apps were ripped from a stock 4.4.2 firmware.....
Edit.....If I included them (there are 2 possibilities....Sec Settings apk and Sec Settings Provider apk) they'll be in the 'SystemPrivApp' zip as that is their location in the firmware.....
http://i.imgur.com/rVnFwJM.jpg
Hi KR39,
I appreciate your reply. I'll head off there and investigate. Just a double check first, this is re S5 Duos not merely the S5? I'm just cautious esp as XDA doesn't seem to have an S5 Duos forum… I guess we are a rare breed!
M1
Duos? As in dual sim card?
I don't *think* that'll make a difference unless there's a specific section of the settings that deals with the sim cards.....it's certainly not present in the archived app if that is the case.....
What *might* be more critical is what version of Android your device is running as Samsung might have changed critical areas of the Touchwiz framework between 4.4.2 and 5.0.0 (bearing in mind the changeover to 'Material Design').......
If you do try this, make a backup of everything first.
Make sure to delete/remove the original settings app AND the associated ODEX file when you copy the new settings app into the priv-app folder.
Also don't forget to set the correct permissions for the freshly copied app.
And then REBOOT the device in order for the new app to become active......
It may be that none of this works, in which case the only option may very well be to odin flash back to full stock.
http://i.imgur.com/rVnFwJM.jpg
Yes Duos as in dual SIM hence my pics show two sig strengths (bar the one I state is a shot from my S5 not my S5 Duos).
Ergo I wouldn't wish to flash anything not for the Duos (sorry folks I can't find an S5 Duos xda forum and an S5 is closest). So yes, the Settings app includes dual sim specific options.
Ok, so, so far, yes dual sim, yes need dual sim settings app and I need to educate myself re Odex or non-odex.
Overview so far… I'm not looking to get more complex… just a quick fix.
M1
It's looking like you're going to have to use Titanium Backup (or similar) to.....
1) backup everything you need.
2) make a recovery flashable zip (using TiBu) of that backup.
Then....
3) Odin flash back to full stock
4) re-root and flash a custom recovery, then use that recovery to...
5) flash the 'backup' zip to return your device to +/-90% the way it was before you started.....
I would leave the xposed mods and modules entirely out of that backup just in case it was one of them that caused the problems....you can always apply them individually and manually after you have your device up and running again.
The backup or update zip should just contain the playstore apps and their associated data......
http://i.imgur.com/rVnFwJM.jpg
Thanks KR, my issues while irritating aren't major enough for me to reflash my whole set up just yet (I may wait until CM13 is out of nightly beta only and xposed modules are fully MM compatible before I finally leave KK 4.4.2 behind). Thanks for your step process it'll be useful when I do change as I'll do it in steps as an educational process.
In the interim I'll rummage through my Ti backups and see if I can simply restore the settings app from there in isolation… might that work do you think?
Regards M1
Very good question.....to the best of my knowledge and limited TiBu experience, it will *definitely* back up (and restore) user installed playstore apps.....but I'm doubtful about system apps......
I've created update zips using TiBu in the past, and just out of interest, I've extracted them.....having done this, I've discovered that all my user apps are included inside the zip as actual app files, but I've *never* come across a system app......
My best guess is that when TiBu backs up apps, it does it in two ways.....
For user apps, it creates a backup of the app itself as well as it's data, but for system apps, it is only able to back up the data (anybody reading this, please correct me if I'm wrong).......
http://i.imgur.com/rVnFwJM.jpg
Yep my Ti backs up sys apps (option under backup setting preferences). Sadly I'd only got 1 back up as max history setting and that Settings apk resulted in the same view. Hayho… back to creative thinking. Next level is to hope another Duos user can extract the Settings apk for me (if 4.4.2) and send it to me… anyone out there?
Good luck fella....sorry I can't help out on that one......
Have you tried downloading the correct firmware from Sammobile or Samsung-updates and extracting it from that?
http://i.imgur.com/rVnFwJM.jpg
Hi KR,
Both great suggestions and gives me plenty of new scope to explore this. I'll also look into simply editing what I've currently got (extract, decompile, edit, recompile etc) as per:
http://forum.xda-developers.com/showthread.php?t=2184207
Your time and help has been much appreciated.
All the best Mallow1
I upgraded my device (it is actually a Huawei GT3 NMO-L31C432, but basically identical to the P9 lite) to Nougat couple of days ago. There were some issues regarding automatically upgrading, so I upgraded using fastboot etc. My model number and build number got messed up (NDR test keys) but apart from that all functionality seemed to be there (Wifi, mobile data, camera, sound etc) so I just fixed that in build.prop. However, I noticed a serious issue with push notifications (e.g. WhatsApp) and figured that this is pretty common for EMUI (this is my first Huawei device), so I went through all the settings to see if I could fix the issue (don't close WhatsApp automatically, ignore battery optimizations for WhatsApp, grant unrestricted data access, priority notifications). Yet, the issue couldn't be solved.
So I decided to wipe the phone through TWRP and reflash the firmware (basically following the steps outlined here: xxx/p9-plus/how-to/easy-upgrade-to-unapproved-emui-5-update-t3649532 Replace "xxx" with "https://forum.xda-developers.com/"). IMPORTANT REMARK: Before wiping and reflashing, I could change the ringtone etc - no issues.
Now, after configuration of the fresh system (root, restore most important apps using TitaniumBackup) it seems that the push notifications work fine. However, I can no longer change ringtone/notification sound in the system settings: Settings -> Sound (I apologize if these are not the usual expressions used in the English UI, I am using the German one). From there, I have options to open up other menus, such as ringtones for SIM1 and SIM2, or notification sound. If I press on those, it looks like they get "activated" but nothing happens. Settings in the same menu (Settings -> Sound) that just require to be activated/deactivated such as vibration on/off or a "sound when screen is locked" work fine. It is just that I can not open the list to choose between the preinstalled sounds. As a workaround I downloaded an app from the PlayStore and changed the ringtone via this app - no issue.
What I already tried/checked:
- Wipe Cache/Dalvik/ART through TWRP
- check /system/media/ringtones and /system/media/notifications -> all exist and all default sound .ogg files are there
- reflash just the system.img and wipe cache afterwards
Nothing of this helped. What could be wrong? What else could I try? In case someone suspects I messed up some files/settings using root: shouldn't be the case. All I did was flash the TWRP through fastboot, flash the recent SuperSU.zip and then used root access to setup AfWall+, AdAway and TitaniumBackup. TitaniumBackup was used to restore most important apps (mail, some office apps and such - NO system tweaks whatsoever). It also seems (only sometimes) like the settings in general are a bit laggy - very rarely they "freeze" for a second or so or if I want to get back to the previous page a black screen appears for a fraction of a second (as if settings crashed - but I end up where I want to).
_theluk_ said:
I upgraded my device (it is actually a Huawei GT3 NMO-L31C432, but basically identical to the P9 lite) to Nougat couple of days ago. There were some issues regarding automatically upgrading, so I upgraded using fastboot etc. My model number and build number got messed up (NDR test keys) but apart from that all functionality seemed to be there (Wifi, mobile data, camera, sound etc) so I just fixed that in build.prop. However, I noticed a serious issue with push notifications (e.g. WhatsApp) and figured that this is pretty common for EMUI (this is my first Huawei device), so I went through all the settings to see if I could fix the issue (don't close WhatsApp automatically, ignore battery optimizations for WhatsApp, grant unrestricted data access, priority notifications). Yet, the issue couldn't be solved.
So I decided to wipe the phone through TWRP and reflash the firmware (basically following the steps outlined here: xxx/p9-plus/how-to/easy-upgrade-to-unapproved-emui-5-update-t3649532 Replace "xxx" with "https://forum.xda-developers.com/"). IMPORTANT REMARK: Before wiping and reflashing, I could change the ringtone etc - no issues.
Now, after configuration of the fresh system (root, restore most important apps using TitaniumBackup) it seems that the push notifications work fine. However, I can no longer change ringtone/notification sound in the system settings: Settings -> Sound (I apologize if these are not the usual expressions used in the English UI, I am using the German one). From there, I have options to open up other menus, such as ringtones for SIM1 and SIM2, or notification sound. If I press on those, it looks like they get "activated" but nothing happens. Settings in the same menu (Settings -> Sound) that just require to be activated/deactivated such as vibration on/off or a "sound when screen is locked" work fine. It is just that I can not open the list to choose between the preinstalled sounds. As a workaround I downloaded an app from the PlayStore and changed the ringtone via this app - no issue.
What I already tried/checked:
- Wipe Cache/Dalvik/ART through TWRP
- check /system/media/ringtones and /system/media/notifications -> all exist and all default sound .ogg files are there
- reflash just the system.img and wipe cache afterwards
Nothing of this helped. What could be wrong? What else could I try? In case someone suspects I messed up some files/settings using root: shouldn't be the case. All I did was flash the TWRP through fastboot, flash the recent SuperSU.zip and then used root access to setup AfWall+, AdAway and TitaniumBackup. TitaniumBackup was used to restore most important apps (mail, some office apps and such - NO system tweaks whatsoever). It also seems (only sometimes) like the settings in general are a bit laggy - very rarely they "freeze" for a second or so or if I want to get back to the previous page a black screen appears for a fraction of a second (as if settings crashed - but I end up where I want to).
Click to expand...
Click to collapse
Reflash firmware using dload method.
Thanks for the suggestion. Sorry that I forgot to mention that I tried this already but it always fails after verification if the software package. At 5% when installation should starts it stops "software verification failed. Incompatible software..." although I just want to reflash the one I installed successfully via fastboot.
Would it be dangerous to flash other imgs in the update.app, such as all the modem related ones. Might that even help at all? For many of them I am unsure what they really are, e.g. Trustfirmware.img... I guess xloader is the bootloader?
Try doing a rollback, search for Unified help thread for p9 lite. I've written in detail how to do it.
Thank you very much. Will give it a try later on. Hopefully the dload method for rollback will work
you have to revert back to your original fw and do the upgrade to nougat through hicare.... I had the same problem
This device is driving me insane. The dload method just never tends to work...
What I did:
put the UPDATE.app into dload folder (ROOT of external SD)
Start "dload" method using VOL+ & VOL- & POWER.
Fails after verification: "Software install failed! Incompatibility with current version. Please download the correct update package."
I suspected (after reading the Huawei pdf accompanying the rollback package) that maybe the root access and unlocked bootloader might be an issue. So I reverted the phone back to stock recovery, reflashed system.img to remove root and relocked the bootloader. Yet, dload fails with the same message as before. I think I will go ahead and try the rollback method for the GR5 mini (even though it's for south asia region, but hey... I just want a working phone. Can change CUST later on).
If that also fails I am really tempted to fully wipe the phone using TWRP and flash every single *.img that can be extracted from the UPDATE.app files. If I use a Marshmallow ROM as source for the img files, this should work as well as a rollback, right? Or do I have to expect major issues?
EDIT: The GR5 mini rollback also fails.
Deleting everything won't work... You will just face major issues.
Do you (or anyone else) have any other suggestion what I could try? Currently, as said, I would flash all *.img files that can be extracted from a Nougat UPDATE.app and can be flashed via fastboot (except for xloader.img and fastboot.img, which I believe to be the bootloader and the fastboot stuff, respectively?). Those that can't be flashed via fastboot would be converted to ext4.img files using imgtool and put into the proper partitions using "dd" command via adb. I hope that if I do this for both the ~1.3GB update.zip and the ~0.7GB update_data_full_NMO-L31_hw_eu.zip, the phone (unrooted, locked bootloader) will be in a state that eventually allows the dload method to work... Does this make sense? Are there any partitions that I should never ever flash manually?
So what I now did is probably not the best solution but for now it appears to be an "okay-ish" workaround. Using the C432 oeminfo of a P9-lite I converted my NMO-L31 to a VNS-L31 and then down/upgraded the smartphone to the recent software for the P9-lite. Seems to work now