Workaround to avoid/solve problems with wifi in custom roms - Xiaomi Redmi 2 Guides, News, & Discussion

I suspect the cause of this involves the gapps package (no matter what, and I can not explain how, as it does not appear in the logs). I have tested several roms with the following procedure: Install the rom zip package, restart and let the system start, then restart in recovery mode and install the gapps package and supersu / magisk or another root package if it is to be used (to configure the Google account is just connect on the wifi and open the play store).
In all the roms it happened that wifi problem dropped or without surfing, using this procedure I do not have the problem with the wifi in any rom.
* It might work with you, or it may not work.
(Sorry for bad English)

Related

Huawei P8 [ROM][6.0][EMUI 4.0.3]MagicArrow - Custom ROM European Firmware b398 based

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Huawei P8 Custom ROM
* MagicArrow *
Version Two
Magisk Edition and Classic Edition
Teamwork by Tecalote and KangV
Based on the European firmware b398 - only installable, if you are already on Marshmallow Firmware (Android 6)
Developed on GRA-L09 C432 - but it should run on all GRA-xxx models and regions due to my modification
Thread for German Users: https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p8.2257/huawei-p8-rom-6-0-emui-4-0-3-magicarrow-v2-by-tecalote.819399.html
Well, you've been waiting long enough I am pleased to present you the new version of Arrow under the extended name "MagicArrow"
1) Difference between Magisk and Classic Edition:
The Magisk Edition was made to have a safteynet capable device that still offers much more features than Stock Firmware ... It has the same features like Classic Edition, with one difference: Outward It looks as if you had not unlocked the bootloader .... Apps like Pokemon Go, various banking apps - which does not work anymore on rooted devices should work in this Rom
However, you can not install Xposed Framework in the Magisk Edition without losing the green safetynet! There is the systemless Xposed Framework by topjohnwu, the developer of Magisk and it works, can be easily downloaded and installed in the Magisk Manager via modules (SDK 23) - but - there is currently no way to pass safetynet with a modified custom Rom together with Xposed Framework! For this reason, the installation pool in K-Settings for Xposed is removed from its function.
Attention: Update the preinstalled Magisk with newer Version 15.3 flashable zip made for this ROM: https://forum.xda-developers.com/showpost.php?p=75178940&postcount=871
Then look in the Thread for new posts about future Updates.
The Classic Editon is rooted with SuperSU and has same features, but you cannot bypass safteynet check. However, who does not run apps depending on this "questionable" service will have the same joy with this Rom. The advantage of the Classic Edition is: You can install from K-Settings Wanams Xposed Framework 87.1 and use a lot of Xposed modules ...
2) Requirements and information for this Rom:
If you want to have the best of this Rom, then it would be necessary to start completely clean - means from Custom Rom back to Stock Firmware b398 - With the exception of devices for which there is no more recent firmware than b370. An EMUI Custom Rom is as good as the before installed Firmware in the background. In principle, only system, cust and kernel will be flashed with the Rom zip. The original Firmware update a lot more, like modem etc. Therefore, the Custom Rom works best if you start from latest firmware for your device on which the Rom is based.
If you have already latest official Huawei Stock Firmware installed, it is less work...
I really dont recommend to flash dirty this Rom directly from Arrow v1 or if you stay on older Firmware. System and Apps will be wiped with the installation script. So you cannot keep your previous apps and data, you have to install them new.
You need the latest TWRP:https://dl.twrp.me/grace/twrp-3.1.1-0-grace.img Do not use older ones!
The bootloader must be unlocked. Pick up the Huawei unlock code, because it is always valid for the same device. If you do not have an unlock code from Huawei and have problems to get it from Huawei Website, recently you can call regional Huawei service hotline and get the code by mail during 24 hours.
3) Installation guide for the MagicArrow:
1) Backup your apps and data from your current Firmware or Rom - but only User-Apps and not System-Apps. You can use Huawei Backup as well as TitaniumBackup. (Dont restore any System-Apps from previous system in the new Rom - example: if you use Huawei Backup dont backup Phonemanager, but you can backup desktop layout, sms, calendar, User-Apps etc.) Dont backup and restore Chat-Apps like WhatsApp, Viber, WeChat, Facebook and so on - use their inbuilt Backup Function like Google Drive Backup (its different, some Apps are storing everything on their server like Telegram) You must install and register Chat-Apps new on your new Rom. If you dont do that, Push-Notifications cannot work.
2) Make a backup of important folders and files from your internal storage (DCIM, WhatsApp folder, Downloads....)
3) Download Firmware update.zip - depending on the device model - and unzipp it on your PC - you receive META-INF and UPDATE.APP
GRA-L09C432B398: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G985/g104/v88316/f1/full/update.zip
GRA-L09 with other Cust: http://hwmt.ru/hwmtsite/firmware-database/?firmware_model=GRA-L09&firmware_page=0
Other GRA models: http://hwmt.ru/hwmtsite/firmware-database/?firmware_model=GRA&firmware_page=0
4) Copy UPDATE.APP and META-INF into a folder on the root directory of your external SD which must have the name: dload
5) If you are on Stock Firmware, not rooted you can directly update your Firmware. But go to step 6
A) If you are on Stock Firmware, but rooted, with TWRP installed and Xposed Framework installed, uninstall first Xposed Framework, reboot to system, after unroot your device, restore original boot.img and flash the original Huawei Stock Recovery.
B) Arrow Editions: If you have Xposed Framework installed, uninstall Xposed Framework, reboot to system (15 min) - after go to step 6
If you are on Arrow v1 Classic Edition without Xposed Framework, flash Huawei Stock Recovery from K-Settings /more settings / flash recovery - flash official recovery. You can reboot directly from here to Stock Recovery.
If you are on Arrow v1 Magisk Edition without Xposed Framework, flash with TWRP Magisk Uninstaller: http://tiny.cc/latestuninstaller and after flash Huawei Stock Recovery b391 (by choosing img): https://www.androidfilehost.com/?fid=529152257862705190
- go to step 6
6) Press Vol+ and Power Button until phone reboot and hold this position until phone boot up to Stock-Recovery. Here you do first "Wipe Cache Partition" and second "Factoryreset" - go to step 7
7) If you start EMUI Update from here, just go to Restart and press Vol+ and Vol- (in the middle down and hold this position), wait until phone reboots and EMUI Software Installing begin (of course, update.app and meta-inf must be already in dload folder)
If you was back in system between you can start update with pressing down Vol+ and Vol- in the middle and at the same time pressing Power Button. Wait until phone reboot and you see Huawei Logo. Now you can release Power button, but you must keep holding all the time the pressing down postion with Vol+ and Vol- until EMUI Software Installing begin. After some time your firmware is updated and restart to system. Dont make an account yet, just make short setup.
8) Open settings /about phone and klick 7 times on build number for enabling developer options. Open developer options and in there enable USB Debugging. After go to settings / (advanced) settings and enable "unknown sources"
9) Connect your device with USB to your PC and let windows install the drivers or install HiSuite (which installs drivers if windows cannot recognice) You need the USB Connection. With Minimal ADB and Fastboot in administrative mode you can flash now the newest TWRP, which I have linked above.
10) Disconnect your device from USB Cable, soon TWRP is succesful flashed
11) With Vol+ and Power Button reboot your device to TWRP - this step is important if you want to keep TWRP
12) Allow system modification and go to ADVANCED WIPE - choose in the first step ONLY internal Storage (nothing else). Do not wipe internal Storage together with the other partitions in step 14! Soon internal storage is wiped, go back to main menu and restart the recovery. You should get the Root Permission request from TWRP "Allow system modification" once again, allow it and open settings to configure (24h clock, language, time zone, etc) If you dont get the Root Permission request from TWRP yet, you will get it after next boot to TWRP.
13) Now copy MagicArrow.zip to your external SD - Attention: If you want the boot sound to be played on the phone - before flashing the Rom, sound must be switched on!
14) Boot to TWRP and go to ADVANCED WIPE - Wipe following partitions:
Dalvik/Art Cache
Cache
Cust
data
system
15) Go back to main menu and flash MagicArrow. After flashing is done, reboot system without wipe of dalvik/cache. As you know, the first boot process can take up to 15 minutes (just like installing the Xposed Framwork)] After boot to system and first setup - you have to make some IMPORTANT STEPS (see next Point) before you restore /installing your apps and adjust your phone.
4) Important information for the Magisk -Edition:
During first setup you may receive a root-rights request, if so, confirm this. After first setup - please do not open the Magisk Manager . Before you do anything else,open settings / about phone and klick 7 times on build number to enable the developer options. Open developer options and in there enable USB debugging! Then go back to Settings - in the b398 there are the extended settings with the short name: Settings. In it, please enable " allow unknown sources "
At this point restart immediately your P8.
Now open the Magisk Manager, the app is looking for updates - to speed this up, drag from first white field (like refresh of a website in Chrome) with the finger pressed down - the manager is up to date. Makes a query of the Safteynet = green.
Then you go in the Magisk-Manager left to the Controll-Pannel to settings. Do not change anything, with one exception: enable systemless hosts! This step is very important. Then immediately the second reboot .
Next open AdAway and activate the hosts file (download files and activate the advertising block) - then the third reboot .
After open AdAway again and see if the hosts file is active, if it is, all well, if not, download the hosts files once again and restart P8. (Sometimes another reboot is necessary at the point) Only when AdAway is green (activated) - then the safetynet is passed by. You can now again check in the Magisk manager safetynet = green - if you do not these steps, you can break the safetynet. In addition, root and apps can be blocked!
As you know, Magisk uses his own superuser, integrated into Magisk Manager
For some reason if you have problems with safetynet with some apps, just download the following module in the Magisk Manager in the Control-Pannel under Download:
Universal Safetynet Fix
Otherwise, please do not download any modules, you do not know if they run and what they do.
Two modules are preinstalled - please leave this, otherwise this Rom does not function properly with K-Settings!
5) Important information for the Classic -Editon:
The Classic edition gets systemless Root during the installation by SuperSU 2.82 SR1 (SR1 has an integrated update for Huawei devices). After Rom is flashed and you restart phone, the first boot process will terminate, the device will restart once again - this is normal because of systemless rooting . Why systemless this time? Because of compatibility with SuperSU. The new versions of SuperSU are rooting always systemless. If there is the next Final version of SuperSU, you need only flash the zip in TWRP and there are no problems with the update.
To enable AdAway , just download the AdAway ad block (hosts file) and reboot the P8 - but after rebooting, please open AdAway again and see if it worked the first time - otherwise just download again and restart the device once more. The second time it fits. AdAway is controlled by the systemless root using an init.d script that mount the hosts file systemlessly and this script is usually only active after the second restart. If you ignore this step, you can block root privileges.
6) Features:
• VoLTE and IP-Calling enabled - disable it, if your mobile provider dont support it!
• Push notifications working - Enable WhatsApp, Telegram... as protected apps and enable Wlan and mobile data during "sleeping mode" as always on
• Most Gapps contained in system debloaded - please dont flash any GApps, just install it with Playstore (Core GApps and settings are present in the Rom)
• System is deodexed
• pre-rooted: Classic Edition by Chainfires SuperSU 2.82 SR1 - Magisk Edition by topjohnwuMagiskSU 13.3
• BusyBox 1.27.1 - Please dont change this BusyBox to any other (not Stericson, not JRummy...)
• Call Recorder - You can enable recording manually, if a call comes through with the memory icon in dialer - or constantly in dialer settings
• Some nice themes, BlackPyramid ...
• K-Settings - as usual with extended restart menu
• MiXplorer (very powerful Root-Explorer) and TitaniumBackup (can store backups without any problem through storage SD instead of document provider)
• Dolby / Atmos for Teamwork with Viper4Android - best experience with BlackPlayer (or similar) but not Huawei Music App
• Security patch level 1 July 2017 - all known Stagefright Security holes are closed
• Multiwindow mode - you can start this mode with long tap on square in navigation bar. Close the Mod in the middle with the turquoise symbol.
• Viper4Android (enable it via K-Settings) can be linked to its settings permanently in notification bar for quick access. - as usual.
• Xposed Framework of Wanam included in K-Settings, Installation start from there, reboots automatically. The Restart needs about 15 minutes.
• VIA Browser instead of Chrome
• AdAway - newest release
• And much more...
7) Phone Manager and the app PMPlus:
Phone Manager does not include the Autostart Manager in European Firmware. The advantage is: you do not have to worry about anything, everything is controlled automatically - and also works. But the battery consumption is slightly more, since all apps wait in the background to be called.
With the app PMPlus, you can activate the Autostart Manager in the Phone Manager. To do this, start the app, go to Installation and as soon as the succesful message comes, close the app (can be uninstalled thereafter). Now, on screen two of the Phone Manager, the entry "App auto-launch" appears!
But NOTICE - through this upgrade will initially set ALL Autostarts to 0 ! You must manually enable the most important apps in App auto-launch - all apps that should receive push notifications - and, most importantly, SuperSU in the Classic Edition and Magisk Manager in the Magisk edition. Otherwise Root permissions do not work!
Advantage: You have control over which apps should not start at system start or in the background (if you need it rarely)
But you must always remember to activate a newly installed app there if necessary. Example: Amazon, E-Bay, PayPal - some of these apps are coupled and not only need the autostart to work , but also the so-called " app activation " (which appears in Autostart Manager when such apps are installed)
Disadvantage: If the apps are not configured correctly in the mask, you have more trouble than good. So, if you're not control freaks, then let's keep your fingers out of it.
But if you want to activate this function, it is recommended to do it at the end, if you have already installed all the apps you are using and not before!
8) Disable Chinese Letters:​
The Rom is European, but the K-Settings are from KangV. Thats why the Lunar component is installed in K-Settings (these are the only Chinese letters in this Rom).
To hide these, go to K-Settings:
1) Lockscreen and desktop settings and disable: "Lunar Calendar" and at "Desktop weather lunar"
2) Notification settings - disable: "Show statusbar lunar"
9) Save Battery:
NFC (with Android Pay) ist enabled by default - disable it and enable it only for the time you need it
VoLTE is enabled by default - disable it, if your mobile provider dont support it
Location Settings (menu: scan settings) disable WLan and Bluetooth Search while Wlan and Bluetooth is disabled, Navi Apps are working also without this setting.
Performance is enabled by default - change this in Akku-Manager (part of Phone Manager) to SMART
With "auto app-launch" (if you have installed) you can disable Apps which you use just sometimes.
Bluetooth enable it - if you use it and disable it - if you dont need it at the moment
9) Download MagicArrow:
MagicArrow Classic Edition: https://www.androidfilehost.com/?fid=889764386195920974
MD5: 5ee32443300f10dcbced4808101aff42
MagicArrow Magisk Edition: https://www.androidfilehost.com/?fid=673368273298976764
MD5: 7afa8619778a81a11a60665f27b2289f​
Magisk-Update to 15.3 - use only this zip from this post please: https://forum.xda-developers.com/showpost.php?p=75178940&postcount=871
Please check the MD5 after the download! Because if the download / the zip is faulty - then you have problems after the flash!
And please keep to my instructions - then everything is as it should be
Have much fun with this ROM
Many thanks to KangV for his K-Settings Framework
If you like K-Settings - fell free to donate KangV: https://www.paypal.me/KangVIP
If you like MagicArrow, I am happy about some beer: https://www.paypal.me/Tecalote
Many thanks and credits to other great Developers:
@guitarededhero (Viper/Atmos) https://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
@wanam and @rovo89 and @DVDandroid for the Xposed Framework Development
@HootanParsa (MiXplorer) and @YashdSaraf (BusyBox arm64)
@topjohnwu (systemless Xposed Framework and Magisk)
@Chainfire - SuperSU
@dkionline - Custom Roms for P9
@Blackball - BlackPyramid Theme and Custom Roms for P8 - P9 - P10
​
Last Thread Update: 03.01.2018
Right settings for Push Notifications and install manual for Stock Firmware Update
Right Settings to make Push-Notification work for Chat-Apps like WhatsApp:
Settings with Phone Manager:
1) Once you have installed with PMPlus the Autostart-Manager called: App auto-launch as a part of Phone Manager- WhatsApp, Viber and all those apps must be activated!
2) Activate these applications also in Protected apps
3) In Notification center activate for these applications - Priority display, Status bar, Banners and Lock screen
4) If these apps are available in Dropzone management - activate them
5) In Phone Manager /open Akku-Manager (Remainning) and in this mask open the settings-symbol above - deactivate Power-intensive prompt and deactivate "Close excessively power-intensive apps" and some lines below:
Activate: Keep Wi-Fi on when sleeping ALWAYS - Keep mobile data on when sleeping
Settings with Permissions and Notifications:
1) Open settings /Apps and search for WhatsApp. In this mask you find Permissions- and Notifications-Settings , go inside of both and set the needed permissions for the app and also "Alllow Notifications" and Priority display
Settings in Developer options:
1) one point after "use legacy DHCP client" - set: Mobile data always active
Additional Settings:
1) Settings /More - Open Mobile network and set: Mobile data - and Enable always-on mobile data
2) Open Settings /Wi-Fi and go to menu in the right corner below "Advanced setting" - set: Keep Wi-Fi on during sleep ALWAYS
3) Open Settings /Notification panel & statusbar - activate: Notification panel "Allow notification panel to be opened from the lockscreen if not password protected
4) Open Settings /Screen lock & passwords - activate "Show detailed notification info" and activate optional "Notification turn on screen"
For most users of ARROW Push-Notification for Chat-Apps are working now as they should (whitout converting them to system-apps like in Gratitude before) -
And for most users battery life is much more better than in Gratitude or in Stock Firmware.
But for some users not!
- Notifications coming not constant or not at all - andBattery life is worse than before - How can that be?
Answer: The complete different initial situation and sometimes also the settings.
Initial Situations (examples):
User A updated Lollipop with Stock Firmware to Marshmallow a long time ago (example: from b200 to b317) - after he was going to Custom Rom "Gratitude" - and from this time he was never back to any Stock Firmware and flashed new versions of Custom Rom always dirty.....
User B was also last on b317, after on "Gratitude" and flashed every new version clean, with Fullwipe.....
User C was last on b321a, after on "Gratitude" and flashed every new version clean, with Fullwipe but Arrow dirty....
User D was on Gratitude 5 and then he go back to Stock Firmware b370 - from there with OTA to b382 and after he flashed TWRP and did a Fullwipe before installing ARROW - this user has the best starting position! And for this user ARROW should work as provided
Why?
Custom Rom can only modifiy on Huawei Devices following partitions: system - cust - vendor (and nothing else!) Modem Updates, Updates for Push-Notifications and other sync services or battery software updates are coming with official Firmware!
The best performance for ARROW is given, if your Marshmallow Firmware and Bootloader and Modem.... is also up-to-date.
There is no need to do following steps, if you have flashed ARROW and everything is fine for you.
I would recommend to go back to Stock Firmware as an step between - before flashing ARROW - for Users which come from Gratitude and for Users which have already ARROW installed and issues with Push-Notifications or too much battery drain!
(STOCK-RECOVERY AND UNROOT IS REQUIRED - AND YOU NEED ALWAYS FULL FIRMWARE FROM CUSTOM TO STOCK) - see install manual below!
The Full-Firmware you download (no OTA Files please) should be minimal b370 (which is available for all models). After this EMUI-Installing with reboot to system you can use in settings the Update-App to receive the next OTA Update and install this also. If the Update-App says after installing "no more Updates available" it is okay!
Normally you can use one Full-Firmware above b370, for GRA-L09 it is b382 - alternatively you can use b391 - but a higher version like b391 seems not work (cause Rom is based on b391)
Complete List of Huawei P8 Firmwares (for all models and cust v.): http://hwmt.ru/oth/HWFF/info/view.php?find_model=gra
GRA-L09:
GRA-L09 Full Firmware b370: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v54178/f1/full/update.zip
GRA-L09 Full Firmware b382: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v69133/f1/full/update.zip
Attention: Bootloader may closed after update with Firmwares above 390 (even if showing in fastboot mode as open - but cannot flashing TWRP "command not allowed" - needs unlock Bootloader again)
GRA-L09 Full Firmware b391: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G985/g104/v71319/f1/full/update.zip
Complete list for GRA-UL00: http://hwmt.ru/oth/HWFF/info/view.php?find_model=gra-ul00
Complete list for GRA-TL00: http://hwmt.ru/oth/HWFF/info/view.php?find_model=gra-tl00
Complete list for GRA-CL00: http://hwmt.ru/oth/HWFF/info/view.php?find_model=gra-cl00
Firmware for GRA-CL10: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G985/g104/v73798/f1/full/update.zip
Complete list for GRA-UL10: http://hwmt.ru/oth/HWFF/info/view.php?find_model=gra-ul10
Install manual:
To go back to Stock Firmware you have to do following steps:
1) Backup what you need to backup! Use Huawei Backup and also Titanium Backup. NOTE: But dont restore in the new ARROW then system-apps or data from system-apps from previous system! Restore only USER-APPS. For Chat-Apps like WhatsApp, Viber, Skype use the built-in Backup function - but keep or backup the folder from those apps on internal memory (because you need them on the same place if you reinstall those apps)
Battery must have minimal 80% doing those steps....
2-A) Users of Classic-Edition: Open K-Settings /more settings /flash recovery - Flash official Recovery (grant Root-Permission) - this flashes Stock Recovery in half a second.
2-B) Users of Magisk-Editon: Please go to TWRP and flash Magisk-Uninstaller.zip to unroot your Phone. Users of Gratitude Magisk Edition should also flash unsu.zip (both linked in OP) After reboot make a connection with USB to your PC. With Minimal ADB and Fastboot program (on PC) flash Stock-Recovery. If you dont know how to do, ask me in this Thread. Download: https://www.androidfilehost.com/?fid=529152257862705190
If you have Xposed Framework installed - uninstall it (Magisk Users in Magisk Manager/Modules - Classic Users in K-Settings /Xposed Settings /Install Xposed confirm - Reboot needs about 15min)
3) Download the Full Firmware for your model, unzipp it on your PC (mostly you get update.app and meta.inf)
4) Create a folder on internal memory or external SD and name it: dload
5) Copy only update.app and meta.inf (if meta.inf is present) in this folder. After DISCONNECT USB from Phone!
6) Reboot to Stock Recovery - with Restart menu (also possible with pressing Vol+ and Power-Button at the same time as long until Recovery is displayed)
7) Wipe Cache with Stock Recovery (it uses another engine than TWRP) and do after a Factory Reset. There is no need to restart the phone to system now. Go to:
8) Press Vol- and Vol+ (in the middle) and Power-Button at the same time, until phone reboots and EMUI-Software-Installing is displayed
9) Let the EMUI-Installing finishing - it reboots automatically to system and starts the EMUI-Optimizing - wait until Language-Selection is displayed. Make a short set up (You can skip the most) - but it is important to arrive the homescreen.
10) Go to Settings / About the phone and tap 7x (times) on Build-Number. It activates developer options.
11) Go to Developer options and activate USB DEBUGGING - after open Advanced settings /security and activate "Unknown Sources"
12) Connect Phone with USB to your PC (Accept the Fingerprint query with "always" on your Phone) Look, if Windows installed the right drivers so you have access to phone - if not install HiSuite http://consumer.huawei.com/minisite/HiSuite_en/index.html and make a connection with HiSuite. Allow installing HiSuite on Phone. If you have access now, close HiSuite (also in Background).
13) Copy ARROW-Rom to your Phone.
14) With Minimal ADB and Fastboot flash TWRP: https://www.androidfilehost.com/?fid=529152257862681510 - if you are unsure with the right commands, ask me in the Thread.
15) DISCONNECT USB Cable now from your Phone
16) Press Vol+ and Power-Button at the same Time until phone reboot (at the moment, Huawei Logo comes you can leave Power Button, but keep holding Vol+) Reboot to TWRP takes a while
17) Set up TWRP (allow modification, set language, screen timeout, time zone...)
18) There is no need to wipe internal SD (but if you like to do this, do it at first and restart after TWRP - then you must setup TWRP again)
18) Go to Wipe, Advanced Wipe and wipe: Dalvik&Cache, Cache, data and system
19) Install ARROW Rom
20) Restore User-Apps, but dont restore any System-Apps (or data from it) Chat-Apps install from Playstore, and use the built-in restore function.
ARROW should work now as ist should!
Men like always the best work!! I already intalled the Arrow ROM... At the moment working excellent... Congratulations :highfive:
Hucast_DL said:
Men like always the best work!! I already intalled the Arrow ROM... At the moment working excellent... Congratulations :highfive:
Click to expand...
Click to collapse
Thank you
Hello @Tecalote, at first i wanna thank you for your work! I want to as you, in description you have "Open PMPlus, select "install it" - message "succesful installed" , but not such app is preinstalled in my Rom, clean flashed classic version, any tips?
00471 said:
Hello @Tecalote, at first i wanna thank you for your work! I want to as you, in description you have "Open PMPlus, select "install it" - message "succesful installed" , but not such app is preinstalled in my Rom, clean flashed classic version, any tips?
Click to expand...
Click to collapse
Hi This is interesting - I am at home in two hours and loading up the apk for you.
I flashed both versions of the Rom about 20 times for testing several things and had always the App preinstalled...
I think it is cause of TWRP.
After making a Nandroid Backup before flashing the Rom it has problems to unmount and remount partitions.
If data was not mounted correctly, the App would not be preinstalled - cause it should go to /data/app
That's why I recommend, after making a Backup to Restart TWRP (reboot Recovery) before flashing the Rom...
Tecalote said:
Hi This is interesting - I am at home in two hours and loading up the apk for you.
I flashed both versions of the Rom about 20 times for testing several things and had always the App preinstalled...
I think it is cause of TWRP.
After making a Nandroid Backup before flashing the Rom it has problems to unmount and remount partitions.
If data was not mounted correctly, the App would not be preinstalled - cause it should go to /data/app
That's why I recommend, after making a Backup to Restart TWRP (reboot Recovery) before flashing the Rom...
Click to expand...
Click to collapse
i will try dirty reflash it with mounted data and let you know :good:
EDIT. reflashing fixed it and app appeared, thanks for halp @Tecalote
To say sir, a perfect job, thank you for all your effort and give you the opportunity to have this great ROM. My congratulations and best wishes to you.
Sent from my GRACE using XDA Labs
lespaul79 said:
To say sir, a perfect job, thank you for all your effort and give you the opportunity to have this great ROM. My congratulations and best wishes to you.
Sent from my GRACE using XDA Labs
Click to expand...
Click to collapse
Thanks a lot
Hello, first of all, thank you for this amazing rom. I've installed it about 6 hours ago and its work perfect at the moment. The only thing that I cannot explain is why show me the block screen weather widget in Chinese, can u help me?
enzoade1994 said:
Hello, first of all, thank you for this amazing rom. I've installed it about 6 hours ago and its work perfect at the moment. The only thing that I cannot explain is why show me the block screen weather widget in Chinese, can u help me?
Click to expand...
Click to collapse
Hi
Written in OP
"In ARROW are not included Chinese letters, with the exception of "Lunar" - which comes with K-Settings. Gratitude users know how to get rid of them. For all others:
1) Go to K-Settings, in there to:
2) Notification Settings / Show "statusbar lunar" - deselect.
3) Go to Lockscreen and desktop settings "Lunar calender + desktop wheather lunar" - deselect."
Great work, flashed it on my UL00 3 hours ago after wiping cache and dalvik cache only, everything seems to work alright, I can confirm that this ROM works flawlessly on UL00.
Ammar_ said:
Great work, flashed it on my UL00 3 hours ago after wiping cache and dalvik cache only, everything seems to work alright, I can confirm that this ROM works flawlessly on UL00.
Click to expand...
Click to collapse
Hi Thank you for your feedback!
You have installed the ROM on the Middle Eastern variant UL00C185...
I am glad to hear that it not only works on GRA-L09
This is what I promised, but I wasn't 100% sure - cause I have only L09...
I am interested which build number is displayed in "About the phone"?
Thanks!
Everything is looking good so far. Thank you for your time and effort!
How do I activate automatic call recording? Is there a possibility of adding more regions to this rom? I have region specific software that fails. My digital satellite provider's software checks my region before it can work. I'm in South Africa.
rodlane said:
Everything is looking good so far. Thank you for your time and effort!
How do I activate automatic call recording? Is there a possibility of adding more regions to this rom? I have region specific software that fails. My digital satellite provider's software checks my region before it can work. I'm in South Africa.
Click to expand...
Click to collapse
Hi there Automatic Call Recording can be enabled that way:
Open the Dialer App - below left is a star, below right is the symbol for the settings menu. Open it and there you can enable automatic call recording.
For the other issue: Can you give me a link to an African Marshmallow Huawei Stock Firmware? So I can look at it and perhaps include the Region.
Which Region did you set up right now?
Thanks very much man!
Flashed it last night, after it took me half an eternity to backup all my files (had something messed up so I had to look a bit deeper). Flashing and all was fine, including xposed via magisk.
Been using it the day now, but at 2 Things im not sure if it is caused by the Rom or by the latest whatapp update:
-in widgets i can select WhatsApp - but there is no more this huge 4*2 widget with message-preview, does anybody else have this? (only WhatsApp Chat and WhatsApp camera available there)
-even though i have given WhatsApp all permissions, my Screen won't wake up when i receive a message. It was quite usefull while the phone lay at my table i could see in one glance whether or not it was important and decide to pick it up
....okay i have tried a bit and found out my Screen also won't wake up after receiving sms or email.. where could i look after that? every app has "Show on lockscreen" enabled
There was another thing, which i could't read fast enough, but it was something with kvip Settings and some overlay permissions and a path where to find them or so?
it popped up a couple of times at the beginning (those little messages in the lower middle of the Screen, just like "wifi connected") next time i will try to make a screenshot of that.
edit:
@Tecalote congrats for 500 Posts and 300 likes! :good:
@Tecalote your ROM IS ****ing awesome, congratulations!!!
Enviado desde mi HUAWEI GRA-L09 mediante Tapatalk
@ChavezD For the Wakeup Screen you must open Phonemanager and in there the Notification Manager. Every App like WhatsApp and Gmail, Email... is in the list - open WhatsApp or Email in the list and set up "Showing on Homescreen" and everything.
The other things I must look. Small popup messages should be shown, like "RAM 1.7 GB available, Wifi connected".. I must look later, at the moment I am not at home
Edit:
For enabling the Wakeup on Homescreen - you must go to Settings /Screenlock and Password - and there set up : Notification turn on screen!
Tecalote said:
@ChavezD For the Wakeup Screen you must open Phonemanager and in there the Notification Manager. Every App like WhatsApp and Gmail, Email... is in the list - open WhatsApp or Email in the list and set up "Showing on Homescreen" and everything.
The other things I must look. Small popup messages should be shown, like "RAM 1.7 GB available, Wifi connected".. I must look later, at the moment I am not at home
Click to expand...
Click to collapse
@Tecalote yeah those Settings are all activated, really don't know what went wrong for me again or what i broke..
EDIT: OH god damn it, thank you so much! I hope i didn't actually disable it half sleeping this morning/"night"
Take your time, it wasn't annoying or anything, just wondered what it was. But it's exactly as you described, but not just 4 words but 4 rows or so in the same time period.
Maybe im also gonna reflash and not install every stupid app i've installed once. Is there any Chance to stop Google from automatically downloading all (>100) recently installed apps after reflashing a Rom? [I always Flash clean, so.. no dirty Flash for me^^]
Edit2: I think in those Messages i was talking about it wasn't Overlay - it was Dropzone. But still no clue what i should do there, everthing is allowed that wants to be
ChavezD said:
@Tecalote yeah those Settings are all activated, really don't know what went wrong for me again or what i broke..
EDIT: OH god damn it, thank you so much! I hope i didn't actually disable it half sleeping this morning/"night"
Take your time, it wasn't annoying or anything, just wondered what it was. But it's exactly as you described, but not just 4 words but 4 rows or so in the same time period.
Maybe im also gonna reflash and not install every stupid app i've installed once. Is there any Chance to stop Google from automatically downloading all (>100) recently installed apps after reflashing a Rom? [I always Flash clean, so.. no dirty Flash for me^^]
Click to expand...
Click to collapse
Hi again You can stop Google from downloading the previous installed Apps at the first start. After Google Login you will be asked if you want to restore - just deny.
Don't know yet what you exactly mean with 4 rows in the same time.
Do you mean perhaps Toast Messages? There's for example an Xposed Modul called "Perfect Color Bar" - in this you can enable "Toast" with mixed compatibility. After you get instead of the the small black info messages colored ones with the symbol of the App message. There are also other "bars" on the Repo for customization that messages.
Do you remember which official firmware did you have before using Custom Roms like Gratitude? b317, b321a, or b370? I know, there were some modem updates coming with the official firmwares (which cannot be done with Roms on Huawei Phones)
Maybe you should update to officially Firmware as an step between before reflashing the Rom. For this you would need the Stock Recovery, which can flashed from K-Settings, more Settings. On xda you can find the b391 here:
https://forum.xda-developers.com/huawei-p8/how-to/firmware-huawei-p8-b391-gra-l09c432-gra-t3534020
It would refresh the Rest of your Phone (which cannot be reached by ROM) - and after the ROM can work as it should...
Just an idea

