How to disable batt_health process in MotoG4 RR - Moto G4 Plus Questions & Answers

Hi,
This is related to a previous thread where internal memory gets full, which was solved temporarily.
https://forum.xda-developers.com/moto-g4-plus/help/rr5-8-4-athene-internal-memory-filled-t3678840
I am using
[ROM][OFFICIAL] Resurrection Remix v5.8.5 [7.1.2_r29][XT16xx][athene] + Magisk + ElementalX on Moto G4 Plus with 128 GB SD card as adopted storage.
The internal memory was getting full within a week, and with the help of suggestions received, I located that /data/power_supply_logger had .csv log files which were 20GB+ in size. So I deleted them and solved the problem at the time.
Then it repeated in a week I had the same issue. the log files grow about 2 MB every minute. I removed write permissions to the folder and deleted the file.
I noticed that since I removed the permissions to write, the battery life really got longer and the phone also charges much quickly now. Some users pointed out that battery was charging slowly in RR - I faced that problem too and it looks like has gone away. I would like to make it a bit cleaner - a process making an attempt to write every minute and failing is got a good work around.
Using AppsSD I found that /system/bin/batt_health running as mot_pwric user is attempting to write every minute and now that the permission is removed the attempt is failing.
Is there a way I can disable this process - it is not listed in Apps or System apps.
Or if anyone knows how to disable logging by batt_health, that would be better.
Thanks
Sreekumar

Maybe some of your apps are logging there?! I have this folder too, but empty.

/system/bin/batt_health running as mot_pwric user is the process logging it. How to disable this process - or if it is spawned by an app, how to locate the parent app.

sreeku said:
/system/bin/batt_health running as mot_pwric user is the process logging it. How to disable this process - or if it is spawned by an app, how to locate the parent app.
Click to expand...
Click to collapse
My suggestion: Just install the rom and gapps mini/pico or beans mini and see if it logs again. If not: install ONE of your 3rd party apps, see if it happens again. If not, install the next one and so on.
Maybe you have switched something on in Rom settings?

sreeku said:
Hi,
This is related to a previous thread where internal memory gets full, which was solved temporarily.
https://forum.xda-developers.com/moto-g4-plus/help/rr5-8-4-athene-internal-memory-filled-t3678840
I am using
[ROM][OFFICIAL] Resurrection Remix v5.8.5 [7.1.2_r29][XT16xx][athene] + Magisk + ElementalX on Moto G4 Plus with 128 GB SD card as adopted storage.
The internal memory was getting full within a week, and with the help of suggestions received, I located that /data/power_supply_logger had .csv log files which were 20GB+ in size. So I deleted them and solved the problem at the time.
Then it repeated in a week I had the same issue. the log files grow about 2 MB every minute. I removed write permissions to the folder and deleted the file.
I noticed that since I removed the permissions to write, the battery life really got longer and the phone also charges much quickly now. Some users pointed out that battery was charging slowly in RR - I faced that problem too and it looks like has gone away. I would like to make it a bit cleaner - a process making an attempt to write every minute and failing is got a good work around.
Using AppsSD I found that /system/bin/batt_health running as mot_pwric user is attempting to write every minute and now that the permission is removed the attempt is failing.
Is there a way I can disable this process - it is not listed in Apps or System apps.
Or if anyone knows how to disable logging by batt_health, that would be better.
Thanks
Sreekumar
Click to expand...
Click to collapse
I too have this folder and is showing 1.01mb in size.
I cut out read acces to batt_health and it seems nothing has changed.
Also i search folders for battery stats and all are nrml to me.
All of them combined also im not getting more than 10+mbs.
Idk what u have been using or any particular reason for you
I'll suggest clean flash your rom. Use verified gapps and restore backup of apps only and not data. If and if only you need that data restore it.
Use device for 3 to 4 days and see if problem exist.

OK. I will try these suggestions and see if goes away.

Related

Thanks to $aur0n for Urukdroid OS

