Unable to create folder /data/media/0/TWRP/BACKUPS - Huawei Mate 9 Questions & Answers

I've read a few posts that seem similar but nothing too recent. I'm trying to backup what I have now so I can flash another ROM but it keeps failing. I even used es file manager with root and created the folder needed and gave it root permissions but it still fails in TWRP to backup.

Switch on „mount namespace separation“ in super su

jeffrimerman said:
I've read a few posts that seem similar but nothing too recent. I'm trying to backup what I have now so I can flash another ROM but it keeps failing. I even used es file manager with root and created the folder needed and gave it root permissions but it still fails in TWRP to backup.
Click to expand...
Click to collapse
Are you decrypted? Else you won't be able to back up.

alexS123 said:
Switch on „mount namespace separation“ in super su
Click to expand...
Click to collapse
Thanks guys, I was wondering about if I'm decrypted or not. How do I check? It's probably a dumb question =/. I ended up installing another ROM and it uses Magisk baked into it so I don't see an option for mount namespace separation. Maybe I can attempt to backup now just to see if it works with this ROM or maybe it's not decrypted still. For some odd reason it refused to let me install Facebook, or Facebook Messenger from the play store and one of my apps won't start. It just tries to start then crashes. I downloaded a couple "updates" from a site that says they are stock ROMs. "update_full_hw_usa.zip" is 544 mb and "update" is 1.72gb. I'm thinking of going back to stock but that would probably lock the bootloader and erase twrp right?
Edit: I tried to back up again but it does the same thing. I did notice it also says "failed to unmount /DATA". It might have said that before.
Edit: I see under security the encrypt phone section. At the bottom the "Encrypt Phone" button is faded out and above it I see "Charge your battery and try again" and "Plug in your charger and try again" so I'm not too sure but guessing that means I'm not encrypted but it is faded out so maybe it is?

jeffrimerman said:
Thanks guys, I was wondering about if I'm decrypted or not. How do I check? It's probably a dumb question =/. I ended up installing another ROM and it uses Magisk baked into it so I don't see an option for mount namespace separation. Maybe I can attempt to backup now just to see if it works with this ROM or maybe it's not decrypted still. For some odd reason it refused to let me install Facebook, or Facebook Messenger from the play store and one of my apps won't start. It just tries to start then crashes. I downloaded a couple "updates" from a site that says they are stock ROMs. "update_full_hw_usa.zip" is 544 mb and "update" is 1.72gb. I'm thinking of going back to stock but that would probably lock the bootloader and erase twrp right?
Edit: I tried to back up again but it does the same thing. I did notice it also says "failed to unmount /DATA". It might have said that before.
Edit: I see under security the encrypt phone section. At the bottom the "Encrypt Phone" button is faded out and above it I see "Charge your battery and try again" and "Plug in your charger and try again" so I'm not too sure but guessing that means I'm not encrypted but it is faded out so maybe it is?
Click to expand...
Click to collapse
Go to twrp, advanced, file manager. Browse to /data/app and see if you see normal folders or randomly named folders. If the latter you are encrypted.
Same if you tap install then try to install from internal sd.

ante0 said:
Go to twrp, advanced, file manager. Browse to /data/app and see if you see normal folders or randomly named folders. If the latter you are encrypted.
Same if you tap install then try to install from internal sd.
Click to expand...
Click to collapse
Thank you. I should have checked that before I put another ROM. I did see randomly named folders when I connect it to my laptop but I can't remember when but I bet it was in that folder. I ended up within TWRP formatting data I think but it did have my type "yes" and said it would eliminate encryption, then I installed the new ROM. I should check and see if the new ROM has encryption. So far data on the root drive isn't encrypted and data in the android folder isnt' encrypted when I check with my laptop.
Edit: It's backing up so must not be encrypted. I check using the file manager in twrp and can see all the files in data. Thanks for you help. I guess if I had sensitive info on my phone then it would be something to do but I don't have a need to encrypt.

jeffrimerman said:
Thank you. I should have checked that before I put another ROM. I did see randomly named folders when I connect it to my laptop but I can't remember when but I bet it was in that folder. I ended up within TWRP formatting data I think but it did have my type "yes" and said it would eliminate encryption, then I installed the new ROM. I should check and see if the new ROM has encryption. So far data on the root drive isn't encrypted and data in the android folder isnt' encrypted when I check with my laptop.
Edit: It's backing up so must not be encrypted. I check using the file manager in twrp and can see all the files in data. Thanks for you help. I guess if I had sensitive info on my phone then it would be something to do but I don't have a need to encrypt.
Click to expand...
Click to collapse
If you did format data again now, flash the data files supplied by your rom. (Public and Hw data) else you will have problems with themes and stuff.
If you didn't format data now, disregard this message

ante0 said:
Are you decrypted? Else you won't be able to back up.
Click to expand...
Click to collapse
You can take a backup using this thread
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482

mansi0312 said:
You can take a backup using this thread
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
Click to expand...
Click to collapse
That's for OPO6.

Related

[Q] Fuhu Nabi 2 - Root and Removing Monarch

