modded app sig conflict - One (M8) Q&A, Help & Troubleshooting

This has probably been answered, so you can all laugh at me and point me in the right direction at the same time.
On my shiny new M8, Twitter and Facebook came preinstalled as system apps.
I took the latest version of each app (from the Play Store) and pushed my own hd-ish notification pngs into each apk. Then I signed them and tried to side load them on the M8. I got the conflicting signature error message. So I tried copying the META-INF and androidmanifest from the play store version to my modded version. Nothing.
So I tried uninstalling the system versions with RootUninstaller. The apps can be frozen, but not uninstalled. If I uninstall them, they just magically reappear when I exit RootUninstaller.
I am at a loss of what to try next. I know the simplest solution would be to uninstall the system version then side load my own modded version, but it seems the M8 doesn't want to get rid of it's system version of Twitter & Facebook. I've also tried using the SE Linux Mode changer before uninstalling and no dice.
Any suggestions?

You need a custom kernel, the system partition is not writable. There was a kernel module written by a dev here.
You could probably do it from a recovery too. Hmm. Maybe fastboot boot a custom recovery and use the file manager? Just guessing now. It will probably break OTAs, too, so keep a backup of them.

I don't have a custom kernel, I can write, delete, move anything I want in system. I'm rooted and unlocked boot loader with s-off, but thought all that was required to make changes to system is root?

Yeah, someone mentioned it only takes s-off to modify the system partition...but I could be wrong.

ashyx said:
I don't have a custom kernel, I can write, delete, move anything I want in system. I'm rooted and unlocked boot loader with s-off, but thought all that was required to make changes to system is root?
Click to expand...
Click to collapse
Maybe S-Off also disables the shadow system partition, but root is not enough, which is why the custom kernel module was written.

Related

Root issues HTC Desire

Hi all, hope this is in the right section.
I rooted my Desire last night using unRevoked 3.3 with the intention of removing all the bloatware on my phone and forcing most of the apps onto the sd card.
My phone seems to have rooted fine, i have the Superuser Permissions application on there, and Titanium backup pro seems to be working too.
Now when i use Titanium backup to try and remove programs such as Stocks, News and Weather, News etc... I click on the app in the list, click un-install and then it tells me its uninstalled. However the apps still appear in my menu and are still there following a reboot. Ive also tried another method using Super Manager and that doesent seem to work either. The apps are still there following them being 'uninstalled'.
Also, similar situation with the SD card, i downloaded Move2SD enabler and that doesent seem to let me move certain apps like Maps, Facebook and others.
Any idea where im going wrong? Im on stock 2.2. My phone is in debug usb mode too.
Any help would be great.
Cheers
The apps you want to remove/move are system apps in stock roms. So you cannot do such things, because you are not s-off. But you might be able to do the things you want with adb:
http://wiki.cyanogenmod.com/wiki/Barebones
How to install adb:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Or just delete specified .apk's from the .zip file before flashing.
k3lcior said:
Or just delete specified .apk's from the .zip file before flashing.
Click to expand...
Click to collapse
He did not flash a rom. He is just using stock rom. There is nothing to delete from a zip file, because there is no zip file he wants to flash.
Then what i suggest is flashing custom ROM and customize it just how you like, you wont need to S-OFF. (which is much more risky than flashing a ROM)
What i would also try is application called "SystemAppRemover", i'm using it for removing all the system bloatware which you mentioned, but im S-OFF so i cannot guarantee it will work.
k3lcior said:
Then what i suggest is flashing custom ROM and customize it just how you like, you wont need to S-OFF. (which is much more risky than flashing a ROM)
What i would also try is application called "SystemAppRemover", i'm using it for removing all the system bloatware which you mentioned, but im S-OFF so i cannot guarantee it will work.
Click to expand...
Click to collapse
Maybe he wants to stay with stock rom? If he wants to flash custom rom, I guess he would have asked for it.
To remove system apps in running system with an app, you have to be s-off.
MatDrOiD said:
Maybe he wants to stay with stock rom? If he wants to flash custom rom, I guess he would have asked for it.
Click to expand...
Click to collapse
I guess you know better than him, fine.
k3lcior said:
I guess you know better than him, fine.
Click to expand...
Click to collapse
It was just a clue, had nothing to do with knowledge.
Nevertheless, we should stop filling this thread with our senseless discussion.
haha thanks for the responses guys!
ive been looking at all the custom roms and whilst most of them look pretty cool, im quite happy with whats already on there at the moment, im just bored of seeing my phone telling me i dont have enough internal space etc... so i wanted to root and move as many apps onto the sd card as possible and delete all the unwanted stuff that im constantly closing in taskiller.
i did read something about putting the phone into s-off mode, i guess this is the way to go in regards to deleting the unwanted system apps?
also i believe that i cannot move facebook or google maps onto the sd card, am i correct?
Best option is flashing custom ROM, you could remove any apps you want from the flashable .zip file, and give you an unlimited storage for apps - A2SD. (well limited by SD Card capacity)
You can also S-OFF and remove apps you dont want, but it will barely help as you will probably still run with "low internal storage" errors at some point.
Also with stock ROM you are running, most apps wont be able to move onto SD anyways.
There are custom rom's based on Froyo 2.2 if you like it.
i guess i will look into flashing a ROM. i didnt really want to do that as i didnt want to have to reinstall everything etc... but i guess its the only way i will be satisifed lol.
Just make backup with Titanium Backup and then restore it.

