yashsingh1/xdaforums huggingface dataset:
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
Ive gotten it to work on the non-prime but not prime. Applying the theme fails
[BLU R1 HD Themes, Apps, and Mods] Unscedeo:
Hmm, that's interesting. I had the Prime version and had gotten it to work on that. What does it say when you try to apply the theme?
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
I get an error stating:

Theme compilation has completed

An error has occurred during overlay installation.

Gave up on 6.6 went back to OEM, everything works.
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
I managed to get substratum working on v17 by creating a directory named overlay in /system/vendor/

Edit only temporary success, unable to change themes.
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
After flashing a permissive boot.img, I am able to successfully install and change some themes in Substratum.
[BLU R1 HD Themes, Apps, and Mods] Alex19Gam:
Where/how I can find/make a permissive boot.img?
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
Read this post
[BLU R1 HD Themes, Apps, and Mods] Alex19Gam:
Didn't work for me :( I checked in adb after flashing and it says Permissive, so what can i do?

I already installed busybox, the Adway works but the layers/substratum don't work :confused:
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
Hmmm. Have created the directory /system/vendor/overlay? Have you tried adb remount?

[IMG="Themed quicksettings"]http://cyanix.tech/xda/qset.png[/IMG]

[IMG="Themed quicksettings"]http://cyanix.tech/xda/setblk.png[/IMG]
[BLU R1 HD Themes, Apps, and Mods] Alex19Gam:
Yes, I did all of that, I only can do r/w folders of system with the app Root Essentials, there I created the folder "overlay", and i tried "adb remount", it says success, but still with that I can't install themes
[BLU R1 HD Themes, Apps, and Mods] mrmazak:
If you already have busybox setup this suggestion might not get you anywhere. But try to replace the toolbox binary. I made recovery flash able package for it.

http://xdaforums.com/showpost.php?p=70020045&postcount=1777

Try the v12-toolbox one.
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
I can't recommend that as I use BusyBox.
[BLU R1 HD Themes, Apps, and Mods] Alex19Gam:
Well I will try, but I think I will back to v12 because the battery performance is much better, thanks for the help
[BLU R1 HD Themes, Apps, and Mods] keredini:
There is a link in Vampirefo's post here

Note that for some reason i couldn't use fastboot and flash it, i had to use Flashify to do so. But after that I could use Substratum (with a few other steps to get it running).
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
What were your other steps?
[BLU R1 HD Themes, Apps, and Mods] mrmazak:
I do believe you need to do more than just put busybox binary into xbin. It needs to be linked to be useful. Easiest way to do it is with the busybox app from play store. Then from in the app select install. Then that should all work.

http://android.wonderhowto.com/how-to/android-basics-install-busybox-commands-0161945/
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
who is that directed to?

I asked about other steps because not all themes seem to work, for instance, SwiftBlack works but the color plugin "The Kittens" for Orange Kitten doesn't work.
[BLU R1 HD Themes, Apps, and Mods] mrmazak:
[MENTION=4818255]Alex19Gam[/MENTION] or whoever else maybe having issues with root mods not working. Because I see a trend of factory OS's built in tools being made custom and not playing nice with root mods.

And my comment here was influenced by this post

http://xdaforums.com/showpost.php?p=70072150&postcount=382
[BLU R1 HD Themes, Apps, and Mods] keredini:
Well, here is what i had to do after i had flashed the permissive boot.img:

Create the 'overlay' folder in /system/vendor

Copy the 'aopt' file from /data/data/projekt.substratum/files into /system/bin

After that i no longer got the 'error creating APK' error in Substratum. But what i have also noticed is that i cannot just apply new themes if one is already applied. So, once i got up and running i installed the 'N Navbar' theme to swap out the nav bar. After a reboot, i saw the new nav bar. Then i tried to install another theme, 'Dark Stock Theme' and it wouldn't work. It said it was applied successfully, but after a reboot the Dark Stock theme didn't show (the nav bar still did) and if i went into the overlay folder only the APK for the nav bar was there. The Dark Stock theme does not theme the nav bar, but even so i tried with the toggle to uninstall other overlays both selected and unselected.

So, then i deleted the nav bar APK in overlay and tried again. Still nothing. Finally, i deleted the overlay folder and re-created it. I then tried to apply the Dark Stock Theme and it worked (after a reboot). I can reproduce this behavior, it seems like after a reboot (to apply the theme), the overlay folder can no longer accept changes. So in my current setup, i had to delete the overlay folder, re-create it, apply the N Navbar theme (WITHOUT rebooting) and then apply the Dark Stock theme. After a reboot, all looks correct.

