HTC One M8 system apps - One (M8) Q&A, Help & Troubleshooting

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

Related

[Q] Unroot a custom rom?

Hey All,
For Work I need to install the app Good for Enterprise so I can get my calendar and work email pushed to my phone. Unfortunately it is company policy that it be unrooted. Presumeably a security issue. Is it possible to unroot a custom rom? i'd rather not go back to stock for the simple reason of app storage. I love A2SD+ and being able to have as many apps as I want installed. Also nandroid backups, that would go away without root too wouldn;t it? Can I just remove the SU.apk? Will that suffice to be "unrooted"? Is that even possible?
Tweak_four17 said:
Hey All,
For Work I need to install the app Good for Enterprise so I can get my calendar and work email pushed to my phone. Unfortunately it is company policy that it be unrooted. Presumeably a security issue. Is it possible to unroot a custom rom? i'd rather not go back to stock for the simple reason of app storage. I love A2SD+ and being able to have as many apps as I want installed. Also nandroid backups, that would go away without root too wouldn;t it? Can I just remove the SU.apk? Will that suffice to be "unrooted"? Is that even possible?
Click to expand...
Click to collapse
If you want to unroot, you'll need to go back to stock.
The reason they want unrooted phones, is not so much a security issue, as it is they just don't understand or don't wish to deal with possible problems.
If you backup your apps and data you can run the official RUU, and it will put the original unrooted system to your phone. I don't know other method.
Here are the official ROMs: http://shipped-roms.com/index.php?category=android&model=Bravo
Removing the SU binaries will unroot you, I don't see the need as to why you have to be unrooted though.
apparently you can't use the new movie-rental feature of google's market, when you are rooted.
Is it possible to stick to a custom rom but unroot it, so that google recognises your phone as a not-rooted device and allows you to watch movies from market?
I don't need root-permissions every day - in fact I only need it for Titanium Backup, so deleting su-binaries and/or superuser.apk would be ok - but it must be possible to restore them (via recovery/adb) to run TB.
This probably isn't what google wants you to do since you can download the movie to watch later and if you have a working recovery you probably could get you hands on the downloaded files, but still - would be nice, if this was possible.
Easiest way to unroot and go back to stock is to stick a PB99IMG.zip on your sdcard, and turn your phone on with volume held down
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
madcr0w said:
Easiest way to unroot and go back to stock is to stick a PB99IMG.zip on your sdcard, and turn your phone on with volume held down
Click to expand...
Click to collapse
Congratulations for not reading the post. Here is your cookie.
Sent from my HTC Desire using XDA Premium App
Demonic idea
kuroneko007 said:
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
Click to expand...
Click to collapse
I like your idea mate! Hahahahahaha....
Edit: Bad boy! Bad bad boy! hahahahahahahaha....
kuroneko007 said:
How about this:
1) Go back to stock ROM via RUU
2) Install Good For Enterprise (I guess your IT department installs this, so they can check you are not rooted?)
3) ROOT the stock ROM using UnRevoked
4) Take a Titanium Backup of Good For Enterprise
5) Re-install your custom ROM
6) Restore the Titanium Backup of GfE
-> You have a rooted, custom ROM with GfE installed. And your company will never know!
Click to expand...
Click to collapse
Has anyone ever tested this?
Or why don't you just delete superuser via adb or android commander
good for enterprise checks for root access/ su every time it starts. It's not an issue of not being able to install the app. It's available for free on the market. The problem is when entering all your info and starting it up, it checks for SU.
I am guessing the best way around this is to install custom rom, set everything up that you need that requires SU/root. Then delete all the su/root related files. Then install Good.
Unfortunately I don't have a list of all the files that have to be deleted for this to work.
There have been reports that other users who have tried this method got it to work but the App stopped syncing after a few days.
List:
/system/app/superuser
/system/bin/su
Sent from my HTC Desire using Tapatalk
I tried this method, renamed the 2 files. It has been working for last 24 hours. I'll update again after a week if it still works..
Edit:
yep this works perfectly.
vvelumm said:
I tried this method, renamed the 2 files. It has been working for last 24 hours. I'll update again after a week if it still works..
Edit:
yep this works perfectly.
Click to expand...
Click to collapse
You renamed SU.apk to SU.apk.bak most likely...
What did you rename the libs file to?
vvelumm said:
good for enterprise checks for root access/ su every time it starts. It's not an issue of not being able to install the app. It's available for free on the market. The problem is when entering all your info and starting it up, it checks for SU.
I am guessing the best way around this is to install custom rom, set everything up that you need that requires SU/root. Then delete all the su/root related files. Then install Good.
Unfortunately I don't have a list of all the files that have to be deleted for this to work.
There have been reports that other users who have tried this method got it to work but the App stopped syncing after a few days.
Click to expand...
Click to collapse
I have rooted my HTC Salsa to get apps2sd which is great, but now my mobile banking app says it will not work on a rooted device, similar to your issue.
I am new to android modding, what commands do i need to enter where to rename the files you mention ?
Thanks in advance.
Mike
wont work good enterprises would more than likely check every time like sky go. you would have to removed a2sd command line i think and all su binarys ( and su.akp ( difficult as its normally a system app and once one of the su has been removed you dont have premition to remove the other/
and to the donunt who said ( the dont understand root) wanna cookie 0. basicly good enterprise is a secure web client for companys to send information to mobiles, i have it on my work (iphone) <<<< scummmy.. anyways as root gives to the option to do what ever you or anyone else wants with the phone in theory you could use that system to breack the law or for instance chaindd could possible put an update in to su that will take data from the company> for google videos ) well with root you can screen record ( basicly ) excuse the spelling im trying to find out how to un root and keep all of my system ui mods and themes and my rom ( proving difficult)
hey I know that this is based on a old post but I have a question did you ever find out how to unroot a custom rom that is pre-rooted?

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.

modded app sig conflict

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.

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

On 6.x, want to upgrade to 7.1.2 (update: can't restore from backup and need help)

So i'm really interested in upgrading to 7.1.2 so i can install new camera app so i can use ZSL
i've been holding off on upgrading past MM because i need my customization and control from xposed
there is an unofficial xposed, so that will help ease me over till the official gets released
my question is, what happens if i keep xposed and do the upgrade via flashfire
do i need to uninstall all my xposed modules then xposed before i upgrade?
my phone is rooted already, so i know that when i upgrade via flashfire, i will still be rooted
at the same time i want to try out magisk
if i do this, am i suppose to unroot, upgrade, then install magisk? or does it not matter
also, i will be obviously making a backup of my phone, so i should be completely safe to play around with everything right?
any advice welcomed
update
well, i messed up
everything was working, but xposed didn't play nicely, so i attempted to restore my twrp backup and now it's failing
i used adb backup twrp command and saved it directly to my pc since my 16gb didn't have enough space
i checked off everything except for the last check box efs, this created a 10gb .ab file
when i tried to restore it, it restarts the phone during/after system and boots into the google blank screen with unlock icon
the closest thing i've googled so far is this: https://github.com/omnirom/android_bootable_recovery/issues/133 which says it might have some issue because of the compression...
(note that i did not password protect the backup)
i'm wondering if this is the problem, can i uncompress the .ab file from my computer and manually install each of the components?
very tired and exhausted from this, hopefully someone has an idea of what i should do

Categories

Resources