Stock Lollipoop rooted with SuperSU - but it keeps resetting everything I do

see #5 for problem
Hi guys,
so after quite some time with custom Roms I decided to go stock again as somehow I don't need root at all. Well, that's not true. I miss AdAway.
As there is no possibility to root the stock rom, is there ANY AdBlocker that works on Lollipop? AdBlock Plus doesn't (yet).
Why did you say there is no possibility to root the stock rom ?
I'm running Stock ROM, rooted and AdAway running fine.
ckpv5 said:
Why did you say there is no possibility to root the stock rom ?
I'm running Stock ROM, rooted and AdAway running fine.
Click to expand...
Click to collapse
How do you root the stock rom? I couldn't find out how.
Can I root without losing my data?
fBx said:
How do you root the stock rom? I couldn't find out how.
Can I root without losing my data?
Click to expand...
Click to collapse
Flash twrp recovery and root through the recovery. It'll ask you when you reboot the system if you want to root it
Sent from my HTC One_M8 using XDA Free mobile app
Huh. Didn't know it was THAT straightforward and I've been flashing my phones for years.
Well. I flashed TWRP and SuperSU 2.46, succeeded. But Adaway and Adfree don't work correctly. They block the ads but only until you reboot, then it's reverted, kinda like with a tethered jailbreak on iPhones.
What am I doing wrong here? Also the block is not like on KitKat - there it was really blocked, really removed, here only the images of the ads are removed but you still see the space they were supposed to be.
I also used a system app removal tool that also didn't work although it shows success. It just removes the installed data like updates.
When I delete apps manually via ES Explorer, they just reappear at the next reboot.
Root Checker says root is fine but it isn't supposed to behave like that and undo my changes.
What's wrong? Do I need another kernel maybe? As I said I went back to stock completely and updatet through to L.
I believe I got whats causing the issue.
After deleting a system app and rebooting, I got a message saying that the phone was restored from an "unnormal behaviour". Does Lollipop bring some kind of system restore point that just automatically restores itself when "weird" things like host file alteration happens? If yes, how do I get rid of that?
This phone has always had system files protected since KitKat. You need a kernel mod to delete system apps.
Don't know why the ad blockers aren't working. Adaway is working fine for me on stock US Dev Edition rooted. You said you are using Adaway and AdFree? Are you actually using both at the same time? maybe they are interfering with each other?
No I meant it happens with both. Only use adaway now. They work but after a reboot the adblock is gone and I need to apply it again. In fact, AdAway says it's deactivated and AdFree says it's already up to date but ads show anyway and I need to install the fix again to get rid of them.
Can you maybe point me to a kernel mod? Would want to get rid of some bloatware.
Maybe I should try installing xposed and see if it's gone after a reboot.
fBx said:
Can you maybe point me to a kernel mod? Would want to get rid of some bloatware.
Click to expand...
Click to collapse
The thread is here: http://forum.xda-developers.com/showthread.php?t=2701816
But unfortunately, flar2 hasn't had the time to update for LP. A user posted the kernel module in Post #210, but a subsequent user said it doesn't work. Custom ROMs have write protection disabled, as does Dev Edition stock ROM.
fBx said:
No I meant it happens with both. Only use adaway now. They work but after a reboot the adblock is gone and I need to apply it again. In fact, AdAway says it's deactivated and AdFree says it's already up to date but ads show anyway and I need to install the fix again to get rid of them.
Click to expand...
Click to collapse
Odd, as mentioned, I've used AdAway for quite some time now, and don't have these issues.
Yes, very odd indeed. Well, if I don't get it sorted out somehow I might as well switch to Viper or some other close to stock custom Rom again, or make it Dev like you.
Things are getting worse, in 1 of 2 cases AdAway spits an error at me when trying to apply the fixes and the phone just reboots and undos everything. It's like some protection from rooting or changing anything although I am rooted. I don't understand it. I can't possibly be the only one having problems with root on Stock Lollipop
This is really annoying me. I think I'm better of just installing a custom rom and setting the phone up again, will cost me an hour but at least I'm done with the bugs.
Yup, decided to jump the gun, wipe and install ViperOne and now everything works as I wanted it to. AdAway stays active and working.
fBx said:
Yup, decided to jump the gun, wipe and install ViperOne and now everything works as I wanted it to. AdAway stays active and working.
Click to expand...
Click to collapse
Interesting. I wonder if Adaway is dependent on the system write protection being disabled. I wouldn't normally suspect that, and only thinking of it since you mentioned the system write protection issue as well.
On the other hand, its the only difference I can think of between my phone and yours that would matter. I am on stock rooted Dev Edition, which apparently does not have the system write protection enabled by default.
redpoint73 said:
Interesting. I wonder if Adaway is dependent on the system write protection being disabled. I wouldn't normally suspect that, and only thinking of it since you mentioned the system write protection issue as well.
On the other hand, its the only difference I can think of between my phone and yours that would matter. I am on stock rooted Dev Edition, which apparently does not have the system write protection enabled by default.
Click to expand...
Click to collapse
I also assume that's the reason. I've never been on a stock rom since I don't know when, but figured that actually I only wanted AdAway which would normally not require a custom rom per se... but as it didn't really work in the end (and also other root-requiring stuff), I went back to custom again. Well, it's not that it's that difficult to wipe the phone occasionally and set up a clean custom rom to get it back to perfect performance. Gonna go with it.