Seeing as I can't post in the developers section I would like to thank $aur0n and the rest of the devs for the latest version of Urukdroid 1.6RC4 Started with UD1.5 last Thursday. Currently running on my A70-8 it appears to be running smoothly. I installed to internal memory with basic partition resize. I am sure it is not optimized for best performance but I consider myself lucky I didn't brick the device.
I found the simply dropping the update file into the data/backup folder (from my Ubuntu 11.04 laptop) did not work for some reason. So, from my Win7 computer at work I dropped the update file in a "download" folder so I could find it, then after dismounting I used File Expert with su permission to move the file to the data/backup folder. Lo and behold the update process started automatically.
I had an issue as I was muddling through from 1.5 to 1.6RC2 where something stopped the google services framework which resulted in a very long boot cycle and error messages. I finally found the entry in applications and I believe a clear data fixed the issue. During this incident I lost my tunein radio app and any attempt to reinstall results in some sort of out-of-memory error stating that the app can not be viewed. Other apps install just fine. I think there is an internal problem with the tunein app.
Anyway, I have been using the A70 a bit more and the battery seems to be lasting as well as it did back on 2.1.8.
Thanks again.
+1! Install was easy, tablet runs smoothly. Thank you to all involved!
Sent from my A43 using Tapatalk

[Q] Strange issues with my storage...?