I just checked my overlay folder permissions, it's set to 755 (RWX to Owner, RX to Group and Other), so not sure what the issue is.
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
Thanks for sharing, just trying to get as much info as possible. I ended up flashing the permissive boot.img, creating the /system/vendor/overlay directory, and initially mounting the system as rw, then rebooting.

I have a couple of themes which don't work and I'm not sure if that's due to theme plugins being out of date.

I've gotten Orange Kitten and The Kittens color plugin working, thankfully. I did just have to do adb remount in order for a navbar apk to update in the folder.
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
Updated OP with new/helpful info.
[BLU R1 HD Themes, Apps, and Mods] :
So, just for verification, has anyone actually gotten this to work on Prime roms or has everyone just switched to OEM roms? I'm on an OEM rom rn and it still doesn't really work, but it works more than it did on the Prime rom (not at all).
[BLU R1 HD Themes, Apps, and Mods] Tiggam:
I have never been able to get Substratum working on the Prime rom. Works fine for my v17 stock.
[BLU R1 HD Themes, Apps, and Mods] codyalan:
Hello, I'm on the 14.1 lineage os rom and I was wondering, all I have to do to get substratum working is to flash the permissive boot.img by vamp? Thanks guys
[BLU R1 HD Themes, Apps, and Mods] mrmazak:
Doesn't work like that. LM 14 will need an LM14 permissive boot.img, can't use the stick boot.img found in this thread because it was for stock 6.0 Android not LM.

But I though that the LM rom already was been made permissive.
[BLU R1 HD Themes, Apps, and Mods] codyalan:
Yea me too but when I install a theme, it boot loops

---------- Post added at 12:05 PM ---------- Previous post was at 12:05 PM ----------

(It is set to permissive)
[Mogul, XV6800 General] Viros527:
Nevermind. Mod please delete this.
[Miscellaneous Android Development] qwerfaseeh:
Custom Recovery​

Instructions:

1. First of all download the required files here.

BLU Vivo 6 users please download below attached Scatter File and use this instead of those available in zip.

2. Install all required drivers.

3. Extract All Zips.

4. Run the "SP Flash Tool" as admin (Right Click on the file and click on run as admin)

5. Select "Scatter Loader" from the provided zip, and check that only recovery must be selected.

6. Select "Download Only".

7. Power off the cell phone but don't attach with data cable at this stage.

8. Now click on "Download" and press volume down button and attach cell phone.

9. Wait till flash. You are done.

In case you got scatter file error download the ROM attached and flash it by selecting Firmware update in flash tool.

Root & Encryption Issue​

1. Download the Magisk Root files from here.

2. Copy the files in Memory card and not into Internal Storage

3. Boot into "Recovery" by 'Turning Off" the cell phone, now press "Volume Up" and press "Power Button", it will show three options, select "Recovery" by pressing ":Volume Up" and select it by pressing "Volume Down".

4. Swipe to allow modifications.

5. When you first boot into recovery it will ask you for the password, press "Cancel" button and install "Magisk Root", after that press "Wipe" and select "Factory Reset" and then "Wipe Data".

6. Now flash Magisk from memory card. You can select it from "select storage" button and select memory card. otherwise memory card will not be accessible from other menu.

7. Now reboot your cell phone.

8. Enjoy.

Hit Like if it helped you.

Credits:

AlexZap​
[Miscellaneous Android Development] Muzammil mushtaq:
plz help to root q mobile S 4
[Miscellaneous Android Development] bovirus:
[MENTION=7345422]Muzammil mushtaq[/MENTION]

Recovery TWRP

Info how to flash

One time that recovery is enabeld copy in the device the ZIP file for recovery for SuperSU and busybox and install in this order (first SuperSU than busybox).

SuperSU 2.78SR1

Busybox ARM

[MENTION=4471375]qwerfaseeh[/MENTION]

Pelase add all infos in your first post.

I will post also a soon as the boot unlocked.
[Miscellaneous Android Development] qwerfaseeh:
Dear as i don't have S4 so i am unable to test any root for you please dont follow this post this is not for S4 it's only for Z14 but i am searching for you and plz try Kingroot
[Miscellaneous Android Development] Muzammil mushtaq:
king root not working bro
[Miscellaneous Android Development] qwerfaseeh:
Sorry bro but in this case I am unable to help you
[Miscellaneous Android Development] cool2cool:
is there any chance we can flash gionee s6 pro rom on qmobile z14 ?