[SCRIPT][TWRP] Stock ROM Debloat for KIW-L24, L22, L21 (kiwi)

Disclaimer: I am not responsible for anything that happens as a result of flashing these files. You decided to flash this script.
This script removes a good chunk of the apps installed by Huawei and left over files like a bunch of NFC files.
The full list is as follows:
Air Sharing
Audio Auto Test
Magnifier
Huawei Swype
Huawei Backup
Huawei File manager
Huawei Sound Recorder
Huawei Theme manager
MMI Testing
System Debug
Huawei Floating Tasks
Huawei Floating Mms
Huawei Log collection service
Huawei MMI Test 5
Huawei Weather Clock
Huawei System Manager
Huawei Power Monitor
Period Check
Exchange 2
Email
Print Spooler
AOSP Live Wallpapers
MusicFX
TTS Files
Themes
Delete-able apps
All of the leftover nfc files
All google apps that can be downloaded from the playstore
Google Talkback
If you want to keep something you will need to edit the updater-script everything is labeled well.
Download:
https://goo.gl/q3t4tB​
Reserved
Mine
Dope!!
Nice.
Excellent!!
Worked great! thanks deadman
Maybe it should be mentioned that you need TWRP to flash the zip file. Thanks for the efforts, though. I'm sort of dead in the water until I am able to get my unlock code.
kimtyson said:
Maybe it should be mentioned that you need TWRP to flash the zip file. Thanks for the efforts, though. I'm sort of dead in the water until I am able to get my unlock code.
Click to expand...
Click to collapse
The title of the thread says [Script][TWRP] please read the entire thread before posting.
deadman96385 said:
The title of the thread says [Script][TWRP] please read the entire thread before posting.
Click to expand...
Click to collapse
LOL. Good point. Sorry about that. It just wasn't very obvious. I guess I got excited and jumped in.
So, does this script removes the app that tries to police the background apps from running? I think it was protected apps under settings? If so.. awesome. we wont have to manually add them after install.
Is it possible that if I was on one of the restricted battery profiles when I ran the debloat script that it could have stuck?
When I first got the phone I put it normal mode and found it pretty good. Even running the Google launcher. However, I have now unlocked the bootloader, installed twrp, rooted, installed MOAB ad blocker and debloated the phone feels slow and janky?!? I figured dumping all the bloat would help to speed it up some. Any suggestions or thoughts?
Thanks,
Justin
TNScrambler said:
Is it possible that if I was on one of the restricted battery profiles when I ran the debloat script that it could have stuck?
When I first got the phone I put it normal mode and found it pretty good. Even running the Google launcher. However, I have now unlocked the bootloader, installed twrp, rooted, installed MOAB ad blocker and debloated the phone feels slow and janky?!? I figured dumping all the bloat would help to speed it up some. Any suggestions or thoughts?
Thanks,
Justin
Click to expand...
Click to collapse
Try removing the unnecessary zram operations using the no-swap method at -
http://forum.xda-developers.com/hon...ipt-disable-enable-swap-honor-5x-kiw-t3308321
When you debloated you removed a number of unnecessary processes and now it's trying to use the ram you freed up by keeping more of your apps in memory - with a constant compression/decompression process that adds lag on the 5X (and every other phone I've checked out that uses it).
Huawei - like every other phone maker with a new launch - will also be releasing performance improvements soon. I've tested both of these mods with the update coming next and you'll still want to use them.
The normal power mode ought to be sticking. If the no-swap mod doesn't help then it's probably a good idea to regress back with a nandroid backup, ensure normal mode and then de-bloat and remove swap.
Edit - and be sure to protect all apps in settings so that you get standard Android task management and not EMUI task management.
Is there anyway to selectively re-install some of the apps that it removed? Im curious because I think it some functionality like HwThemeManager_Local removes the ability to change the lock wallpaper. and if any other issues come up that i want to undo. (Can i somehow restore the individual items from a nandroid backup?)
And thanks for providing a nice commented script!
eruji said:
Is there anyway to selectively re-install some of the apps that it removed? Im curious because I think it some functionality like HwThemeManager_Local removes the ability to change the lock wallpaper. and if any other issues come up that i want to undo. (Can i somehow restore the individual items from a nandroid backup?)
And thanks for providing a nice commented script!
Click to expand...
Click to collapse
I don't think that you can do it directly.
Right now, it's restore your nandroid backup, modify the script here and debloat again.
I've started into an Aroma installer for this so you can just select the bloat you don't want. That's on the back burner with no ETA yet.
Meanwhile - if you want to wait until later today or tonight, I'll pull the file you want and you can reinstall it by hand.
If you don't want to wait, copy your nandroid system.ext4 to your pc (if not compressed) and rename it to system.ext4.tar - I believe that 7zip will work to extract it to your pc and you can find the file and put it back from there. (And I'm going by memory here so you'll want to be prepared for hiccups.)
There may be a utility for this - I think there is, but can't remember it.
OK - just checked another option for you -
My system nandroid spans volumes.
Copy system.ext4.win000 to system.ext4. win000.tar on to a large sd card.
Check out "ZArchiver"
https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver
See if you can extract with that, and if you can, repeat for all volumes.
No promises but you'll probably find the attempts very informative.
Thanks for the info. messed around for awhile trying to get something. I found out Titanium Backup has an "extract from Nandroid backup" feature. you select the backup and it lists the apps that you can restore. The only one i found that looked like the theme manger was: com.huawei.android.thememanager i click on that and restore and it takes a long time (which makes me think TiBu is not working right) about 1-2 minutes (but it does eventually say success), reboot and still cant change the lock screen wallpaper. I also copied the system.ex4 files to windows and renamed them tar. extract them with 7zip and it kinda locks up after a bit. it extracts some extension less files. So maybe im missing some additional files, or Tibu is not really doing anything. i tried mounting system as RW just in case. No biggie, i dont think i want to spend much more time on this. Thanks for the info though. Ill take a look again later.
EarlyMon said:
Try removing the unnecessary zram operations using the no-swap method at -
http://forum.xda-developers.com/hon...ipt-disable-enable-swap-honor-5x-kiw-t3308321
When you debloated you removed a number of unnecessary processes and now it's trying to use the ram you freed up by keeping more of your apps in memory - with a constant compression/decompression process that adds lag on the 5X (and every other phone I've checked out that uses it).
Huawei - like every other phone maker with a new launch - will also be releasing performance improvements soon. I've tested both of these mods with the update coming next and you'll still want to use them.
The normal power mode ought to be sticking. If the no-swap mod doesn't help then it's probably a good idea to regress back with a nandroid backup, ensure normal mode and then de-bloat and remove swap.
Edit - and be sure to protect all apps in settings so that you get standard Android task management and not EMUI task management.
Click to expand...
Click to collapse
Ok, so I was going to try and just go back to the fully bloated stock, rooted rom.... however I messed up and somehow didn't do a backup first.... so I have nothing to restore. I tried to download and restore the "full Stock" backup from the other thread, however I'm getting errors for no partitions. I then downloaded the factory firmware from Heuawi, but when it tried to install it seemed to be working, but then booted into TWRP and won't go further. Anyone have suggestions on how I can return this thing to stock?
TNScrambler said:
Ok, so I was going to try and just go back to the fully bloated stock, rooted rom.... however I messed up and somehow didn't do a backup first.... so I have nothing to restore. I tried to download and restore the "full Stock" backup from the other thread, however I'm getting errors for no partitions. I then downloaded the factory firmware from Heuawi, but when it tried to install it seemed to be working, but then booted into TWRP and won't go further. Anyone have suggestions on how I can return this thing to stock?
Click to expand...
Click to collapse
Ok, I was able to get it all sorted out, I just had to calm down, think, and teach myself some new comand line skills hahaha
I downloaded the stock Firmware, however I wasn't able to install it since I had TWRP and it was blocking it.... so I found this tool, Huawei Update Extractor that can be found here: http://forum.xda-developers.com/showthread.php?t=2433454 Then used this Extractor to expand the firmware and extract the stock Recovery.img out of it. Then flashed that to the phone via fastboot. Now, I was able to run the stock firmware update via the factory EMUI update app. Once that was done I was able too boot the phone back up and I was suprised to find that it didn't wipe the phone, I guess it ran it as a true "upgrade" instead of a nuke and pave.... BONUS!
Anyhow, then I was able to flash the new TWRP recovery back in place and now I'm currently creating a backup.... which if I had taken the time to do in the first place none of this would have happend. Oh, well... who needs more than 3 hours of sleep..... its not like I work full time and have 5 kids under 5 :silly:
Hope this helps someone who gets flash happy and forgets to make a back up like I did!
Justin
Does it work with KIW-L21?
LordKelsier said:
Does it work with KIW-L21?
Click to expand...
Click to collapse
It might. Pre-installed apps may vary by region, the Aroma installer (under construction) is intended to be intelligent about that.
Either way, make a nandroid backup before trying to debloat and you won't be stuck if anything goes wrong.
Worked for the most part.
There were some apps left (mostlygames that came preinstalled as well as Shazam and Instagramm)