I have managed to follow the instruction to root and install the google play store from this http://forum.xda-developers.com/showthread.php?t=1905674 but it also mentions the ability to remove the Monarch kids interface and make it a regular ICS tablet. I am unable to find the system/vendor files to remove them. I have root permissions since it allowed me to run Titanium Backup.
I used ES File Explorer and wasn't able to find the necessary folders to remove Monarch. Any advice?
theonyxphoenix said:
I have managed to follow the instruction to root and install the google play store from this http://forum.xda-developers.com/showthread.php?t=1905674 but it also mentions the ability to remove the Monarch kids interface and make it a regular ICS tablet. I am unable to find the system/vendor files to remove them. I have root permissions since it allowed me to run Titanium Backup.
I used ES File Explorer and wasn't able to find the necessary folders to remove Monarch. Any advice?
Click to expand...
Click to collapse
Go into the settings of ES file explorer and check everything under root settings. The only folder you want to get rid of is the Apps in the vendor folder. Anything else can harm the system. I just used the cut feature on the apps folder and pasted it to my sd card to make sure it worked first. Good Luck!
That worked great, thanks. I had to make sure to change it to always boot in parent mode or else it tried to boot the monarch interface on a cold start and, not having the necessary files any longer, just ended up with a blank screen. I had to restore a unit to factory and then switch to boot in parent mode, then remove the apps folder. Works like a charm now.
theonyxphoenix said:
. then switch to boot in parent mode, .
Click to expand...
Click to collapse
how ?
theonyxphoenix said:
That worked great, thanks. I had to make sure to change it to always boot in parent mode or else it tried to boot the monarch interface on a cold start and, not having the necessary files any longer, just ended up with a blank screen. I had to restore a unit to factory and then switch to boot in parent mode, then remove the apps folder. Works like a charm now.
Click to expand...
Click to collapse
Guess I missed something and should've read better, how did you set it to boot only into parent mode.
Sent from my SAMSUNG-SGH-I957 using xda premium
theonyxphoenix said:
That worked great, thanks. I had to make sure to change it to always boot in parent mode or else it tried to boot the monarch interface on a cold start and, not having the necessary files any longer, just ended up with a blank screen. I had to restore a unit to factory and then switch to boot in parent mode, then remove the apps folder. Works like a charm now.
Click to expand...
Click to collapse
How do you set it to boot into parent mode?
byohaserd said:
How do you set it to boot into parent mode?
Click to expand...
Click to collapse
Did you try going to settings -Security - put a TIC in " Set Parent Mode as default mode " ?
---------- Post added at 07:15 AM ---------- Previous post was at 07:07 AM ----------
ALSO
I found no need to delete the vender/apps folder as it can be used to help get rid of "Android is upgrading ' message after each boot up that seem to come when you install apps from play store
---------- Post added at 07:28 AM ---------- Previous post was at 07:15 AM ----------
theonyxphoenix said:
I have managed to follow the instruction to root and install the google play store from this http://forum.xda-developers.com/showthread.php?t=1905674 but it also mentions the ability to remove the Monarch kids interface and make it a regular ICS tablet. I am unable to find the system/vendor files to remove them. I have root permissions since it allowed me to run Titanium Backup.
I used ES File Explorer and wasn't able to find the necessary folders to remove Monarch. Any advice?
Click to expand...
Click to collapse
I used TWRP to do anything - rooted or unrooted you can make change as you wish .
when you are in TWRP mount system then use advanced and file manager
hope this helps
I did not see that until you mentioned it...thanks
I was able to get it to work by going into a startup manager and freezing kidsmode2 and nabimode. I erased the apps folder though cause I wanted the space freed up.
Sent from my NABI2-NV7A using xda app-developers app
I deleted some files I shouldn't have. My nabi 2 keeps rebooting. It goes from the start up screen to "Android is upgrading..." Then back to the start up screen, then again. When I try to go to "Recovery Kernel" I get the Android laying down with the Red triangle over his chest..any suggestions?
Rest to Factory setting
mikewhit001 said:
I deleted some files I shouldn't have. My nabi 2 keeps rebooting. It goes from the start up screen to "Android is upgrading..." Then back to the start up screen, then again. When I try to go to "Recovery Kernel" I get the Android laying down with the Red triangle over his chest..any suggestions?
Click to expand...
Click to collapse
1-switch off.
2-press power button & vol + together.
3-press vol - to go to recovery kernel and press vol + to select it.
3-android model should come lying down with red triangle!.
4-press vol - & vol + together.
5-select the system reset and press power button.
6-after that switch off and on with all new factory settings.
Best Regards.
Eric Karz said:
ALSO
I found no need to delete the vender/apps folder as it can be used to help get rid of "Android is upgrading ' message after each boot up that seem to come when you install apps from play store
Click to expand...
Click to collapse
I created a new gapps package that does away with the upgrading message on every boot.
http://forum.xda-developers.com/showpost.php?p=35887804&postcount=1
Nabi 2 Charge/Reboot problem
t499user said:
I created a new gapps package that does away with the upgrading message on every boot.
http://forum.xda-developers.com/showpost.php?p=35887804&postcount=1
Click to expand...
Click to collapse
Completed the OTA to 1.9.37, root, and gapps install - had the upgrading message on every boot but fixed that with the new gapps package (thanks a lot to all the great developers on this forum!)
However I still have a problem since the root process that I haven't seen addressed so far after searching the forums.
After my putting the Nabi 2 to sleep and plugging in the charger, it will fully charge and turn the battery light green as it should, shortly after that the device then powers off and requires a reboot/cold start vs. just a quick click of the power button to return from sleep mode. It does reboot fine and has a full charge - all other operations are normal.
Any suggestions on how to eliminate this power down/reboot after charging?
Thanks!
I flashed your package but the android upgrading still shows up for me,only for a few secs and it seems as if no programs get upgraded...what are your thoughts on this? How can I find the stray files that are causeing this?
Sent from my NABI2-NV7A using xda app-developers app
stuck in TWRP
My tablet only boots in TWRP v2.2.2.1
I've flashed at least 5 different images in fastboot using at least 5 different methods. Every time I think I make any progress, I reboot my nabi2 and it reboots directly to TWRP. Any advice would be greatly appreciated.
mikewhit001 said:
My tablet only boots in TWRP v2.2.2.1
I've flashed at least 5 different images in fastboot using at least 5 different methods. Every time I think I make any progress, I reboot my nabi2 and it reboots directly to TWRP. Any advice would be greatly appreciated.
Click to expand...
Click to collapse
Are you trying to flash a backup of 1.9.37 or just a program thru install? I know that if you wipe system and then flash another backup, if the backup is no good, twrp will not boot system but go right back to twrp. That is a safety setting, cause if it booted with no system installed you would most likely have a bricked device. That happened in the early days of Twrp, so they added the safety setting. If you flashed a backup, how long did it take, a good backup or image will take 10+ minutes, a bad 1 will say done in 1-2 minutes or less.
Might help if we had a little information about what you where doing.
ALD3 said:
Are you trying to flash a backup of 1.9.37 or just a program thru install? I know that if you wipe system and then flash another backup, if the backup is no good, twrp will not boot system but go right back to twrp. That is a safety setting, cause if it booted with no system installed you would most likely have a bricked device. That happened in the early days of Twrp, so they added the safety setting. If you flashed a backup, how long did it take, a good backup or image will take 10+ minutes, a bad 1 will say done in 1-2 minutes or less.
Might help if we had a little information about what you where doing.
Click to expand...
Click to collapse
I tried flashing multiple backups and they all go to twrp. The backups only took a minute or 2.
mikewhit001 said:
I tried flashing multiple backups and they all go to twrp. The backups only took a minute or 2.
Click to expand...
Click to collapse
Ok your backups are all bad, that's why it finishes so quick and won't boot out of TWRP recovery. You will have to download a image file and get it into the TWRP folder on your sdcard. You will have to download it on your computer unrar it and name the folder something like unrooted 1.9.37 and transfer it to your micro sdcard. Then put micro sdcard back in tablet. In TWRP recovery, you will have to go into Advanced>File Manager. In file Manager, you will have to click on external sdcard and copy the file from there back to sdcard>TWRP>backups>serial#>unrooted 1.9.37 it doesn't matter what the folder name is that you put in the serial# folder but the all the others are as named and your new folder HAS TO BE IN THE SERIAL# FOLDER, or Restore will not see it. When that is done go back to main menu and Restore, you should see your new folder, choose it and swipe to restore. This should take 10+ minutes. You should be able to reboot to system then.
Unrooted1.9.37 file to download
https://www.box.com/shared/ew0jcmch2ohvr43ubjqe
This thread can help you a lot quicker.
http://forum.xda-developers.com/showthread.php?t=1905674
If you have problems, PM me and I will send you my email so we can work quicker and won't trash up this thread.
I'm having the same issue since the gapps update, where the Nabi shuts itself down while charging. Sometimes it can be a real pain to reboot after it does this.
Funhog51 said:
Completed the OTA to 1.9.37, root, and gapps install - had the upgrading message on every boot but fixed that with the new gapps package (thanks a lot to all the great developers on this forum!)
However I still have a problem since the root process that I haven't seen addressed so far after searching the forums.
After my putting the Nabi 2 to sleep and plugging in the charger, it will fully charge and turn the battery light green as it should, shortly after that the device then powers off and requires a reboot/cold start vs. just a quick click of the power button to return from sleep mode. It does reboot fine and has a full charge - all other operations are normal.
Any suggestions on how to eliminate this power down/reboot after charging?
Thanks!
Click to expand...
Click to collapse
i cant delete /vendor/apps always tells me (app can not be deleted) thats in es file explorer the others say its deleted but its still there???
streetglide13 said:
i cant delete /vendor/apps always tells me (app can not be deleted) thats in es file explorer the others say its deleted but its still there???
Click to expand...
Click to collapse
In es go to the menu where you turn on root explorer and tap the words 'root explorer' then a menu will pop up, tap mount r/w and then set /system to rw. You then should be able to delete the files. After you're done deleting set system back to read-only.