---------- Post added at 05:38 PM ---------- Previous post was at 05:28 PM ----------

do we need to unlock boot loader first to flash custom recovery ???

if yes then how ?
[Miscellaneous Android Development] bovirus:
[MENTION=1100040]cool2cool[/MENTION]

boot loader unlocked is not necessary to flash the recovery,.

boot unlocked enable more root option.
[Miscellaneous Android Development] cool2cool:
can we flash gionee s6 pro rom on this qmobile z14 ?
[Miscellaneous Android Development] cool2cool:
any one tried this method yet ??
[Miscellaneous Android Development] cool2cool:
i cant find drivers for z14. can anyone help.

mtp driver when usb debugging is enable
[Miscellaneous Android Development] bovirus:
[MENTION=1100040]cool2cool[/MENTION]

The driver for Z14 are the standard USB ADB driver.
[Miscellaneous Android Development] cool2cool:
when i plug my mobile on debugging mode its shows MTP as unknown device and is not accepting drivers any have tried google, universal, Samsung, htc, mtk. none of them r working.

don't know why all other mobiles are working perfectly on adb.

and the adb part is displaying under Samsung android phone

View attachment 3917445
[Miscellaneous Android Development] cool2cool:
if i reboot into fastboot mode. that is not working aswell. same driver problem :(

View attachment 3917459
[Miscellaneous Android Development] cool2cool:
its connecting normally when usb debugging is disabled
[Miscellaneous Android Development] qwerfaseeh:
I am using it and its working fine then i posted it on XDA
[Miscellaneous Android Development] qwerfaseeh:
Drivers are already added in cell phone just connect it to driver installation mode after connection with pc
[Miscellaneous Android Development] qwerfaseeh:
Install the drivers included in cell phone then restart pc after that connect cell phone then open device menu right click on it click on update driver then manually then click next then all devices then there will be two option select USB MTP Device and ok all done
[Miscellaneous Android Development] cool2cool:
still not working.

i will try this on another pc and report.

---------- Post added at 05:50 PM ---------- Previous post was at 05:48 PM ----------

ok.

as soon as i'll resolve the driver problem, i will try it as well.

one more question have you tried install gionee s6 pro official rom on qmobile Z14
[Miscellaneous Android Development] qwerfaseeh:
No as i haven't found it on Internet and there is also a difference of internal storage as gionee is 64gb and z14 is 32gb
[Miscellaneous Android Development] cool2cool:
the difference of internal storage will not be the problem, i think

as we can flash lg g3 32gb rom on lg g3 16gb.
[Miscellaneous Android Development] razishaw:
What about official updates after root!

Will i get official updates from qmobile after rooting my Z14?
[Miscellaneous Android Development] qwerfaseeh:
No
[Miscellaneous Android Development] drmarwat:
when trying to flash twrp recovery with flash tool i get error preloader is invalid

whats the fix?

Found the fix

you need to change recovery-twrp to recovery then it all goes smooth. This needs to be mentioned in instructions for others , wasted so much time finding this thing

Edit : Recovery flashed but phone does not boot into recovery , rather into a broken android logo. So there is something wrong but cant figure it out yet.
[Miscellaneous Android Development] qwerfaseeh:
as i was away so i was not able to help, i think during zipping process the scatter file got corrupted so i uploded and attached with the post the new preloader so please use that instead of one that is in the post.
[Miscellaneous Android Development] qwerfaseeh:
For all those who are using Gionee S6 Pro you preloader is different please find the attached preloader at the end of post.
[Miscellaneous Android Development] qwerfaseeh:
post updated now with gionee s6 pro stock rom and z14 stock rom latest version plus readded root zip which include both scatter files z14 and s6 pro kindly download it again and use the z14 scatter for z14 qmobile and s6 pro for gionee s6 pro.

Qmobile users i found s6 pro stock rom much better than qmobile but after flashing s6 pro rom i got invalid imei as i was having imei backup so i am safe so please if you want to try it do backup your current rom with custom recover including all necessary files. [MENTION=1100040]cool2cool[/MENTION]
[Miscellaneous Android Development] qwerfaseeh:
Nice to know like if it helped you thanks
[Miscellaneous Android Development] cool2cool:
Can you write the steps how can we make backup and how we can flash gionee s6 rom . please

---------- Post added at 10:52 AM ---------- Previous post was at 10:28 AM ----------

qwerfaseeh

i recently got an OTA update from q-mobile, will this affect the rooting and custom recovery method ?
[Miscellaneous Android Development] cool2cool:
i m still getting this :crying:

tried with recovery in 2nd post same result. extracted scatter file from qmobile z14 official rom still same error

http://xdaforums.com/attachment.php?attachmentid=3959746&stc=1&d=1481027764
[Miscellaneous Android Development] cool2cool:
i have sorted out the errors and install custom recovery and have done backup

can you now please guide how can i flash s6 pro rom ?

should i use z14 scatter file or s6pro scatter file in SP Flash tool ? please help
[Miscellaneous Android Development] cool2cool:
the attack stock file for qmobile z14 didnt work for me. any one else have this problem follow this

1- download both qmobile stock and gionee s6 pro stock

2- select qmobile z14 scatter file

3- flash in below order (check attached pic)

http://xdaforums.com/attachment.php?attachmentid=3966069&stc=1&d=1481536361

as for null / no IMEI problem just flash secro.img from qmobile stock
[Miscellaneous Android Development] qwerfaseeh:
For all those QMobile Z14 users who messed up with stock and are not able to boot with Z14 stock and unable to get official updates, i have got the factory files which i am uploading so plz install that to get official updates, file is uploading and i will update the first post soon.

[MENTION=1100040]cool2cool[/MENTION]
[Miscellaneous Android Development] qwerfaseeh:
New Qmobile Z14 and S6 Pro Update Available.

Qmobile users, qmobile store is working now and lot of stability patches and Oct Security Patch

S6 Pro users, lot of graphics and stability improvements and Nov Security Patch
[Miscellaneous Android Development] qwerfaseeh:
post updated with stock qmobile z14 compiled by me.
[Miscellaneous Android Development] qwerfaseeh:
Guys Blu Vivo 6 is also rebranded Gionee S6 Pro Nd i love the Stock Blu Vivo on Z14 as it is best for stability and features plus battery life. I got DTS sound option in this ROM which was disabled by QMobile
[Miscellaneous Android Development] qwerfaseeh:
I have found a lot of modifications so that you can enjoy a lot of features disabled by QMobile by easily enabling them back
[Miscellaneous Android Development] viv0:
I have a blu vivo 6 and REALLY want root on it. I tried using this method and I got this error:

BROM ERROR: STATUS_PRELOADER_INVALID (0xC0030004)

[HINT]:

Please can anyone help? thank you
[Miscellaneous Android Development] qwerfaseeh:
You have to wait for 2 more days i am not at home and preloader for Blu Vivo 6 is in my PC. I will update the post soon with preloader of Blu Vivo 6, if you already have preloader use the recovery which i provided with preloader of Blu Vivo

Edit: You can now root Blu Vivo 6, i updated the post.
[Miscellaneous Android Development] qwerfaseeh:
Modified QMobile Z14 and BLU VIVO 6 ROM
[Miscellaneous Android Development] viv0:
Thank you bro, I tried to make that scatter file but I couldn't for some reason. I tried SP flash tools with your scatter file and got the same error but don't have time to figure out why it's not working until tomorrow. Will let you know if it works.
[Miscellaneous Android Development] qwerfaseeh:
You welcome.
[Miscellaneous Android Development] LegendBiscuits:
Blu Vivo 6 here.

I'm getting the same error about the preloader as everyone else. Any help?

I'm using the scatter file for the Vivo 6, and I've tried renaming the recovery.
[MENTION=1100040]cool2cool[/MENTION] you said you got past this error, could you share how you did it for the rest of us?

Has anyone successfully gotten the custom recovery installed on the Vivo 6 yet?
[Miscellaneous Android Development] qwerfaseeh:
Blu Vivo 6 have two type of stock ROM online one is V010EE and one is UU i have scatter of EE so try UU one may be it will work for you or try to extract Scatter from any ota update it will definitely work.
[Miscellaneous Android Development] LegendBiscuits:
Judging from the wireless update screen I have the EE version of the ROM. "BLU_V0110EE_V10_GENERIC_6.0_09-10-2016 03:36".

Can I find the OTA update online somewhere or would I have to wait for one to become available and extract it from the phone?

Thank you for your help!
[Miscellaneous Android Development] LegendBiscuits:
Okay I managed to get the custom recovery installed on the Vivo 6, the scatter file was not the issue.

The issue was that the SP flash tool was trying to send the recovery to the phone when it was connected as 'Mediatek USB Port' (look in device manager) when it should have been sending it when it is connected as 'Mediatek Preloader USB VCOM'.

So to do this correctly:

Open the flash tool and set it up but don't click the download button yet.

Hold volume down button and connect the phone to the computer. You will hear the windows sound for a device being plugged in.

Wait until you hear the windows sound for a device being disconnected and then press the download button in the flash tool.

The phone should now be connected in the correct mode and the flash will complete successfully.

You might need to connect the phone to the PC while holding down the volume buttons without running the flash tool first to let it install the necessary drivers.

However I don't think the posted recovery works with this phone, as I am unable to mount the internal storage or external SD card in recovery. The phone is also detected as 'Z14' by the computer while in recovery mode.

EDIT: I was able to get root by sideloading the SuperSU zip with adb, so it worked out in the end. :)
[Miscellaneous Android Development] qwerfaseeh:
[MENTION=3218660]LegendBiscuits[/MENTION] I have clearly mentioned in the first post that you have to press the volume down button before connecting it with PC after pressing download button 2ndly it is also mentioned on post that how to mount internal storage. I think you have not read any instructions.
[Miscellaneous Android Development] LegendBiscuits:
I followed your instructions the difference was I had to connect my phone to the PC and wait for it to disconnect again BEFORE pressing the download button. Also I did the factory reset thing but the storage showed up as 0mb still, which doesn't really matter because I can sideload zips anyway.
[Miscellaneous Android Development] qwerfaseeh:
Allview X3 Soul Plus users please get your stock Scatter file from internet i am unable to find it plus do share it with me thanks.
[Miscellaneous Android Development] qwerfaseeh:
Allview users get ready i got the scatter files for you and will upload it soon.
[Miscellaneous Android Development] qwerfaseeh:
post updated for Allview users
[Miscellaneous Android Development] anjumsabour:
storage showing 0 MB