HTC One M8 system apps

Hi, actually I did try to find a thread about this matter, but I didn't found any answer that I'm looking for. so, first of all I want to apologise if this is a repeating question.
Okey, my htc one m8 is rooted, unlocked, busybox install properly, marshmallow and stuck at s-on cause of the cost of sunshine that i'm not effort to buy yet.
I try to install apps and make it as system apps using latest lucky patcher. it was successful and need to reboot. but after that, the apps is missing. I did try using twrp as zip too, copy and paste using root browser, nothing seems to work.
I did try to find out what just happen, and it seem that each time I successfully install apps into the /system/app, it will deleted itself on each reboot.
Is my phone protected? but before this, I accidently full wipe my phone and found out about the nandroid, so i can make it back to life. *yeah*
but if i can do the nandroid, why I can't install apps as system apps and make it stay? can anyone help me.
sorry for my bad english, my native language is javanese. thanks.
p/s- i did try this on my samsung s3 cm11, and it work as easy as pie.
System is write protected, and you need to apply wp_mod kernel mod to remove the protection.
Not sure what Android version you are on, but the following threads have the wp_mod for Marshmallow Sense and GPE:
http://forum.xda-developers.com/htc-one-m8/development/rom-stock-unlocked-developer-sense-7-t3262894
http://forum.xda-developers.com/htc-one-m8/general/root-root-marshmallow-gpe-supersu-t3242210