[Q] Need help restoring a backup taken from Helium

I've taken a backup of all the app data with Helium (checked "Backup app data only") via my laptop's browser (connecting to the local IP address of the server) and now, after unlocking bootloader, flashing TWRP, and gaining root I need to restore it.
(I've posted this at the Help thread, but since it seems to be more than a simple question I'm migrating it here.)
To sum what I've done so far:
How I've taken the backup:
Opened Helium Server via my laptop's browser and selected all the apps, checked the "Backup App Data Only" and then clicked backup, it asked me where to save the zip file, clicked ok and now I have a backup of about 80MBs.
Now I want to restore the backup, what I've done:
Installed Helium
Connected it successfuly with my laptop running run.sh script
Opened helium and selected settings and then the 1st option (sth about PC), so I got the local address of the Helium server
Accessed the server via my laptop's browser and clicked browse to select my backup file
It said uploading and after that the list of all the apps showed up, clicked the Restore button
At the phone, the Backup/Restore dialog opened, a quick message showed up in this dialog about the 1st app (9gag) and then the dialog closed (not force close) with a toast notification saying "Restore starting..."
After that I got a message at my laptop's browser that "Restore complete" although no such thing happened
So, what can I do now?
Is there any way to manually restore the apps via adb restore now that I don't have an ab file? Actually I don't care using GUI, I just want to proceed restoring the backup, I've seen these threads here and here but I have a zip file, not an ab.
Does helium backup uses adb backup and then this tool to convert the ab file to zip?
Really frustrated that this has taken up so much time..
I have never used or even heard of Helium before today. But I looked it up and read the description. One of the points said "You may need to set your USB Connection Mode to "PTP". (Nexus 7, Nexus 10, etc)". Did you do that?
And maybe you should try Titanium Backup if you havent before. It works Flawlessly.
jsgraphicart said:
I have never used or even heard of Helium before today. But I looked it up and read the description. One of the points said "You may need to set your USB Connection Mode to "PTP". (Nexus 7, Nexus 10, etc)". Did you do that?
And maybe you should try Titanium Backup if you havent before. It works Flawlessly.
Click to expand...
Click to collapse
I've asked at the help thread for a backup application without having root (because Titanium needs root) and they recommended this one.
Yes, it's connected via PTP
I've also tried testing with the app a little bit, here's what I got/done:
Installed an app
Taken a backup of this single app checking the "Backup app data only"
Restored the backup via the browser client (at my laptop) and it said "Restore starting...", but also "Restore finished", but there wasn't any prompt to install the application from Google Play
I've also sent an email to the developer..
pspuser007 said:
I've asked at the help thread for a backup application without having root (because Titanium needs root) and they recommended this one.
Yes, it's connected via PTP
I've also tried testing with the app a little bit, here's what I got/done:
Installed an app
Taken a backup of this single app checking the "Backup app data only"
Restored the backup via the browser client (at my laptop) and it said "Restore starting...", but also "Restore finished", but there wasn't any prompt to install the application from Google Play
I've also sent an email to the developer..
Click to expand...
Click to collapse
Ive looked into the app a little bit more and watched the video. I'm starting to get interested in the app. lol. You said you backed up app data only. Maybe you need to download the app first.
jsgraphicart said:
Ive looked into the app a little bit more and watched the video. I'm starting to get interested in the app. lol. You said you backed up app data only. Maybe you need to download the app first.
Click to expand...
Click to collapse
Well, it says at the option "Backup app data only" that "You will be prompted to download the app from Google Play before restoring.", so something surely goes wrong. Maybe I've hit a bug, I don't know. I hope I get a prompt reply from the devs team.
Also, I've tried doing that with viber and it didn't work. So I've browsed through /sdcard/Android/data/ and here's the result of
Code:
ls -l
.
Note that the only non standard package is
Code:
com.ninegag.android.app.tmp
, which is probably the one that flashes when I click restore just before the app goes off focus and posting the toast notification "Starting Restore...".
pspuser007 said:
Well, it says at the option "Backup app data only" that "You will be prompted to download the app from Google Play before restoring.", so something surely goes wrong. Maybe I've hit a bug, I don't know. I hope I get a prompt reply from the devs team.
Also, I've tried doing that with viber and it didn't work. So I've browsed through /sdcard/Android/data/ and here's the result of
Code:
ls -l
.
Note that the only non standard package is
Code:
com.ninegag.android.app.tmp
, which is probably the one that flashes when I click restore just before the app goes off focus and posting the toast notification "Starting Restore...".
Click to expand...
Click to collapse
Well just to see, download an app first and then restore the data and see if it works. If it does, then its just not prompting you to download the app.
jsgraphicart said:
Well just to see, download an app first and then restore the data and see if it works. If it does, then its just not prompting you to download the app.
Click to expand...
Click to collapse
Nothing happened :/
pspuser007 said:
Nothing happened :/
Click to expand...
Click to collapse
With my lack of experience with the app, I dont know what else to say. I guess just wait and hope you hear back from the dev. Sorry
Total shot in the dark, but I saw some mention earlier that Helium (maybe adb-backup itself?) has issues running on a PIN-locked device. Maybe try disabling your phone security before doing the restore? It can't hurt to check, at least.
I had an issue on another device, where an adb backup with a password showed similar problems on restore -- "starting restore" then immediately "restore complete" or whatever, without actually writing any files. Making a new backup without a password "fixed" this -- the restore actually worked. Not sure if that helps you at all, since your old data is already gone

