CB7 & Custom fonts - OnePlus 3 Questions & Answers

Hello to all,
I'm having a problem when I try to install custom fonts in CB7. I use two methods but non of them work:
1. Using flashable fonts as per this post http://forum.xda-developers.com/android/themes/fonts-flashable-zips-t3219827 : The flash completes ok but the fonts do not change in OS.
2. Using root: ifont, hifont report that there is no free space in system folder so they can't install them. And when i manually replace the roboto-regular.ttf with the custom font, when i reboot the font has not changed.
Note that in official build 3.2.8 everything works fine.
Thanks!

Cb7 fills the system partition. Delete a Google app or 2 to free some space (Android pay for example). Then download those apps from the play store.
See if that fixes it. I haven't tried ifont on this device so I can't say it will work for sure bit that will give you space on the system partition.

Hello and thank you for the reply.
I deleted 2google apps through app management,
However i still get the same error...
I also tried with terminal to replace the stock fonts but after mount -o,rw remount,rw /system i get the error that the files are read only. Root checker reports that root is ok. Completely stuck here..

Related

why do devs put updated apps in /system?

i mean is there a benefit to doing it over the data part? only diff i'm aware of is that (in this case, street view) putting an app in the system bit means i can't update it and as i can't get adb working on my PC, then i have to :
backup all my apps, barr those in system, flash a new rom (but remove the apks from the zip file), then reinstall all apps again
i need google street view and since adb doesnt work, this is the only way that i know of how to do this.
They're put on /system/app as that's where they originally live...if it's an app from the Market it will update itself correctly
It's also a space thing as if they were all on /data/app then you'd eat up your space in no time (unless using A2SD)
umm, ok stupid queston, why is it then no matter whose rom i try (here or modaco), if an app is on /system it is never updated? i *always* get an error during installation
few weeks back, it was google maps, now it's the updated street view.
i've flashed a new rom now but removed street.apk from the zip and can now install just fine, and can update as needs be.
I dunno, I'm stock and just today had Flash and Maps update automatically
If your system apps won't update there's something wrong with your custom ROM.
it wouldn't just be me then though?
i'm using leedroids latest and that's not updating, same with opendesire earlier on, modaco ones etc etc
Are you wiping before you install the ROMs? I've never had a problem updating system apps via the market in my ROM.
of course. full wipe
tommo123 said:
of course. full wipe
Click to expand...
Click to collapse
just uninstall the app and re-install it from market
You can't if its on the system partition. Updates go on the /data/ partition, though...
Other way is to get the APK in question and install it using a file manager, it'll do the same thing
uninstalling also isn't allowed, neither is updating. it seems that once it's there, it's there.
now, i've got adb working and can list what's in system etc but it gave a read only error when i was trying to 'rm Street.apk'
remount didn't appear to be a valid option. alls working now anyways. just need to remember to remove certain apks from a zip before flashing.
funky
You *can* update system apps with market updates, as has been said before. The app remains on the system partition and the phone uses the data version instead. If it's not working for you I don't know why, but it's absolutely fine for me.
So what we need is a mod that will give you the option of replacing the system/app with updated market version, but replaces it on system and not data.
j5m said:
So what we need is a mod that will give you the option of replacing the system/app with updated market version, but replaces it on system and not data.
Click to expand...
Click to collapse
Well that's exactly what I do in mine. And I get those by updating the system app via the market.
teppic74 said:
Well that's exactly what I do in mine. And I get those by updating the system app via the market.
Click to expand...
Click to collapse
Thats great for you, and i appreciate that you do that with your rom +mods, but it means relying on you. Would be good if android would have it as an inbuilt function.
But i guess with newer phones having increased internal storage + a2sd this won't be an issue for much longer.
It's never going to happen as part of standard Android, because the system partition is read only. Also the system has to be a set standard in order to allow upgrades to work.

[Q] How to install back factory app?