7.1.2 rom setup wizard fc workarounds

Why this happens there is no working 7.1.2 gapps package available for arm devices
Please please take a backup off all partitions in twrp in something goes wrong
Method 1
clean flash( wipe all bit internal storage) or dirty flash up to latest 7.1.1 rom build and then install latest 7.1 gapps pico or minimal
setup completely reboot and then dirty flash up to 7.1.2 ROM build you may need to reinstall mods
Method 2
wipe all but internal storage install 7.1.2 ROM and any mods no gapps then let it boot
Reboot and install latest 7.1 pico/minimal gapps then reboot
Method 3
1. Flash ROM (and SuperSU).
2. Reboot and setup your Wifi.
3. Flash Gapps
4. Setup your account in settings after reboot.
This can bypass the crash.
Method 4
requires a built in file manager or a built in web browser in the 7.1.2 ROM google play store will not work till after fix
Download settings database editor has to be newest version apk from apkmirror and also any terminal emulator apk
clean flash wipe all but internal
Install 7.1.2 ROM and latest 7.1 pico/minimal gapps and SuperSU or magisk
Some ROMs have a built in root so read the ROMs thread this method will not work on these ROMs except some cm/lineage based ROMs may work
Reboot setup wizard will fc probably
So once it does reboot to recovery and delete setup wizard apk from system/ priv app using file manager in twrp some roms may have two setup wizards so check system /app for another setup wizard apk
Reboot it will take you to home screen with limited capability only usable buttons are power and back and no developer options no notification s or quick setting s
Turn on unknown sources in setting menu security section
Then turn off verify apps in setting menu google or google app depending on gapps you used
Then install two apks I mentioned earlier terminal and settings database editor apk
Open terminal app and
Type : su
Type : pm grant by4a.setedit22 android.permission. WRITE_SECURE_SETTINGS
Then open settings database editor apk
And set device provisioned to 1 under global tab
And then set user setup complete to 1 under secure tab
Tada now ROM works
P.S.For ROMs without root access or ROMs with built in root activated in developer options follow root directions until terminal app step do this instead
Type this command in an adb shell
adb shell Type : pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
I have no idea if it will work or not
Then do settings database editor apk step from root guide above
Have you tried >this< simple method?
ze7zez said:
Have you tried >this< simple method?
Click to expand...
Click to collapse
Sounds like method 2 but I'll add it to op
[email protected] said:
Sounds like method 2 but I'll add it to op
Click to expand...
Click to collapse
Just flash Opengapps or BeansGapps after 14 April. No need to do anything. The setup wizard will not FC.
Nitin
OK great to know hadn't heard the good news
Can anyone confirm definitively (as in "It works on my own N4") that Magisk works on an N4, as suggested in the first post? I know it doesn't work for all devices, since it doesn't on my N10. Or equally confirm that it doesn't work because you've tried and can't make it work?
Magisk works on nexus 4 but safety net can't be bypassed by magisk hide on n4 I don't use magisk modules so I can't attest to those working or not