TWRP folder missing

Ive held off, but before I update to 5.1, I figured I'd ask before running into problems
Im able to navigate to the TWRP folder when in recovery and restore backups, though the folder is nowhere to be found when looking with a file manager.
I've used Astro, Amaze and Cabinet file managers and the TWRP folder is missing. I did notice a file named TWRP, but it does not open and is not a folder.
How can I get the folder back to manage my backups?
randysoto5 said:
Ive held off, but before I update to 5.1, I figured I'd ask before running into problems
Im able to navigate to the TWRP folder when in recovery and restore backups, though the folder is nowhere to be found when looking with a file manager.
I've used Astro, Amaze and Cabinet file managers and the TWRP folder is missing. I did notice a file named TWRP, but it does not open and is not a folder.
How can I get the folder back to manage my backups?
Click to expand...
Click to collapse
TWRP folder is in /data/media/0. It has been answered for thousand times.
zagorteney said:
TWRP folder is in /data/media/0. It has been answered for thousand times.
Click to expand...
Click to collapse
No it is not. I just recently had this problem, say a month. Ive dealt with what youre talking about when switching from kitkat to lp, but that was loong ago and has been fixed. This is a random thing. All my folders and data are available except TWRP, so try again
randysoto5 said:
No it is not. I just recently had this problem, say a month. Ive dealt with what youre talking about when switching from kitkat to lp, but that was loong ago and has been fixed. This is a random thing. All my folders and data are available except TWRP, so try again
Click to expand...
Click to collapse
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).
zagorteney said:
TWRP folder is in /data/media/0. It has been answered for thousand times.
Click to expand...
Click to collapse
happiness4u said:
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).
Click to expand...
Click to collapse
Duuuude, it worked. Thanks a million
randysoto5 said:
Duuuude, it worked. Thanks a million
Click to expand...
Click to collapse
You're welcome!
happiness4u said:
You're welcome!
Click to expand...
Click to collapse
Will this also work on 5.1 with 2.8.5.2 version? I can see TWRP folder in /data/media/0, but not on my PC.
zagorteney said:
Will this also work on 5.1 with 2.8.5.2 version? I can see TWRP folder in /data/media/0, but not on my PC.
Click to expand...
Click to collapse
My TWRP folder is visible on my computer, even its contents inside. You could try, I'm still on TWRP 2.8.5.0. it should work with 2.8.5.2 as well.
Edit: Youl probably know when something's wrong with your internal storage partitions if you are having a folder named "0", it shouldn't be there in the 1st place.
happiness4u said:
My TWRP folder is visible on my computer, even its contents inside. You could try, I'm still on TWRP 2.8.5.0. it should work with 2.8.5.2 as well.
Edit: Youl probably know when something's wrong with your internal storage partitions if you are having a folder named "0", it shouldn't be there in the 1st place.
Click to expand...
Click to collapse
Is it possible, that TiB has created it and that is somehow connected with folder storage, visible on PC, but not on phone? And if you delete this folder on PC all content of storage will gone.
zagorteney said:
Is it possible, that TiB has created it and that is somehow connected with folder storage, visible on PC, but not on phone? And if you delete this folder on PC all content of storage will gone.
Click to expand...
Click to collapse
Yep, if you delete that "0" folder, it will wipe out the entire internal storage. I always experience this issue on old TWRP recoveries, when transitioning to lollipop or by making a backup. As for my observation with Titanium Backup, it creates a folder named "storage", I delete that folder before and it wiped my internal storage as well. That thing, I could not sorted out atm.
happiness4u said:
Yep, if you delete that "0" folder, it will wipe out the entire internal storage. I always experience this issue on old TWRP recoveries, when transitioning to lollipop or by making a backup. As for my observation with Titanium Backup, it creates a folder named "storage", I delete that folder before and it wiped my internal storage as well. That thing, I could not sorted out atm.
Click to expand...
Click to collapse
Me neither.
Offtopic: Don't you use CM12 anymore?
zagorteney said:
Me neither.
Offtopic: Don't you use CM12 anymore?
Click to expand...
Click to collapse
As of this moment, I'm kind of enjoying the stock 5.1. Google has made a pretty decent job with this update. I will surely be back to CM12 once they release the 5.1 builds. Plus OmniRom 5.1 is out too, I might also try that before really going back to CM. I really like CM because of their CAF roms.
happiness4u said:
As of this moment, I'm kind of enjoying the stock 5.1. Google has made a pretty decent job with this update. I will surely be back to CM12 once they release the 5.1 builds. Plus OmniRom 5.1 is out too, I might also try that before really going back to CM. I really like CM because of their CAF roms.
Click to expand...
Click to collapse
Yeah. Rom is fast as hell. Its just funny with that scrolling bug and pissed me of - I still can't figured it out how to integrate updated system apps into rom.
zagorteney said:
Yeah. Rom is fast as hell. Its just funny with that scrolling bug and pissed me of - I still can't figured it out how to integrate updated system apps into rom.
Click to expand...
Click to collapse
On what rom are you trying to integrate the apps? Let's go back to your thread regarding this matter. We might get infractions if we flood this one with off topics.
happiness4u said:
On what rom are you trying to integrate the apps? Let's go back to your thread regarding this matter. We might get infractions if we flood this one with off topics.
Click to expand...
Click to collapse
Hey! The problem of OP is solved with your help. You can talk here as you wan't.
Its different story with me - I just like to chat with nice people. Stay cool.
Forget to answer you: on stock 5.1.
zagorteney said:
Hey! The problem of OP is solved with your help. You can talk here as you wan't.
Its different story with me - I just like to chat with nice people. Stay cool.
Forget to answer you: on stock 5.1.
Click to expand...
Click to collapse
Have you tried it on stock 5.0.1/2 before? I haven't tried integrating updated apps with libs to 5.1 yet. I've tried with Play music and Messenger, just replaced the Music2 in priv-app by overwriting. But I think you should put the lib files (.so) on the /system/libs for it to work. Like on GooglePlayServices.
Edit: I backread some on your thread, as my statement above was already addressed. That's strange, I might try integrating some apps and report back later.
deleted @happiness4u was faster
happiness4u said:
Install Terminal, type in:
su
restorecon -FR /data/media/0
Then reboot your device. You should have your TWRP folder back normally. This happens when you perform a backup via TWRP which disalign the partitions. Try updating your TWRP recovery to 2.8.5+, they seem to resolve the issue on later versions.
(you must be rooted, and grant access to terminal).
Click to expand...
Click to collapse
Thanx. This is working also on CM12. About TiB storage folder we were talking abour - funny - on CM12 I simply deleted and it's gone. Just folder - anything else stayed.
zagorteney said:
Thanx. This is working also on CM12. About TiB storage folder we were talking abour - funny - on CM12 I simply deleted and it's gone.
Click to expand...
Click to collapse
That command will work on any android device. I was on CM12 when I deleted that "storage" folder, and I got wiped. That's kind of unfair to me. LOL
happiness4u said:
That command will work on any android device. I was on CM12 when I deleted that "storage" folder, and I got wiped. That's kind of unfair to me. LOL
Click to expand...
Click to collapse
As you are now on 5.1, may I ask if it happened to you also that somethimes the name of Provider is missing in Quick Settings - status bar?