Dear Forum members!
Today I wanted to modify the smiles in the Mms.apk system app..
when i Copied back and tried to isntall, my phone started to reboot and not come back... (I know of course I mistake
From ADB I fixed my phone but just a half success, I copyed back the original Mms.apk and changed the permissions to 644, my phone boots up normally, but I still can't install the apk.. if i try to isntall from system/app it says: Replace app.. (I dont see in any list to be installed) If I press Ok, starting to install, then says: X App not installed. In downloaded apps I see messaging with 0 kilobytes, i can remove. After this if i try to install from system/apps it dont want to replace but the same thing happens... (X App not installed) Another interesting thing. On my Sd folder I still have a copy of Mms.apk, if I enter into this directory withy any file explorer, its quit I have ftp server where i can rename to mms.app -for example. In this case the explorers are not quit But I have no chance to install like user and not like root?..
Of course i have rooted my phone and it works.
Is someone have any idea?
thanks: Karoly
Please help me
I installed to my phone a catlog to read out what happens durring the installation.. I see in the log there is no odex file in the mms.apk ... Is someone can suggest me a solution to install back my factory mms application? I really don't want to reinstall my system because of this problem. Currently I use the latest android update 4.1.2. I have too much settings and apps on the phone :S
Thank you in advance.
Greets: Karoly
If your on a stock Google ROM (Yakju?) you should be able to download the factory image and fastboot flash just the system.img & your apps & data should be fine.
Hi. Thanks your answer.
I tried to flash only the system yesterday, wipe caches and fix permissions, my datas remained, but the mms app still not works.. nothing changed. Is it possible maybe to install this apk from recovery (cwm) mode?
Im sure if i reflash everything will work but i dont want to lose my apps, so i'd like to fight for it if its possible
Sent from my Galaxy Nexus using xda app-developers app

Market: "Download was unsuccessful please try again"

I have SuperNova ROM on the phone (Supernova_2.4.0.1_signed.zip). I have root and S-OFF (stock HBOOT image). Now that I have finally found a ROM that expands my internal memory some of the apps don't want to install. So the situation is that most of the apps do install, but when I try to install some of them I get an error message right after the download of the app is complete, and before the installation starts.
This is the error message:
Download error
Download was unsuccessful,
please try again.
Click to expand...
Click to collapse
One example of app that always fails every time I try to install it, is Angry Birds by Rovio Mobile. The download size is 33.83 MB (version 3.1.0) and right after the download completes it gives me the error that the download was unsuccessful.
What is this? Unsuccessful download? How can it be unsuccessful? I just saw the download complete!! This is more of an installation problem than download problem.
Why does it affect only some of the apps and not all of them?
I thought this had only to do with game apps, and/or apps with large install sizes. But I have installed Benji Bananas (version 1.9) which is 16.88 MB and some other heavy apps without a problem.
Does it have to do with where the app defaults to install? Default install location? Apps that install to SD (support Froyo App2SD) by default? Maybe this is somehow messed up with the App2SD+ and Data2SD that's integrated in this ROM?
Fractalogic said:
I have SuperNova ROM on the phone (Supernova_2.4.0.1_signed.zip). I have root and S-OFF (stock HBOOT image). Now that I have finally found a ROM that expands my internal memory some of the apps don't want to install. So the situation is that most of the apps do install, but when I try to install some of them I get an error message right after the download of the app is complete, and before the installation starts.
This is the error message:
One example of app that always fails every time I try to install it, is Angry Birds by Rovio Mobile. The download size is 33.83 MB (version 3.1.0) and right after the download completes it gives me the error that the download was unsuccessful.
What is this? Unsuccessful download? How can it be unsuccessful? I just saw the download complete!! This is more of an installation problem than download problem.
Why does it affect only some of the apps and not all of them?
I thought this had only to do with game apps, and/or apps with large install sizes. But I have installed Benji Bananas (version 1.9) which is 16.88 MB and some other heavy apps without a problem.
Does it have to do with where the app defaults to install? Default install location? Apps that install to SD (support Froyo App2SD) by default? Maybe this is somehow messed up with the App2SD+ and Data2SD that's integrated in this ROM?
Click to expand...
Click to collapse
Read this:https://supernova.droidzone.in/category/faq/ at 28.
Thanks Tonal! I actually visited that same FAQ page earlier today but I gave up after reading through half of the page. I didn't think that this issue was covered by the FAQ. I didn't expect to find it at the bottom of the page as the last Q & A. I feel like they should move this up to the top, maybe even make it the question number one, as I'm sure others have faced this issue before and it's probably a frequent issue.
Here is a copy of that Q & A for future visitors.
28 Question: I am unable to install large apps (typically >25 MB or thereabouts) on my phone
This is a limitation of Market cache. To solve this, you have to tweak your software a bit.
Beginners: You need to first install an app called Scriptmanager from the Market. Once done, download a script named cacheboost.sh from here. Run Script Manager, and select this downloaded script. Execute is as root (the icon with Skull and Bones must be activated). This script must be run after a reboot, and before you want to install a large app. The changed made by the script are lost after each reboot, though the app you installed remains installed. If you find yourself running this frequently, you may add the path to this script in an init.d script to execute it at every boot.
Advanced Users: Download cacheboost.sh script
Open a terminal emulator or adb shell interface
Code:
cd /path/to/script
chmod 755 cacheboost.sh
./cacheboost.sh
If you wish to load the script at every boot, add a line in /system/etc/init.d/01data
Click to expand...
Click to collapse
So this has to do with the cache of the Android Market app not being big enough. Go figure!
All of this is redundant however. Because I have solved it by simply manually installing the latest Play Store app (replacement of Android Market). It refused to install over ADB, so I had to copy the APK file to the SD and then open it with a file explorer.
Here's a short how-to.
Download the APK file for Play Store.
Connect the phone to the computer. If prompted, choose to mount as disk drive.
Copy the APK file to the SD card.
Disconnect the phone.
Go to menu, settings, applications, and enable unknown sources.
Start a file manager app (I used ES File Explorer, but ASTRO is good too).
Browse to the file (/mnt/sdcard/) and tap it to open. You'll be prompted if you want to replace a system app. Tap OK to continue.
I have included screenshots and the APK for the Play Store since I had it readily available anyway. But you can also check out this post at DroidLife and follow the download link there. It looks like they link to version 4.0.25. Mine is 4.0.27 which is even better.

[Q] LG Optimus One P500 GAPPS

PA 4.4.3 from this thread: http://forum.xda-developers.com/showthread.php?t=2789356
Can't install even micro GAPPS, so need help with that. There is a post in that thread
1. Installed ROM as instructed in OP, rebooted the system and system works as it should be. Since user apps have not yet been installed, system running fast and smooth as usual.
2. Tweaked build.prop: dalvik2cache script (dalvik.vm.dexopt-data-only=0), in order to move [email protected]*.dex files from /data/dalvik-cache to /cache/dalvik-cache and enable soft keys in navigation bar (qemu.hw.mainkeys=0). Rebooted the system and it works just fine. However, dexes still occupy /data/dalvik-cache. Need to be removed manually and gained plenty of free space (ca. 180 MB) in internal memory (/data) afterward.
3. Link2SD works, no headache, since it's fresh installed . However, restoring apps using TB, even a single app took minutes or failed. Will explore further.
4. No need to flash GappsLight. Google services files are already included in /system/app-priv. Simply installed the latest gmscore.apk, login into G server and all G services (incl. Playstore) works as it should be.
5. Will try PA features and report it later. At least floating window works like a charm. Hover? looking how to enable it.
Click to expand...
Click to collapse
Can you please translate it into normal, simple English and additionally provide info how to install GAPPS? PA itself is looking great, I really want to use it, but I need GAPPS. Thank you in advance!
#4 explains exactly what you need. Find that apk and install it.
#stayparanoid

[ROM][STOCK][Lolipop][deodexed,resigned,zipaligned] D5503 14.5.A.0.270 Enhanced LP

Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), 5way reboot menu ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master .
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242/tree/ae7b18de7faa97eaf01eff1c2b6abeb540feaf6f and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Before you flash rom please read "iportant" section! Flash these new zip with any recovery. Done.
Mirrored download link (using this you no need to repack anything, just download and install!):
- https://mega.co.nz/#!Co1yERia!eJVCBjTZrjXok3KXZxM9xp_28I9Pos-LPYKjigJ6Bok
Important:
- you must fully wipe /data partition (mean delete everything from /data folder)! Or another solution, flash only userdata from any LolyPop ftf! Why? Because all old files from internal storage is not relabeled and you will encounter a lot of problems and all these files can not be accessed from android, pictures, private files... etc is not accessible than! Don't think it will work without wipe, it will not! Wioe data factory reset have no sense, I recomend installing userdata from ftf since its more a safe way!
Changelog:
- https://github.com/munjeni/D5503_14.5.A.0.242/commits/master
Enjoy!
munjeni said:
Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master . Curently I am stoped development on this rom since I am unable to solve thing like this -> lolipop have two classpaths (BOOTCKLASSPATH and SYSTEMSERVERCLASSPATH) and I not understand how to access classes from one classpath to another classpath, if you have idea how I can get this than I will probably continue development. My plan was implementing privacy guard rom cm12 but since I have problem accessing classes I am temporary stoped
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242 and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Flash these new zip with any recovery. I have made some automated scripts so you no need to wipe anything since everything needed will be done auto so just click "install" and wait until rom get installed.
Enjoy!
Click to expand...
Click to collapse
Flashed this ROM and it is amazing.
Debloated it, installed some mods like xposed, xposed fix, modded services.jar for superuser mode, modified mixer_paths.xml for more loudness and some apps like MyAndroidTools, TitaniumBackup, Greenify.
Works like a charm and good battery life.
Only thing is the aweful toogle change by Google (no silent, vibrate toggle on quick settings) - but this depends NOT on your ROM.
Thx munjeni (one more time) for your time, work and effort.
m.
Investigated and got solution for 5 way reboot menu
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
munjeni said:
Investigated and got solution for 5 way reboot menu, you can download from here (just download android.policy.jar and replace) -> https://github.com/munjeni/D5503_14.../system/framework/android.policy.jar?raw=true enjoy
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
Click to expand...
Click to collapse
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
moonryder said:
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
Click to expand...
Click to collapse
I have no idea why it is caled SuperUser Mod since it have nothing related to SuperUser. It is just SignatureDisable mod, author stupidly gave these name to these mod which apsolutly have nothing related to superuser If you look into commits on my git you will notice that you no need his services.jar since my rom allready have disabled signature verification, I not guarant you how his services is patched, but I can sugest you to replace services.jar whith one from my rom since compatibility is guaranted
This http://www.androidauthority.com/cyanogenmod-12-superuser-577985/ is what I call superuser mod (I have plan to port it here), and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
munjeni said:
...and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
Click to expand...
Click to collapse
LOL
Ok bro will wait for a "real" PrivacyGuard for LP 5.0.2, modded by the master munjeni itself
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
nemphis said:
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
Click to expand...
Click to collapse
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
I can install apps from sdcard [emoji18]
But I am unable to download some apps from playstore
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Freshly installed and everything is perfect ! Thank you very much brah !!
D5503 UB Dstriker ROM KK.157
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
i tried that and / or replaced some things like bootanimation, fonts etc.
Flashing failed, so flash it untouched and remove / add things then.
pathaniya said:
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Click to expand...
Click to collapse
I'm trying to solve this but have no idea how to do it, it is selinux restriction (if somebody have idea how it can be solved let me know please), but temporary solution is: via terminal emulator disable selinux, than install app, than enable selinux. To disable selinux write "setenforce 0", than install app, than enable selinux "setenforce 1"
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
You can but only if you propertly remove lines from updater-script since it is hardcoded with our rom, instead recovery will abort installation if you missed something in updater-script ! My sugestion is, remove things manualy using an root file explorer, or at least add some lines in updater script which will remove things that you want
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
EasySR said:
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
munjeni said:
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
Click to expand...
Click to collapse
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Hey guys, I'm having a hard time installing xposed installer, I get "not enough space" error. Could any of you help out a fellow user..?
D5503 UB Dstriker ROM KK.157
EasySR said:
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks for info. On my rom selinux must be disabled temporary before installing any app from sdcard, than enabled. I will try to understand why it happening. For sure it is related to selinux. I replaced platform key in selinux_policy.xml since all apks on our rom is resigned and zipaligned but it was not solved problem related to the installing apks from sdcard.

Categories

Resources