Some modules install without errors, but do nothing

So i recently decided to try out some of the different roms that were released for the moto e4. I decided to go back to Resurrection Remix, and when i tried to install the modules I had been using, found that some of them weren't working properly. There are no errors when they install, but seem to have no effect, such as the volume step increase, or the injected youtube background player...
other modules, like the app systemizer seem to be working just fine...
HigherStateD said:
So i recently decided to try out some of the different roms that were released for the moto e4. I decided to go back to Resurrection Remix, and when i tried to install the modules I had been using, found that some of them weren't working properly. There are no errors when they install, but seem to have no effect, such as the volume step increase, or the injected youtube background player...
other modules, like the app systemizer seem to be working just fine...
Click to expand...
Click to collapse
Did you do a clean install? (Completely wipe data and not restore it again in twrp). Some ROMs have trouble with some modules. Get logs and ask in the modules threads (the ones not working).
Clean install, full wipe, same as before, modules worked fine last install on the same rom, restore failed to boot, which is why I needed to reinstall the previously working modules
HigherStateD said:
Clean install, full wipe, same as before, modules worked fine last install on the same rom, restore failed to boot, which is why I needed to reinstall the previously working modules
Click to expand...
Click to collapse
I had a similar-ish problem on Moto g4 plus RRO.... If you still can't get it to work, here's what I did:
Rom, gapps, boot (usual steps)
Download Magisk APK from XDA
Give it storage permissions
From Magisk Manager, select install
It should ask of you want to direct patch (recommended)- select this option
Reboot and try modules again
I think it's something to do with storage permissions etc. When Magisk tries to patch boot IMG. Check your file systems too. Data partition should be fsfs and all others ext4.
If the steps above don't work try the fsfs Magisk loopback module. It's in the repo and mentions some of the Moto devices having issues with with patching boot img etc for Magisk. The module is installed via TWRP.
:good:
Got it working, somewhat similar process, ROM, gapps, MM apk, then uninstalled the magisk that came built into the ROM, and used the manager installer... Then encrypted, and then opt-enceypt... A script in sbin for my fingerprint from the original ROM and got safetynet passing.