Link2SD completely messed up my phone

Alright guys I'm about to blow my top off here. The most recent Link2SD update completely messed up my entire phone.
For reference, I'm currently running an LG G3 D851 4.4.2, stock ROM and rooted. Everything was fine until recently when I started noticing a Play Store update app error "-110".
Not knowing what it was, I investigated, and found that my entire group of app installations have been completely screwed up.
1) First off, I can't install ANYTHING. No app, no nothing. I need to probably install an updated Link2SD to fix this nonsense...right? Can anyone direct me to how I would install the apk using ADB?
2) My mount script is broken and it's not working. It tells me "Mount script cannot be created. mount: Unknown error 150". As a result, my SD 2nd partition remains unmounted....which I think is the source of this entire problem.
3) Viewing my internal storage through DiskUsage, I've discovered that every single app I used to have installed has been "merged" into a single folder simply called "System data". Referenced through this photo here: http://i.imgur.com/ksukQGG.png . Instead of showing the individual folders, e.g.: Google Translate, Pocketcasts, etc, it just shows that big anonymous block of "System Data".
4) If I go to Settings -> Apps. Every single app shows up with "0.00b" as their app size.
HELPPPPP PLEASEEEE I will seriously monetarily tip someone if they can provide me with a solution to this.
crazylilazn said:
Alright guys I'm about to blow my top off here. The most recent Link2SD update completely messed up my entire phone.
For reference, I'm currently running an LG G3 D851 4.4.2, stock ROM and rooted. Everything was fine until recently when I started noticing a Play Store update app error "-110".
Not knowing what it was, I investigated, and found that my entire group of app installations have been completely screwed up.
1) First off, I can't install ANYTHING. No app, no nothing. I need to probably install an updated Link2SD to fix this nonsense...right? Can anyone direct me to how I would install the apk using ADB?
2) My mount script is broken and it's not working. It tells me "Mount script cannot be created. mount: Unknown error 150". As a result, my SD 2nd partition remains unmounted....which I think is the source of this entire problem.
3) Viewing my internal storage through DiskUsage, I've discovered that every single app I used to have installed has been "merged" into a single folder simply called "System data". Referenced through this photo here: http://i.imgur.com/ksukQGG.png . Instead of showing the individual folders, e.g.: Google Translate, Pocketcasts, etc, it just shows that big anonymous block of "System Data".
4) If I go to Settings -> Apps. Every single app shows up with "0.00b" as their app size.
HELPPPPP PLEASEEEE I will seriously monetarily tip someone if they can provide me with a solution to this.
Click to expand...
Click to collapse
Latest (free) Link2SD version
Latest Android Commander for Windows
Enable usb debugging in your phone's settings (Make sure you have the latest drivers for your phone installed)
Install Android Commander (AC)
Open AC while your device is connected
If your device is listed, press okay
On the right upper side in AC there is a option "Install"
Select the Link2SD APK (Try "update" if it doesn't work "normal insstallation"
Link2SD should be installed again
LS.xD said:
Latest (free) Link2SD version
Latest Android Commander for Windows
Enable usb debugging in your phone's settings (Make sure you have the latest drivers for your phone installed)
Install Android Commander (AC)
Open AC while your device is connected
If your device is listed, press okay
On the right upper side in AC there is a option "Install"
Select the Link2SD APK (Try "update" if it doesn't work "normal insstallation"
Link2SD should be installed again
Click to expand...
Click to collapse
Thank you so much for the detailed response. Unfortunately though, it looks like I already have the most recent version installed, 4.0.9? Would this solve anything by basically reinstalling it? I was hoping there would be like a 4.1 version that would fix the issue or revert changes or something.
Update:
Tried installing an app through ADB and it now shows me this:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
pkg: link2sd-4-0-8-multi-android.apk
Failure [INSTALL_FAILED_INTERNAL_ERROR]
Any idea anybody? Like before, I'd be willing to donate to anybody who can provide me with the solution. Thanks!
crazylilazn said:
Update:
Tried installing an app through ADB and it now shows me this:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
pkg: link2sd-4-0-8-multi-android.apk
Failure [INSTALL_FAILED_INTERNAL_ERROR]
Any idea anybody? Like before, I'd be willing to donate to anybody who can provide me with the solution. Thanks!
Click to expand...
Click to collapse
Seems as you have 4.0.8 at the moment. 4.0.9 is the latest official and released 03/10/2015. By the way (most) people here won't help more willingly if your offer some bucks
LS.xD said:
Seems as you have 4.0.8 at the moment. 4.0.9 is the latest official and released 03/10/2015. By the way (most) people here won't help more willingly if your offer some bucks
Click to expand...
Click to collapse
Oh, I was trying to downgrade Link2SD in hopes that it would fix whatever happened with 4.0.9.
According to the about page in Link2SD, I currently have 4.0.9.
And haha thanks for the heads up...I'm really desperate though which is why I pulled that card out.
crazylilazn said:
Oh, I was trying to downgrade Link2SD in hopes that it would fix whatever happened with 4.0.9.
According to the about page in Link2SD, I currently have 4.0.9.
And haha thanks for the heads up...I'm really desperate though which is why I pulled that card out.
Click to expand...
Click to collapse
Please fix.
pkg: link2sd-4-0-8-multi-android.apk
Click to expand...
Click to collapse
looks like 4.0.8. Thats why I asked. Have you tried to reinstall the app or does it offer an option to reload the mount script?
LS.xD said:
looks like 4.0.8. Thats why I asked. Have you tried to reinstall the app or does it offer an option to reload the mount script?
Click to expand...
Click to collapse
I can uninstall apps, but I can't install or update anything. That's why I was trying to install through adb instead, which unfortunately still doesn't work. When I open up Link2SD, it doesn't give me an option to reload, it only gives me the option to "Recreate mount scripts". If I click on it, it gives me the mount script error - "Mount script cannot be created. mount: Unknown error 150."
crazylilazn said:
I can uninstall apps, but I can't install or update anything. That's why I was trying to install through adb instead, which unfortunately still doesn't work. When I open up Link2SD, it doesn't give me an option to reload, it only gives me the option to "Recreate mount scripts". If I click on it, it gives me the mount script error - "Mount script cannot be created. mount: Unknown error 150."
Click to expand...
Click to collapse
Is there any really important data on your installed apps? If I was you I would simply reflash the firmware and start from scratch instead of spending hours to find a solution. The point is that you don't know what you changed that your phone became like this. I have send a email to the Link2SD developer but I'm not sure if he can provide a solution.
LS.xD said:
Is there any really important data on your installed apps? If I was you I would simply reflash the firmware and start from scratch instead of spending hours to find a solution. The point is that you don't know what you changed that your phone became like this. I have send a email to the Link2SD developer but I'm not sure if he can provide a solution.
Click to expand...
Click to collapse
I'm actually backing up all my app data as I'm typing this. The only concern I have though, is that my phone is actually on the stock recovery. I only rooted it because I didn't want to deal with the potential for something like this to happen (which would suck up all my time, haha). As a result, I can't flash anything. So if I decide to stock factory reset, would that clean the /system /data, and everything else that needs to be cleaned for my phone to work properly again? I thought that root (and potentially whatever screwed my phone) persisted through a stock factory reset, which would make trying to do that pointless.
crazylilazn said:
I'm actually backing up all my app data as I'm typing this. The only concern I have though, is that my phone is actually on the stock recovery. I only rooted it because I didn't want to deal with the potential for something like this to happen (which would suck up all my time, haha). As a result, I can't flash anything. So if I decide to stock factory reset, would that clean the /system /data, and everything else that needs to be cleaned for my phone to work properly again? I thought that root (and potentially whatever screwed my phone) persisted through a stock factory reset, which would make trying to do that pointless.
Click to expand...
Click to collapse
I really don't know, if your root survives a factory reset. Probably it will. A custom recovery is really usefull as you can make complete nandroid backups
LS.xD said:
I really don't know, if your root survives a factory reset. Probably it will. A custom recovery is really usefull as you can make complete nandroid backups
Click to expand...
Click to collapse
I suppose so, I'll have to make sure I can flash it properly though considering I'm finding it impossible to install apps right now. This is getting to be highly frustrating
crazylilazn said:
I suppose so, I'll have to make sure I can flash it properly though considering I'm finding it impossible to install apps right now. This is getting to be highly frustrating
Click to expand...
Click to collapse
Any progress here? Developer has answered my mail, but not offered any solution yet
LS.xD said:
Any progress here? Developer has answered my mail, but not offered any solution yet
Click to expand...
Click to collapse
Well, I solved the mount problem by formatting my SD card. But that didn't fix anything else unfortunately.
I also noticed a couple interesting things:
1) Android and Link2SD show my data and cache for ALL apps to be 0.00b. I know that's not true because I went to the /data/data/app directories and found the data exists.
2) I can use all my apps normally with no problem. that means all the files are there, and can communicate correctly(?)
3) I still can't install any app at all.
Next course of action: Completely disable link2sd's boot script perhaps? So what would that entail, deleting install-recovery.sh from /system/etc/ ? Anything else, or would that be good enough?