Can't move to system

Hi all, apologies for an other thread.
There are so many threads on XDA/ reddit that are sort of related to this, but I can't seem to get the help I need or keep up with them all, so once again apologies, but I have really tried to find the answers myself before asking.
Basically, I did a factory reset/ wipe on my phone, did a clean install of 6.0.1 from the factory images. Side loaded 7 from the OTA update and nougat is great!
I installed the latest TWRP (after a few go's, managed to get it to stick), then installed the latest, N supported SU.
SU is installed and I can run as rooted. However, this is the part I don't understand (very new to all this). While I apparently have root, I can't get an app to move applications over to the system directory like I used to be able to do, doing the same setup.
So, is this something to do with system/ systemless root, or encryption or N, or have I stuffed something?
From all the reading I come up with encryption, then others said it doesn't matter if encrypted... So maybe it's just N and root doesn't support moving to the system...
Anyway, I'm totally lost now. Bottom line is, I can use apps that require root, but no apps that move applications to system can access system, even after granting root access to them.
Cheers.
reeza said:
Hi all, apologies for an other thread.
There are so many threads on XDA/ reddit that are sort of related to this, but I can't seem to get the help I need or keep up with them all, so once again apologies, but I have really tried to find the answers myself before asking.
Basically, I did a factory reset/ wipe on my phone, did a clean install of 6.0.1 from the factory images. Side loaded 7 from the OTA update and nougat is great!
I installed the latest TWRP (after a few go's, managed to get it to stick), then installed the latest, N supported SU.
SU is installed and I can run as rooted. However, this is the part I don't understand (very new to all this). While I apparently have root, I can't get an app to move applications over to the system directory like I used to be able to do, doing the same setup.
So, is this something to do with system/ systemless root, or encryption or N, or have I stuffed something?
From all the reading I come up with encryption, then others said it doesn't matter if encrypted... So maybe it's just N and root doesn't support moving to the system...
Anyway, I'm totally lost now. Bottom line is, I can use apps that require root, but no apps that move applications to system can access system, even after granting root access to them.
Cheers.
Click to expand...
Click to collapse
Something is messed up. TWRP shouldn't take a few tries to stick. The factory images are out now. Flash them and start over.
Sent from my Nexus 5X using Tapatalk

Categories

Resources