Hi

Sir when i want to install root. Go to recovery mod there is showing storage 0 MB. mean i can't see root zip file into recovery mod. Please help me. Thanks!
[Miscellaneous Android Development] OmarAbid:
I want to root my QMobile z14. Please tell easiest method.
[Miscellaneous Android Development] qwerfaseeh:
Please click on select storage and select memory card.
[Miscellaneous Android Development] qwerfaseeh:
There is no such thing as easy root for QMobile Z14
[Miscellaneous Android Development] MohamedPro:
hi mane

if cynogenmod fond for this devices

i wanna fash it

any one know haw tell me pleas
[Miscellaneous Android Development] RaTr:
I am trying to make custom Recovery for my blu vivo 6.

The thing is that MT65xx preloader is plugged and then after 3 seconds is unplugged so when I click download button in SP Flash Tool. In the moment when device is appeared the flash process starts but 3 seconds it is a very short time so nothing happened just a message that PPV have been changed and I have to start the process again. Please help to make a stable MT65xx preloader connection. I am 100% sure that cables is good the problem is that Vivo 6 just unplugged this device and after just switch to the charge mode.

There were some suggestion to remove the battery but in Vivo 6 the battery is not removable.

Thank you.
[Miscellaneous Android Development] viv0:
Yes the blu vivo 6 only goes into download mode for a few seconds. You need to time it correctly for it to work. Do what LegendBiscuits said:

Open the flash tool and set it up but don't click the download button yet.

Hold volume down button and connect the phone to the computer. You will hear the windows sound for a device being plugged in.

Wait until you hear the windows sound for a device being disconnected and then press the download button in the flash tool.

The phone should now be connected in the correct mode and the flash will complete successfully.
[Miscellaneous Android Development] RaTr:
Thank you for your answer but actually I did so and I am getting an error:

The message appears exactly in the moment when "MT65xx preloader" is disconnected the progress line in SP Flash Tool in that moment is 100%.

I was googling someone recommends to change Download Only Mode to Firmware upgrade but I am a bit scared guys. Can anyone confirm that it will work and I will not lost my data or I will not kill my cellphone?.. Or maybe there is any other solution?..

Also guys is it any chance to save everything how it was set it up by BLU Manufacture to keep my warranty and if I will need to reset factory settings to do so using this kind of backup?..
[Miscellaneous Android Development] qwerfaseeh:
It is issue with the preloader mismatch.
[Miscellaneous Android Development] RaTr:
How can I fix that?..
[Miscellaneous Android Development] qwerfaseeh:
If you can reflash rom its better

Just reflash full stock ROM but change recovery to twrp during flash
[Miscellaneous Android Development] RaTr:
Where I can download stock ROM?.. Is it any instructions how to do that I am new here...