Constand optimizing apks after root - Android Q&A, Help & Troubleshooting

I am running lollipop 5.1.1 arm64v8 on my china tablet.
The OS came odexed and I plan on modifing the framework and system apks.
Thus I need it rooted to de-odex the tablet.
As soon as I rooted it (using chainfire's SuperSu), it optimizes apks every
time I boot.
I have tried clearing delvik-cache, and even went so far as factory reset.
Nothing seems to help.
I'm not sure how to install Magic since I have an off the wall brand and I'm not sure that would
even work.
Any help would be appreciated.
-Twilight Time-

Related

[Q] Galaxy S4 ME7 - No custom ROM will boot, tried everything I could find

Hi XDA,
For the past several days I've tried to Safestrap a custom ROM to my phone. I'm running a rooted Samsung Galaxy S4 with ME7 (Verizon), Android 4.2.2. It's worth noting that the phone has not received an official Verizon update since August; I tried using Loki back then before knowing about the locked bootloader, and it has not affected anything except that the phone softbricks into the ODIN screen whenever it tries to install a Verizon update. (I hope this is not the cause of the problem, but let me know if you think it is.) It's also worth noting that I deleted the stock messaging app (SecMMS.apk and SecMMS.odex.) I am using Safestrap 3.65.
So far, I've tried three different ROMs (Hyperdrive RLS10.2, Jelly Beans Build 7, Google Play Edition for 4.2.2.) Each install produced the same results: it installs just fine in the ROM slot (along with the ME7 modules afterwards), but when I reboot the system, it shows the Samsung logo, the Safestrap splash screen, and then the screen goes black indefinitely. A battery removal is required.
I've tried every trick I could find to get the ROMs working. I've done a full factory reset each time (data + both caches), tried downloading each mod several times on both my phone and my computer (verified MD5 each time) and same with the modules, waited at least 20 minutes during each boot attempt, tried installing each ROM with default settings and minimal apps, used Stock kernels each time, made sure the modules are installed before rebooting (I also tried without the modules to make sure they weren't the problem--same result.) Each time I try an install, I delete the ROM slot and format it again (usually a 1GB-2GB-300MB split.) I've searched and searched and can't seem to find anyone with this problem that hasn't solved it through one of the fixes I've unsuccessfully tried.
I'm plum out of ideas now, and am hoping someone may have more wisdom to share. Please help!

[Q] Phone unstable after rooting

So I have a Galaxy S2 that was rock solid stable. It would always reboot without a problem.
I needed to root the phone to get an app to work so I installed TWRP backed up phone and rooted the phone. Found out the hard way not to grant SU to any app as the phone went crazy deleting processes and killed itself.
I restored to pre-root system rooted again and only give SU to the app that started the need - BubbleUPnP.
No other app is granted SU priviledge. BTW this might be noted in a sticky or put in a rooting thread.
However, phone works fine but at least once a week it hangs on a boot. Never gets by the Samsung loading screen. In fact the working bar is almost at 100percent and it freezes.
I have to pull battery and restore a TWRP backup. This is turning into a hassle.
A prior thread said to do a factory restore. If I do that will TWRP be gone and my backups? Other thread said do something with Odin.
Is my Android os - jellybean - not stable for rooting and rooted apps like BubbleUPnP and exposed framework? If so what ROM Android os build would be best?
TIA

Was rooted, OTA installed, now dies very fast.

I have a friends S4 here that I rooted for them a while back and installed Xposes + Wanam to make their locked bootloader device a bit more useful. It worked perfectly for many months.
Recently they come back to me to tell me their phone dies very quickly when it is not in use and does get pretty warm. Battery panel shows that Android OS is using majority of percentage and not any more detailed. I realized that it was definitely OTA updated and that Xposed stated that modules were no longer installed nor did Superuser have root. I realized I made a mistake and forgot to disable OTA services.
What I have done so far: Re-rooted by flashing old kernel, flashed back to new kernel. Reinstalled Xposed modules and things SEEM to be perfectly fine. Two days later, the same thing is still happening. Android OS is definitely still hogging the CPU doing something in a loop.
I understand that a possible factory wipe from recovery MAY fix this issue unless System files are messed up and needing to use Odin to restore BUT I figure it'd be a great idea to come here and see if there's a quick fix that may be possible that could also help other readers that have run into the issue of accidentally receiving OTA while rooted.
Thanks for reading.
stevey500 said:
I have a friends S4 here that I rooted for them a while back and installed Xposes + Wanam to make their locked bootloader device a bit more useful. It worked perfectly for many months.
Recently they come back to me to tell me their phone dies very quickly when it is not in use and does get pretty warm. Battery panel shows that Android OS is using majority of percentage and not any more detailed. I realized that it was definitely OTA updated and that Xposed stated that modules were no longer installed nor did Superuser have root. I realized I made a mistake and forgot to disable OTA services.
What I have done so far: Re-rooted by flashing old kernel, flashed back to new kernel. Reinstalled Xposed modules and things SEEM to be perfectly fine. Two days later, the same thing is still happening. Android OS is definitely still hogging the CPU doing something in a loop.
I understand that a possible factory wipe from recovery MAY fix this issue unless System files are messed up and needing to use Odin to restore BUT I figure it'd be a great idea to come here and see if there's a quick fix that may be possible that could also help other readers that have run into the issue of accidentally receiving OTA while rooted.
Thanks for reading.
Click to expand...
Click to collapse
You could downgrade back to nc5 by flashing the tar file. Nc5 tends to be more stable and battery life is decent. I tried running nk1 for awhile, running into the same issues. I went back to nc5 running echoerom v39.1

[TWRP Problem] Samsung Galaxy J7 2015 T-Mobile (SMJ00T) Improper Restore

I'm very new to the rooting community, and I'm well aware of all of the problems. I've messed around, and bricked my phone many times but always knew how to fix it by flashing the custom rom. I've did whole of April until I figured out the proper rooting my model's for 6.0.1 software, and the 7.1.1 software. I eventually got tired of repeating this process, so in May (after I properly rooted my device and everything worked perfectly) I backed up everything including my system in TWRP.
Now the problem is, after using the xui tuner from xposed installer a bit, my phone seemed working for a bit, and lockscreen worked, but it randomly kept restarting at the boot animation . I grew impatient and restarted my phone properly a couple times but it kept rebooting after I unlocked my phone or just waited at my lockscreen. I then started got scared that I damaged something in my system or software, so I went to use TWRP to restore my backup (which I also literally backed up on this Tuesday). It apparently was successful, until the bootlogo freezing and saying my kernal wasn't SEANDROID ENFORCING.
Then now, I kept reformatting my data and restarting but it wouldn't work, it kept failing. So I gave up, and flashed my stock rom. This worked, but I obviously lost all my data. So to possibly help someone, I want to list what I think could've been the problem. (Still new, so I may list alot of unlikely things. Also random order)
1. I didn't format my data before the first restore, thus it failing.
2. Improper backup, I either backed up unnecessary partions like radio, or TWRP just didn't backup properly.
3. My sd card, I had many problems with my sd card before doing this type of stuff, but it went away during may. During may however, I backed up my magisk modules to it too, but they didn't appear on TWRP. Meaning it may have stopped working again. It also deleted my root folder, where I held the magisk zip and uninstaller.
Now this could bring another problem, I was using Magisk and Xposed installer, while also having my stock framework, xposed framework, and sony framwork (this was to use remote play), and in result my phone couldn't handle it and the module from both Magisk and Xposed.
4. I backed up my system while using the ashyx encryption zip, meaning when TWRP restored encrypted files?
5? XUI Tuner, I modified too many things with the app and probably did something to to the root directory. (Most likely Unlikely)
6. I modified my build prop by adding more code like the android users function, and TWRP probably couldn't back that up so it restored wrong like in 2
7? I modified TWRP by using a custom theme in the recovery, making certain functions like backup and restore not work?
8. I was using an old version of TWRP, 3.0.2 instead of 3.2 because 3.2. However, this is because 3.2 didn't work with my phone, and neither did 3.1.
I now flashed the stock rom, and everything works again. I just have to re-root. I didn't lose much data really, and I backed up some stuff in samsung cloud anyway. I just wanted to make this thread so I can fix the problem properly in the future, in which someone else may need it too. This model of samsung phone really isn't popular in the community, so it really would be helpful to other people. The solution could also work for other J700 variants, especially J700T1 since it's the most similar.
P.S. This is also just a small thing to help people too. Rooting this model is actually pretty easy, there's just a catch for one version of it.
6.0.1 can easily be rooted, especially with autoroot. It's works well, and you don't have to lose anydata at ALL! However magisk is untested.
7.1.1 on the other hand does require to format it's data to work so you have to back up anything you want to keep.. Superuser for me made wifi and the flashlight inaccessible, so I had to use Magisk. Which worked fine. There are two different versions of this root though. (Tested Once) One is basically like how the stock rom and has the manual, mobile data quick setting, and battery settings. to get it, don't use ashyx encrptyion . The other is like how you got it your device and set it up normally, no manual or extra settings, and requires ashyx encryption for this. The one I used was the ashyx encrpytion, and I was fine using this method because I kinda already lost everything over and over so I didn't care (end of april).
Edit: Turns out the stock version happens when you flash the stock rom, then immediately flash a custom recovery, and formatting the data without launching the the phone. I think this happens because when you get your phone, and activate it with a carrier sim card it downloads the additional files for that carrier which allows and when you format the data it formats the carrier version instead of the default system on the phone.
I hope we can find a solution for the kernal problem, so other people can fix this properly.
I would also like to ask if someone can make a odin and TWRP flashable kernal file of both the 6.0.1 and 7.1.1 versions of the SM-J700 variants, but for now in this thread the J700T is fine, unless all variants have the same stock kernal. This could be a solution and very helpful.
I have a USA T-Mobile Samsung Galaxy J7 J700TUVU3BQK3 phone and Can someone give me links to where I need to download the firmware ROM for this phone & all the different software I would need to root this phone or modify-backup its operating system??? My computer operating system is windows and also does anyone know how to setup a multiple operating systems on a computer where u can choose to either boot to different versions of windows and lynux.?? Computer Lenovo Gaming Laptop & HP Pavilion Laptop.

WiFi not working - TouchWiz 4.4.4 G357FZ

Hello,
I have an issue with making a tweaked, modified, etc TouchWiz ROM (aka BaconOS).
When I debloated, deodexed, deknoxed it with Assayed kitchen (and by flashing a debloat/deknox zip before that), the WiFi stopped working for some reason.
So I tried deodexing and only removing some apps (file manager, camera, samsung store, email, gapps), but that didn't fix the issue.
After that, I tried flashing stock ROM (Nothing changed, extracted using ext4unpacker) with assayed kitchen's updater-script, but still nothing.
Please let me know how to fix this issue.
maybe replace wifi folder from very stock rom..?
Naksuhd said:
maybe replace wifi folder from very stock rom..?
Click to expand...
Click to collapse
It has to do something with deodexing, because when I deodexed the stock rom, wifi stopped working. So the ROM will be odexed (a bit slower)
tried with odex system, problem is with debloating..
Hi, are you seriously making a ROM for this old device? Wow, finally something at last!
Had this device since christmas of 2014 and actively used it as my main device until january 2017.
During this time, I rooted it about 6 times. A couple of times I did it with Kingroot (or was it Kingoroot?) and all was well. But every time I tried to root using a SuperSU root that I found here, there was this glitch that would seemingly trigger out of nowhere, causing infinite "App has closed unexpectedly" messages to appear, along with a black screen behind those warnings, nothing worked until I did a factory reset. Yea, frustrating times...
I have always wondered why nobody bothered to port literally anything to this phone. Not even a (working) custom recovery was ever available for it. There was one that I tried, but was very unsuccessful in trying to boot it.
All that being said, my phone's battery has unfortunately "gone up in size", or "spicy pillow", so I can't really test anything right now.
My phone is the SM-G357FZ running TMZ firmware (Czech republic T-Mobile), and I always wanted to get rid of that and put an unbranded European CSC/firmware onto it.
I support you in your efforts OP and can't wait to test out your work!
Edit: I just discovered that there was an official update released by Samsung in 2021! Have you considered basing your ROM on that instead of the now ancient 2017 ROM?

Categories

Resources