Hi all, first time asking a question on Nexus 4
Days ago I decided to upgrade CM10.2 from an earlier nightly (build number JSS15Q) to a newer one (JLS36C), so I dirty flashed and everything seemed fine at first, but:
1) When I connect my N4 to the PC, it links up in MTD mode, I can read, copy, rename and delete contents from it, but I just can't put anything into it. It says something like "device is offline or has stopped responding". I thought it was a random issue so I ignored it.
2) One day later, a nightly with build number JLS36G dropped, and I want to back up my data with Titanium Backup before I do a clean flash. I knew previously that to use TiBu on 4.3, the backup folder has to be manually changed, and this worked for me before. This time, however, even after changing folders, TiBu still reported "insufficient backup space" no matter what I do.
3) Yesterday I wanted to upgrade some softwares on the phone, but many installs fail with "out of space" alert, while I confirmed that I have plenty (5GB+) internal storage left.
4) And today I am using Root Explorer to manage files. I just want to move a file to another folder. I created the folder with success, but pasting operation failed, still because of "not enough space". The same happens for CM's File Manager.
Now I'm out of ideas. The best bet is to start over from a clean flash, but since TiBu is unusable, I will lose all my SMS/call log, which I can't swallow. I'd be very grateful if anyone can tell me what's behind all these issues, or/and can teach me how to back up SMS/call log with a file manager. Thanks in advance
***EDIT***: I figured out how to manually backup/restore my SMS/call log, and went on to do a clean install, but even after a clean install, Root Explorer still reports insufficient free space. I can install softwares normally, though.
Sent from Google Nexus 4 @ CM10.2
are you sure you have 5GB storage left or available?
Sent from my Nexus 4 using Tapatalk 4
Indian9990 said:
are you sure you have 5GB storage left or available?
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I'm pretty sure of that. I have 7.6GB files on the phone (calculated by copying all files out and checking their size using Windows), so free space should reasonably be 5GB. All softwares on the phone report this value too.
Sent from Google Nexus 4 @ CM10.2
Uhh, anyone? This sinks so fast
Sent from Google Nexus 4 @ CM10.2
Exactly what method did you use to 'clean install' ?
tarroyo said:
Exactly what method did you use to 'clean install' ?
Click to expand...
Click to collapse
Wipe cache, dalvik, data, system (yeah I'm not that noob-ish to forget this), and install the downloaded package. I didn't install any mods after that. Clean enough, I guess.
Sent from Google Nexus 4 @ CM10.2
An update to this situation: I think that using a factory image I might be able to "clear" the partitions and hoprfully revive my storage, but when I tried to back up all my contents in storage to PC using MTP connection, it got stuck at "calculating time needed for copying files" or sth like that. I have ~3GB of (unsynced, of course - I'm in China) music and some precious data I don't wanna lose, and at this size I couldn't back them up on the clouds. What to do now?

[ROM] MIUI 2.3.30 (GB 2.3.7) English ROM + TWRP Recovery for Google Nexus One

Please Read Everything Carefully as some info is crucial to getting your old phone functioning well!
Update:::: August 16, 2015 ::::::::::
STAGEFRIGHT BUG:
This bug has been blown way out of proportion and it is not something anyone should be extremely worried about. There are no patches for gingerbread as of yet, and I cannot patch it since I do not have the CM source. However, you can copy from /system/build.prop and open the file in Notepad++ and then search for "stage" and change the "true" to "false" -without quotes. While this is not a fix, it will still offer some protection. Do not download apk files from places you do not trust and you should be ok. For now you can also do the following :
1) In MMS App, Turn off Auto-Retrieve. If your Carrier converts your voice mails to text, you will no longer be getting those. The app will then provide a download button for you to download the message instead. You can simply call your voice mail and listen to the message and download it if you think its important.
2) Remove the stock browser - do not use it to sign into anything.
3) Use Firefox as your default browser. It will be slower but safer. Type about:config > Search for Stagefright > Set stagefright.disabled to True
4) FIREWALL : Use AFWall+ to block Apps making unneeded connections to places you don't trust. It starts in Whitelist mode. Change it Blacklist mode. Be careful, and understand how to use this. LINK https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall&hl=en
6) In an effort to save RAM and unnecessary background Operation, I have included ForceStop Prevent Running. Do not update this past version 0.15. Updates after this do not work well on Gingerbread. Preventing Google Play Store is ok, Play Services is optional (You will lose all sync except Contacts and Calendar but no unnecessary background syncing.[/I]
7) GApps package now Included. It is Stock Gingerbread Gapps with Google Play Store updated to version 5.1.11. Please note that the latest Google Play Store works Fine but it is slower. If you want to block it from Updating, BEFORE connecting to Wifi, IF the APK is called com.android.vending.apk THEN create a new directory in /data/app called com.android.vending-1.apk, so it is always 1 number higher than what is installed. Also, if you do Update, MOVE the update to System parition or you will have 2 copies of it. Then delete its Dalvik cache and reboot
Update :::: June 18, 2015 ::::::::::::::New Goody : Added Modded K9-Email for Gingerbread to list of Software - It is open source, and a good way to check "Hotmail/Outlook" using Imap. Imap functions in Outlook are limited but the program works. I have removed the Ugly K9 dog Icon and replaced it with a real Email icon to make it look more appealing
Updated ::: June 12, 2015 ::::::::::::: New Goody : Attached Adaway for Gingerbread - Disclaimer: I support ads in some apps that do so reasonably, but some apps are out of control with Permissions and blowing up your screen with constant Ads, this behavior is unacceptable so I have included AdAway here. It is the user's Right and choice to do as they please on a carrier/contract free ROM, however it is not my responsibility what you may do with this ROM. This ROM still contains most of the original components of the Original ROM and I may remove outdated functions or add new functions in the future
This is MIUI 2.3.30 Gingerbread version 2.3.7 U.S. English Rom
I have now added various changes to this ROM. No more Security Certificate issues. No more Email / IMAP issues -K9 Mail, Exchange and Google accounts should sync without issues now
Xposed For Gingerbread + Prevent Running + Security Fixes are now attached below for convenience
Partitioning your SDCard is absolutely recommended or you will not have enough Internal Space to have Google Apps - Internal Space should only store Dalvik Cache - Please see details
1) 30 Step Headset Volume Configuration - works great with Volume Limiter
2) Security Certificates updated. Bad and Outdated ones Removed. see GuardianProject. This ROM is more secure. I also highly recommend using Firefox and OperaMini. I have also attached CACERTS.BKS - Remove the .TXT Extension - Already included in the ROM but can be used in other Gingerbread devices!
3) Nexus Pie boot animation
4) Misc changes - Gps locks fast when using GPS apps like Mapfactor Navigator, CPU Sleep works during trackball wake/notify feature, country codes in dialer corrected, Correct APN and Carrier name will show.
Recommended Software
I recommend you download this: Volume Limiter by Captain Neoguri - March 26, 2014
Caution: Nexus One hardware has a bug where upon using this app when adjusting volume outputs in max volume which can be dangerous for your ears, Please do not wear your headset when doing volume adjustments. I recommend a volume of upto 16 in this app for headset max volume.
Recommended : Xposed Framework for Gingerbread :::::: Download Below
Once you install it, Update it, and Install the Following :
1) Fake ID Fix
2) Master Key Multi Fix
3) MasterKeyFix GB
These are all Security Patches for Gingerbread. I have taken the Courtesy to attach them in this thread.
I recommend Google Play Store no later than 5.1.11 as the latest versions seem to have some kind of DPI related bug and will Force close constantly. Google Play Services can however be updated to 7.5.73-034 - I have tested it and it is working perfectly fine
Launcher : I am now recommending Holo Launcher from the Playstore. It saves RAM and it is much more Functional than the Stock launcher. When I have time, I will entirely remove the Stock Launcher and put Holo Launcher in the ROM or until I get permission from its author
Call Blocking Call blocking feature is built into the ROM, however it is like most call blockers which simply hide the blocked call but it still goes through. A solution to this is to use this app. Root Call Blocker : https://play.google.com/store/apps/details?id=fahrbot.apps.rootcallblocker.beta&hl=en
It will take about 5 minutes to set up and will allow you to kill a call after 1 ring and it will not go into your voice mail. So the Spam caller will have no idea whether its a dead number or to even bother calling back. Usually "Dead Rings" make the automated telemarketing calls stop because the computer dialer that is making the call keeps getting dead air and it keeps showing in their call logs. So it becomes their problem, you will simply never see the call coming until 1 day you decide to go in your blocker's call log. So if you have a pesky caller, use this app.
Radio / Baseband Software
http://wiki.cyanogenmod.org/w/Passion_Info
If your 3G does not work, Please check your 3G Network's supported Frequency with your Nexus One 3G Supported Frequency. There were 2 models of this phone released in Canada. This is not due to MIUI and downloading any Radio software will NOT fix this because it is by design.
You need version 5.08.00.04 if you are not using a Korean Nexus One. Download it, then Extract the Radio.img file from the zip.
1) You need to have ADB Fastboot and ADB Enabled on your phone. You can download a small ADB Version here.
http://forum.xda-developers.com/showthread.php?t=2588979
There are also other places to get ADB, But just know there is no need to download Gigantic SDK Kit from Google. You only need the basic ADB with Fastboot.
2) Press Volume Down, Then Press Power and Start your phone in Bootloader Mode. Then select Fastboot. Make sure your phone is now in Fastboot mode, it should say it at the top of all the choices.
3) Go to where you ADB folder is and hit Shift + Right Click = Open Command Window Here.
4) Now Plug your USB cable into your phone and type in Command Prompt this - fastboot devices. You should see your Phone listed. If you do not, go back and check everything.
5) Copy that Radio.img file from the Zip you extracted into your ADB Folder and then type
fastboot flash radio radio.img
It should take about 30 seconds.
Use the instructions here http://forum.xda-developers.com/showthread.php?t=698721 to push it to your phone.
Now you are done.
How To Increase Internal Storage using Data2SD. This puts Apps(apk) AND Data onto your SD EXT Partition so you have more free Internal memory on the internal /Data partition
MIUI comes with something called A2SD+ which is turned off by Default.
1) Go into TWRP Recovery. Create EXT-4 Partition. You will lose all data, so before doing this, its a good idea to backup.
Create an EXT partition size you are comfortable with and depending on your needs.
2) SWAP SPACE 0. You do not need it.
When it is done. Your SD Card now has a FAT partition and an EXT Partition. You can reformat your FAT to FAT32 in Windows if you would like and give it a name.
Then get this Script. MAKE SURE YOU READ EVERYTHING in the Following Threads.
This is Ungaze Data2SD Script. Script is now Attached at the bottom of this post
http://forum.xda-developers.com/showthread.php?t=1378568
http://forum.xda-developers.com/showthread.php?t=1661892
Get the Data2SD Script and copy it to your SDCard FAT32 partition. Reboot your phone a couple times after flashing MIUI. Wipe Dalvik, Wipe Cache, Then Flash Ungaze D2SD from Recovery.
Follow directions in those threads and you should see an increase in Internal Storage Space in MIUI
You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card incase something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data.
ETC INFO
You will Need ROOT Access for almost everything if you want to make changes so make sure you have SuperUser Access Turned ON in MIUI.
Search for ADAWAY which creates a HOSTS file in your /System/etc Directory, which helps to block ads. I prefer using only open source apps or apps with Ads that do not Annoy.
Use ES File Explorer
And now you can install (or Uninstall) all the Pesky large size Google Apps. I personally stay away from ANY Google App I do not absolutely Need. I remove apps like
Google Search
Google Talk (Hangouts)
and Other Google crap.
MIUI has the basics of what you need. But you can Remove the MIUI Accounts etc because you won't be needing it.
And Anything Pesky that I cannot trust. Make sure you Backup in Recovery first before Uninstalling System Apps.
You can use an app called Disable Service from the PlayStore to disable Individual Services in an app incase you don't want certain services loading up. This should help conserve memory and cpu cycles if needed and also to disable functionalities in Apps that are otherwise impossible to disable. Link Below
https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en
The idea is to keep it SIMPLE and functional.
Last but not least, Thanks to everyone at XDA for making things like this possible. Without this community, we would not be able to do the things we can to bring enjoyment and functionality to our devices. Thanks to everyone who finds a solution and posts it with details for everyone to understand. I hope this culture keeps growing stronger.
Don't forget to say Thanks
That's it Folks! Bring out your old Nexus One. It will be fast, and serve its purpose as a phone first. And YES, Even your mom will now be able to use it. Enjoy!
ROM DOWNLOAD:
Download MIUI-Android-2.3.30-Gingerbread-NexusOne
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Obsy said:
Thanks for your time and for sharing this with us... Maybe some of us knows these stuff but in the KK 4.4.4 era, there always is someone who want to use the Sexy Nexy as a fully functional phone and use an eye candy ROM and more user friendly than CM 7.2.
For recovery I recommend 4Ext Recovery
Regards!
Click to expand...
Click to collapse
Hey, no problem! Yes 4Ext is a good recovery if you are on Blackrose and change your hboot partitions etc. My Guide is for those who don't want to mess with that and the TWRP Recovery is working flawless. I will mess around with Blackrose to increase internal Memory because one thing I find after bootloader unlock is the initial boot process is what takes the longest! MIUI Itself boots in less than half the time it takes for the intial boot. (Nexus X multi colored Logo with gray colored open lock at the bottom)
I am still not quite sure if the trouble of using Blackrose just to cut down my Cache partition to 50mb is worth the time and trouble because the phone is running fine. And I am also not sure if Blackrose will work with twrp. I will need to read more on this.
Thanks.
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
daaac said:
I completely agree with this OP. This is best rom you can use on the nexus one, I've played around with all sorts of roms and versions including the most recent KitKat iterations and non of them are smooth in comparison with a solid gingerbread rom. But this rom is particularly good because it still makes the Nexus One feel fresh.
Click to expand...
Click to collapse
Thanks Daaac, you are right. When I pull out this old Phone, people ask me where did I get it? And how nice it looks. When I tell them its over 4 years old, they seem surprised. What google still does not seem to realize is that when it comes to Phones, people look at both the Phone hardware AND its Software that's running on it. Android is terribly ugly and MIUI is the closest you can get to getting some kind of Organized option structure even though it lacks some power user features, it is still better than scrolling through endless Cyanogenmod Gingerbread options. Not the fault of Cyanogenmod, but I blame Google for the terrible User Interface of Android. Google seems to hire Amateurs to design their User Interface and then market it as Simplicity. In my opinion, Apple runs circles around Android when it comes to Fluidity but ofcourse we know why we stick to Android, for things an iOs user can only dream of, specially on older devices. This MIUI ROM comes closest to make your Nexus One a daily usable phone with very few annoyances, however it is stable, never crashes, and looks good.
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
You are most certainly welcomed Sir! If you ever have any questions, feel free to ask me.
danibus said:
Thanks for your guide, very nice to read your step by step, good as I didn't update nexus one since 1 year ago and I don't remember all steps.
Thanks!!
Click to expand...
Click to collapse
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
You need to see the first post for that to happen.
miui_nexus1 said:
Thank you very much for taking the time to cook such a nice ROM for Nexus one. I hadn't installed any custom ROM on my device until some days ago. It is really awesome. Considering that Nexus one is an old device I do not expect to be any update for this ROM, but in case there was one I would appreciate it if you could post the link.
Click to expand...
Click to collapse
Thanks for your quick reply. I am well aware of your updates to the ROM. I especially love the Nexus pie and appreciate the security updates.
ocd_amp said:
You need to see the first post for that to happen.
Click to expand...
Click to collapse
More security fixes!! I can't believe my eyes. Thanks a ton!
Hola launcher
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
That launcher will slow down your system, and constantly try to download ads. It also takes up a LOT of RAM. The idea here to make the device run FAST consuming as little resources as possible. On a fresh boot, my N1 RAM usage is at 95MB, and after 28 Hours, it is 144MB. With other processes that are important Cached. My Dialer starts and makes calls upto 3 seconds faster than my Galaxy 3 on Lollipop.
All this can be achieved by disabling Google Play Services and Google Play Store from starting on boot (unless you have apps that you are always using and depend constantly on them) - I don't use apps that heavily depend on Google Play Services, and if I do, I start the service and the app, then I press the "back" key and exit Google Play Services. - Xposed Framework module attached to prevent Apps from running helps.
Battery life is great, easily lasts 2-3 days with minor screen time / talk time - Heavy usage can last a full day. This is all on a 2010 phone with an old battery. My Nexus One puts most people's dual core modern phones to shame when it comes to speed
miui_nexus1 said:
I have tried Hola launcher (e.g. with chromatic theme), and its icons are similar to MIUI icons in contrast with Hola launcher (which is similar to latest Android versions).
P.s. I am just testing . I don't know if this launcher will drain the battery fast or not.
Click to expand...
Click to collapse
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
1) Remove Holo Launcher icons and drag and drop Phone and Messaging icon from Drawer into the Dock at the bottom.
2) Use TWRP recovery.
3) /Data partition is EXT2 partition on your SDCard. Apps+Data (app data) will be there.
4) /mnt/asec/d2sd will be the "other" data partition (the original data partition) which is where your Dalvik cache will be.
5) Apps will be installed where their manifest suggests - Most apps will be installed to /Data on your EXT and their Dalvik Cache will be on the Internal parition /mnt/asec/d2sd/Dalvik-Cache
6) Use ES File Explorer - give it Root permissions - make sure Superuser permissions is set to On and inside ES Explorer you give Root access R/W - you can view all partions there
7) Use DiskInfo to see all your partitions
miui_nexus1 said:
That is fantastic battery life and speed you have!
I have got some questions and appreciate your help (Please forgive my newbie questions and such a long post)
1) When I want to run PHONE and MESSAGING applications on “Holo launcher” it gives this error message: "This activity cannot be launched". Although stock MIUI icons for these applications work fine.
2) I partitioned my memory card using ClockworkMod recovery and I dedicated 2 Gb’s of my 16 Gb class 10 microSD card (I haven’t had any problem with this recovery so far but if you think it may be incompatible with your ROM or cause issues please let me know and I will replace it). After flashing Ungaze Data2SD I see an increase in the internal memory . To be honest I didn’t completely understand the rest of the instructions so I do not know whether I have done it right or not.
"You can delete the Contents of /mnt/asec/d2sd/data/app/* and /mnt/asec/d2sd/data/data/* from your Device Root which is "/" after this otherwise you will have 2 copies of the same app. You should only have Dalvik-Cache in this location as it links to your Internal Memory Data partition. Make a backup first to your SD Card in case something goes wrong by copying those APKs, then simply Delete them. Your Device System Partition will have System Apps, Data partition will have Dalvik Cache and your SD Card's EXT Partition will have the rest of the Apps and their Data."
This is what I did:
I used “adb shell” to access the contents of those two locations and deleted their contents. As I said before I didn’t understand the rest of the instructions and I assumed it has been done correctly!! Then I installed my apps normally but I do not know whether they have been copied to the internal memory or the memory card. (I have downloaded apk’s of all apps I use from "apps.evozi. /apk-downloader/" or "apk4fun" and I have installed them using package manager).
My main question is what do I do after cleaning up those two locations and how do I install the apps so they will be copied to the memory Card’s Ext partition.
You should only have Dalvik-Cache in this location (What location exactly?)
Your Device System Partition will have System Apps (/system?)
Data partition will have Dalvik Cache (/data?)
SD Card's EXT Partition (/sd-ext?) If I am right as I have “adb” installed on my windows, it doesn’t show me the contents of this folder naturally. I have Ubuntu Linux too but “adb” is not installed on it.
Thanks a lot for your time!
Click to expand...
Click to collapse
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
miui_nexus1 said:
Thanks a lot for the complete information. Holo launcher and Prevent running are really great. Now only 94 Mb of RAM is used . I expect to have better battery life too. I will report that after some days of using this configuration.
Click to expand...
Click to collapse
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
You're welcome. Enjoy!
lfe.zaius said:
Oh lord, might be joining the N1 family due to recent corrupt internal data/EMMC failures on the Sensation and One Mini. Hoping to get a daily ROM and stable service from AT&T. Any critical updates/preventions prior to dusting off 2 years of being shelved and lending to 3 people (aka TANK N1).
Excited to see activity and will give this a shot when I get home. Thanks for posting!
Click to expand...
Click to collapse
You edit build.prop either right on the phone using a text editor, or if you're like me, do it on the computer with Notepad++. It's a text based file. Oh yes, that was a spelling error. Fixed.
miui_nexus1 said:
Thanks for posting about Stagefright bug. It seems to be a hell of a bug. I have done all of them except the first one. Could you elaborate on how to edit build.prop?
By the way just a small thing: there is an extra "r" in
3) Use Firefox. Type about:config > Search for Stragefright > Set stagefright.disabled to True
Thanks again.
Click to expand...
Click to collapse
I have opened it using ES file explorer (ES Note editor) on my device but when I want to save it it shows an error:"Error occurred when trying to save the file. It will not be saved.". I have granted Superuser access to ES file explorer but I cannot find a way to give the specified permissions you have mentioned in the post. I would appreciate your help.