Can't install any ROM - Google Services Framework keeps crashing after boot

I recently got this phone and first thing i tried to do is install new ROM, but everytime i boot into it i get Google Services Framework crash, android.process.media crash, and probably some other ones as well i couldn't see because of overlapping error messages.
I didn't do a "dirty install" - everything except internal storage was wiped, then fresh rom install, gapp install and cache wipe then reboot.
When i don't install gapps, i can boot into system but still android.process.media keeps crashing, and random applications i can open usually crash as well.
Did anyone encounter similiar problem?
I suspect you need to format not just wipe before you flash.
If flashing a custom rom other than miui -
download a new updated package of open gapps with the right android version for rom arm64bit package. I usually go micro.
Flash directly after rom before rebooting. A miui rom has gapps built in obviously so no need to flash
Sounds like you encounter strange issues because data was not wiped.
Try the LOS installation instructions step by step with any ROM you are going to use. Works for me.
Good luck!

[GUIDE] Factory Reset Your Elite ROM w/ microG & retaining clean functionality

Hello, the purpose of this guide is to show how to retain functionality after doing a factory reset on every ROM.
The problem is that the preinstalled gapps may not be working (login not possible), even after enabling and setting autostart in MiAssistant. Therefore some guides (e.g. this newest one) recommend flashing a working ROM, setting up GApps and afterwards flashing a new ROM without any wipe.
But those who simply want to factory reset can be helped with this guide. This also may make the intermediate step of GApps installaion unnecessary.
microG replaces Google Play Services, Framework and LocationProvider, ALL other GApps are working as expected afterwards.
In TWRP backup your current installation (important if any bootloop occurs)
Factory Reset, Reboot, do basic setup (device name, etc) and select language in MoreLocale if needed
Download, Flash and Wipe Cache + Dalvik Afterwards:
Magisk ONLY if you have a unpatched boot.img meaning no previous supersu installation (to obtain root while passing safety net)
-if the installation of Magisk failed please perform another Factory Reset before continuing (otherwise NanoDroid won't install correctly)-
OTHERWISE SuperSU and Xposed Framework (link for Android 6, SDK23)
NanoDroid fdroid (fdroid plus modified play store)
NanoDroid microG (migroG plus removes unneccessary Google stuff)
NanoDroid patcher to allow signature spoofing not working on odexed roms, we solve that with (Magisk-)Xposed-FakeGapps
Reboot, launch fdroid, let it update its repository and install FakeGapps, XposedInstaller (+ if installed, in Magisk XposedFramework)
In Xposed download XposedGmsCoreUnifiedNlp and enable all installed Modules
In Mi Assistant enable all apps to auto start
Restart, then login into Google to see if that works, otherwise check if Xposed modules are enabled and working, restart and try again, if still not working try disabling and reenabling the concerned app (e.g. Play Store)
Furthermore a selftest can be done in microG settings and you can check if Nlp is working in a Maps App of your choice
Unnecessary Apps CAN be frozen (recommended with AirFrozen) or uninstalled (only if 100% sure and backuped)
Q&A:
Contacts Sync is not working / crashing: Try reinstalling the Google Sync Adapters with the flashable zip from here, set the additional permissions in App Settings

Categories

Resources