Malware acts as system app, cannot delete it

Hi everyone!
I'm having difficulties with the malware that I, nor all AV and anti-malware apps I've tried cannot delete. I'm sorry if this thread was discused previously, if so just send me a link.
Here's what happened:
I clicked on a link in a web browser, and than phone flashed several times as application "Firewall" was starting.
Anyway AV app detected a virus and tried to clean it, but failed.
The malware is on the phone as "SecurityService" system app in /system/priv-app/.gmp.apk
I cannot delet file it's write protected. I've tried several methods nothing worked.
Any ideas?
If you're rooted, you can uninstall system apps.
Sent from Hell
No, I cannot... Can you give me some tip how to, maybe I Didn't try it.
Most of the time the app which you get when you root can be used to uninstall system apps.... If you don't seem to find it google for root apps uninstaller and install one of them
Sent from Hell
Nope... I tried several of them but they all failed. They either crash, freez or say something like "unable to uninstall", "failed to uninstall", "can't uninstall for unknow reason" and things like that. This malware protected itself somehow. Any other ideas?
dtalic said:
/system/priv-app/.gmp.apk
Click to expand...
Click to collapse
Just delete the folder with a root file explorer. If the "." in front of the file name is correct, it looks like it's trying to mark itself as a hidden file, which may be why the other methods aren't working.
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
I could show you some screenshots if it would help anyone to maybe figure out what to do... Although I wrote what is going on...
dtalic said:
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
Click to expand...
Click to collapse
Don't delete the folder, delete the apk
Sent from Hell
I cannot delete it. Root Explorer just say "can`t delete file" (or something like that). And dozens of other apps say the same. That is my main problem.
dtalic said:
I cannot delete it. Root Explorer just say "can`t delete file" (or something like that). And dozens of other apps say the same. That is my main problem.
Click to expand...
Click to collapse
You can delete anything in TWRP. Just mount system and then use unternal file manager to delete the app.
That sounds promising. Im quite unfamiliar and new to all this, can you either explain me how to, or send me a link with explanation...
dtalic said:
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
Click to expand...
Click to collapse
I should have paid more attention to the file path. Since Lollipop, installed apks are given their own folders. It looks like you're on Kitkat or earlier.
Most root explorers have a toggle between read only and read/write. Check that.
Yes i know about that. Switching to r/w mode didn't help.
i googled twrp as optimumpro suggested and it seems like something that really would work, BUT my phone is not supported any other suggestions?
I also tried "force remove app (by recovery exploit)" option offered by titaniumbackup, but that also failed saying that file couldnt be found!?
dtalic said:
That sounds promising. Im quite unfamiliar and new to all this, can you either explain me how to, or send me a link with explanation...
Click to expand...
Click to collapse
You need to have TWRP recovery. Boot in recovery, go to Mounts and mount System. Then go back to the main screen, choose Advanced, then File Manager. Go to the directory where your file is, click on it, then choose Delete. You'll get a warning that operation is irreversible. Swipe to execute. That's it.
If that doesn't work for you, then reinstall your current rom without wiping data. This way, your System partition will be reformatted, original system apps installed and data preserved. Depending on the rom you flash, you may lose root and/or Supersu, so, you'll have to redo those.
Ok, I think im following you, optimumpro. I also saw some instructions on youtube. But did you see that i wrote that my phone is not supported in twrp. I need to install it, right? I mailed them, maybe they will add my phone for installation too. Or can i risk trying to install twrp using settings for some other device? There is a ZTE, but not my model...
dtalic said:
Ok, I think im following you, optimumpro. I also saw some instructions on youtube. But did you see that i wrote that my phone is not supported in twrp. I need to install it, right? I mailed them, maybe they will add my phone for installation too. Or can i risk trying to install twrp using settings for some other device? There is a ZTE, but not my model...
Click to expand...
Click to collapse
Unlikely that another device recovery would work. You can use terminal to execute rm "your file" in the directory your file is in. First type su to get root rights. If your rom has no terminal, get it from f-droid. Also see if whatever recovery you use has a file manager or terminal. But again, just reinstall your rom without wiping data...
Ok, here's where im now: tried to use terminal to remove file, but couldn't, it said that i don't have permissions for that. Tried to change permissions, couldn't. As i see it, i should find a way to delete file in recovery. Because i couldn't install twrp, i looked for another recovery file manager. Found "aroma", tried it, but also couldn't install it (none of several versions, followed instructions, but just got message something like "not able to verify... ",something like that... Now, im willing to reinstall rom, but how do i do it? I don't even care for wiping data, I'll just make backup and start all over again
That type of malware usually makes itself immutable so that it can t be erased (even when in recovery, immutable that is), and by reading your post I guess that it s what is happening on your phone.
It s easy to undo if you are rooted and have busybox installed.
Open your android terminal, or connect your phone through adb, then type:
lsattr system/priv-app/.gmp.apk
Most likely it will show something like:
-------------iA----------
The "i" means that the file is immutable, ie is write protected.
To undo this type:
busybox mount -o remount,rw /system
then type:
chattr -i system/priv-app/.gmp.apk
Now you can erase the file, and don t forget to erase its dex in the dalvik cache ([email protected]@[email protected]).
The malware may have some hidden stuff in the system/etc or the system/usr folder(check the install date and time, it should be the same than for .gmp.apk), and it may be immutable too so if that s the case just follow the above procedure again (you ll have of course to change the path, for example if there s a suspicious file called xyz in the system/etc folder then type chattr -i system/etc/xyz).
Let us know if it worked...

Categories

Resources