Random apps deleting in Lineage os

Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Ayan Uchiha Choudhury said:
Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Click to expand...
Click to collapse
Same thing happened in resurrection remix latest build.
Whatsapp uninstalled automatically. But the data remains intact. I only installed apk of whatsapp and get whatsapp as i leaved.
Apps are also crashing in r.r.
If anyone needs more details am willing to help,
It's related to the external-SD camera fix
Ayan Uchiha Choudhury said:
Guys I know it sounds crazy but sometimes when my phone is in charge and connected to WiFi my apps gets deleted. Now this happens as soon as play store updates some apps. And the crazier part is that my data stays intact. All I need to do is install the apk/download from play store and it's the same as before. The most affected app is Facebook, and then WhatsApp plus and canary (please don't tell because it's modded cuz Facebook and chrome canary aren't modded but same results). Now I'm on Lineage os the latest build with elementalx kernel. And no apps like greenify. I'm on the 43 variant(Indian) with open gapps (mini) and I clean flashed it.
The log I took was just after I realised that my apps had gone(not sure exactly when they were uninstalled but right after I realised) just unzip the file and you should have it.
AND YES THE POST SOUNDS CRAZY SO PLEASE DON'T TELL THAT. -_-
Click to expand...
Click to collapse
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
I couldn't find out why the script in that zip causes apps to uninstall randomly when you reboot the device, but I corrected using this fix for the external-sd write for the camera: https://forum.xda-developers.com/moto-g4-plus/how-to/fix-motorala-camera-write-to-externalsd-t3498573 instead of that.
Also you have to use the regular moto camera ported which you can find on this thread https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473 but you have to manually delete the com.motorola.*** .jar files on /system/framework/
I made a zip that makes the instalation of the camera and the deletion of the com.motorola.*** .jar files automatically but undfortunately I can't post links that are outside the XDA forums yet. With that you'll only have to apply the fix for the external-sd manually
kur0g4ne said:
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
I couldn't find out why the script in that zip causes apps to uninstall randomly when you reboot the device, but I corrected using this fix for the external-sd write for the camera: https://forum.xda-developers.com/moto-g4-plus/how-to/fix-motorala-camera-write-to-externalsd-t3498573 instead of that.
Also you have to use the regular moto camera ported which you can find on this thread https://forum.xda-developers.com/moto-g4-plus/themes/stock-camera-t3540473 but you have to manually delete the com.motorola.*** .jar files on /system/framework/
I made a zip that makes the instalation of the camera and the deletion of the com.motorola.*** .jar files automatically but undfortunately I can't post links that are outside the XDA forums yet. With that you'll only have to apply the fix for the external-sd manually
Click to expand...
Click to collapse
Thank you my friend for the detailed explanation. Will try to do this tomorrow.
Ayan Uchiha Choudhury said:
Thank you my friend for the detailed explanation. Will try to do this tomorrow.
Click to expand...
Click to collapse
Your'e welcome!
Also you better try this on a clean install
Hello, I have this strange problem I am using RRN 5.8.5 version on my oneplus 3. And my apps randomly gets deleted from the phone. At random times I try to look for the app and its gone. Like youtube gmaps even google keyboard some times gets deleted??? Can some one explain me whats going on ? One of my theories is that when the app ties updating it gets deleted and does not reinstall.
kur0g4ne said:
This is not a ROM related problem, the same happened to me when I used the ExtSD_Fix_rw-signed-v1.9b.zip which you can find in this post https://forum.xda-developers.com/moto-g4-plus/themes/stock-motorola-camera-t3596659
Click to expand...
Click to collapse
I have the same issue on LineageOs 14.1 on my moto G4 plus.
So according to your post because I used the moto camera zip file and the sdcard fix, I've formatted system, dalvik cache and cache, reinstalled lineageos, addonsu and Gapps but I still have applications that disapear (F-Droid for example). Note: I haven't reinstalled any moto camera app.
So if you have an idea ?
Sagittarius_ said:
I have the same issue on LineageOs 14.1 on my moto G4 plus.
So according to your post because I used the moto camera zip file and the sdcard fix, I've formatted system, dalvik cache and cache, reinstalled lineageos, addonsu and Gapps but I still have applications that disapear (F-Droid for example). Note: I haven't reinstalled any moto camera app.
So if you have an idea ?
Click to expand...
Click to collapse
That's because the sdcard fix is what triggers apps to disapear, try a fresh install (formatting data also) and do not use the fix but DO reinstall moto camera, nothing changed for you because your permissions are not defined in the system partition.
I guarantee nothing but try this moto camera, it worked for me because I made it for me, but it implements the latest apk of the moto camera that is available and gets the writing permissions for the sd and does not make apps to dissapear.
I bought a UHS sd to use it as internal storage and do not worry for external permissions ever again but I remember i got the permissions when the sd was FAT32 formatted, and it happened without doing anything but flashing it.
I can't post links to external sources in XDA so here's the key for download it from MEGA just paste it to the end of mega .co .nz /
Code:
#!i0hU3STS!Aj5U_7fitVtfYIxENFEq7LV278myvA3yLKLCoB3Oajg
Thank you
kur0g4ne said:
That's because the sdcard fix is what triggers apps to disapear, try a fresh install (formatting data also) and do not use the fix but DO reinstall moto camera, nothing changed for you because your permissions are not defined in the system partition.
I guarantee nothing but try this moto camera, it worked for me because I made it for me, but it implements the latest apk of the moto camera that is available and gets the writing permissions for the sd and does not make apps to dissapear.
I bought a UHS sd to use it as internal storage and do not worry for external permissions ever again but I remember i got the permissions when the sd was FAT32 formatted, and it happened without doing anything but flashing it.
I can't post links to external sources in XDA so here's the key for download it from MEGA just paste it to the end of mega .co .nz /
Code:
#!i0hU3STS!Aj5U_7fitVtfYIxENFEq7LV278myvA3yLKLCoB3Oajg
Click to expand...
Click to collapse
Thank you and forgive me for not answering you until this day. I'm gonna try.
Nice !
After lot of install, reinstall roms, i was crasy about apps randomly deleted or fc.
You find the cause ! great and very usefull.
thanks a lot !

'Migrator' folder gets created automatically

Hi fellow users,
I am facing an issue where a folder by the name 'migrator' is getting created, at random timings in the sdcard folder.
This started happening around 6 months ago and wasn't too much of problem and I would just delete the folder. It would then be recreated at a later date. Recently, the phone is running out of space and has been slowing down the phone while it is gets created in the background.
I have tried deleting most applications one at a time to find any app that causes the issue, but haven't been successful in finding the cause.
I am rooted with magisk and currently on Oxygen OS 9.0.4
I would appreciate any help to find the root cause and fix the issue.
Thanks in advance!
Looks like you used migration apk (https://play.google.com/store/apps/...pcampaignid=APPU_1_JmCVX6mSINDDz7sPyr-f2A0)to save the data file , just disable the migration helper apk from settings

Resources