yashsingh1/xdaforums huggingface dataset:
[BLU R1 HD Guides, News, & Discussion] ss2man44:
I've been working on CM13 for a couple of weeks now.

In order to build Android from source, you need a device-specific folder of configuration files and such called a device tree, plus a folder for proprietary (closed-source) binaries called a vendor tree. I have a device tree that's capable of building TWRP from source, but it has a long way to go before it can build a ROM that boots.

CM itself doesn't like a prebuilt kernel, so having the source means that it should get farther in the build process. I'm going to throw the source onto github and try building with it sometime soon.

Here's the device tree, with the vendor tree coming soon: https://github.com/anpage/android_device_blu_p6601/

Anyone is welcome to piggyback off this, or fork it, or submit pull requests or whatever if a knowledgeable person finds this, but I'd like to clarify a couple of things because I've had people try and stir up drama before:

I based the changes so far on the official device tree for Android One devices

Device and vendor trees are *not* GPL (and technically not even source code) and nobody is obliged to share them. I choose to anyway because I'm not responsible enough to maintain it alone :p

Even GPL-licensed code is not required to be shared until a binary is released, so any changes someone makes to the kernel can legally be kept to themselves unless they post a completed ROM using their custom kernel.

I don't 100% know what I'm doing. I've only done this once before with the HTC Evo Design 4G, and even then I had a *lot* of help from the Evervolv team.

I make no guarantees that I'll ever actually release a ROM. I might not at all. Either way, I'm going to be sharing as much of my work as I can on github.

So yeah, I'm hoping to maintain motivation long enough to see this through because it's good experience and good for the value of this neat phone. Also that sweet, sweet internet cred.
[BLU R1 HD Guides, News, & Discussion] mdmosta319:
Sorry Bro, I should be Tempered Glass....
[BLU R1 HD Guides, News, & Discussion] jrk190:
Good going on you. MTK devices are horrible for ROM development since MTK doesn't follow GPL. Will be highly impressed if we get a stable ROM.
[BLU R1 HD Guides, News, & Discussion] triggerlord:
That's a common misconception. MTK is not required to release anything. You are not their customer. The OEM is required to release the source code. Most of the OEMs that release MTK phones are Chinese companies and the GPL is not enforceable there. Any American company has to release the source even if it's MTK.
[BLU R1 HD Guides, News, & Discussion] onlykhaz:
We got our first hero! :good: Keep it up man we are here to brick our phones and revive them, and brick them and revive them until death do us apart!

peace!
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Maybe when you have put the tree together, you could post a local_manifest that points to it so we can have it synched to the repo.
[BLU R1 HD Guides, News, & Discussion] ss2man44:
Of course, that's no problem. It's only a few lines so it wouldn't be hard to put one together yourself. I haven't posted one yet because I haven't published the kernel or vendor repos.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
[MENTION=4239374]ss2man44[/MENTION] which ROM are you trying to port? Is it cm?
[BLU R1 HD Guides, News, & Discussion] Gizmosis350k:
well folks amazon says if i want to share the blessing of the community with my country that is a no-go because i can't buy more than one of each for prime variant lmao
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Hook up with friends prime accounts and buy it through theirs (then pay them back afterwards)
[BLU R1 HD Guides, News, & Discussion] yaconsult:
That's right - amazon doesn't want people buying multiple phones at a huge discount and reselling them. The phones are already showing up on ebay, with and without ads.

It would be nice if there was an option to return a broken phone that was dropped or dead and then be able to buy a replacement for it at the prime price.
[BLU R1 HD Guides, News, & Discussion] ss2man44:
Yes, CM13. Bare AOSP doesn't have as much of the nice infrastructure for introducing new devices.

Interesting thing: The kernel source confirms that the internal codename for the R1 HD is p6601.

Here's a small progress update. I've gotten the first custom kernel to boot successfully:

This means that we can do things like overclock and add features like f2fs and fix bugs in drivers and such. It also means I can continue to work on CM13 knowing that compiling the kernel works.
[BLU R1 HD Guides, News, & Discussion] Oscar_david:
My phone just downloaded a new ota update. Anyone up? Can someone tell me what the ota download directory is I looked before... Still can't find it. :confused: :confused:
[BLU R1 HD Guides, News, & Discussion] Oscar_david:
Here's screenshot of info:
[BLU R1 HD Guides, News, & Discussion] jimberkas:
I was able to buy two of the 2GB version using the Prime Household thing. You can have two adults per address share Prime. So two different sign ons, one for me and one for the wife. I could order a phone using each of those sign-ons. I think all you need is a name an email address, you could probably fake it.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
You're an angel. Please keep up the work. If you ever need to test anything that you're afraid will brick your device, you know who to call.
[BLU R1 HD Guides, News, & Discussion] calm_depression:
Is it possible to keep root and install this update with flashify? But did anyone with the no adds version get it?
[BLU R1 HD Guides, News, & Discussion] triggerlord:
I've converted mine to the OEM version and it still says I'm up to date. I'm guessing it's only for the Prime version.
[BLU R1 HD Guides, News, & Discussion] calm_depression:
Did you disable the fota service provider thing?
[BLU R1 HD Guides, News, & Discussion] triggerlord:
No, how would I have checked for updates if it was disabled?
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Go ahead and install it, see what it does. It may be Band 12. If it relocks your bootloader and everything, I imagine you can just use an SPFT image to move back to 6.4 or to vanilla firmware.
[BLU R1 HD Guides, News, & Discussion] onlykhaz:
Dude, Nice work! :good:

you should go to http://xdaforums.com/r1-hd/development/blu-r1-hd-ready-devs-t3439272 and try to work with other devs, or show them your progress. Make a branch or fork :eek:

either way keep it up!
[BLU R1 HD Guides, News, & Discussion] huskerpick:
OTA update 6_5 security only

Just did this on my still stock prime 2GB and it didn't enable band 12 when I looked in Engineer Mode MTK app.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Do you notice any other changes?
[BLU R1 HD Guides, News, & Discussion] triggerlord:
They updated your phone from the June to July security patch.
[BLU R1 HD Guides, News, & Discussion] yaconsult:
Regarding the July security patch - I tried to apply it, but it failed, probably because I forgot to turn off root first. Can someone explain how to install it on phones that have been flashed non-amazon, twrp, rooted, and xposed?

Is the first copy of the update that it downloaded stored somewhere where I could rerun it? When I check for updates now, it says there aren't any updates but it had one downloaded before the install failed. The update date was beginning of July versus the installed version which is beginning of June.
[BLU R1 HD Guides, News, & Discussion] ariesgodofwar:
I am at work so do not have my device in front of me, but sometimes they are stored in /cache or maybe check the fota folder? You could probably just search all your .zip files in File Explorer.
[BLU R1 HD Guides, News, & Discussion] Gizmosis350k:
I'll try to do so once i settle existing debt :(

Also what is this about 6.5?

If convert prime to non-prime and receive this update will have to run rescue mission 6.4 installation via SPFT sadly over even TWRP restore.jp rescue mission or no :cool:

---------- Post added at 04:33 PM ---------- Previous post was at 04:27 PM ----------

Cool i will /try/ that but i have a feeling I may get shafted on that one

Yeah the most i'd resell for is 110/120

What is $179 o-o

Well the fact we got OTA means BLU hasnt forgot about the phone as yet. Band 12 here we come for November :)
[BLU R1 HD Guides, News, & Discussion] emc2cube:
The OTA download url (for a Prime version phone) is http://hwfotadown.mayitek.com/ota/r....5_GENERIC_6.0_20160729-21551470255454500.zip

It patches many files, as usual, but interestingly it also replace the system SMS app by what I guess is an updated version and install a new lib "libhevce_sb.ca7.android.so"
[BLU R1 HD Guides, News, & Discussion] ase1590:
Has anyone tried yet to see if this ota will re-lock the phone?

Edit: just tried it. It fails with twrp

file "EMMC:/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot:8695080:c783be9a6850f2092765303b6c9defdcc3c923c9:8686888:2199eb2582ef0fa8dbaa18f9c36ec83da379e925" doesn't have any of expected sha1 sums; checking cache failed to stat "/cache/saved.file": No such file or directory failed to load cache file script aborted: "EMMC:/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot:8695080:c783be9a6850f2092765303b6c9defdcc3c923c9:8686888:2199eb2582ef0fa8dbaa18f9c36ec83da379e925" has unexpected contents. "EMMC:/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot:8695080:c783be9a6850f2092765303b6c9defdcc3c923c9:8686888:2199eb2582ef0fa8dbaa18f9c36ec83da379e925" has unexpected contents. Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/external_sd/Android/data/com.adups.fota/files/adupsfota/update.zip' Updating partition details... I:Data backup size is 4582MB, free: 5977MB. I:Unable to mount '/usbotg' I:Actual block device: '', current file system: 'auto' ...done I:Set page: 'flash_done' I:operation_end - status=1 I:Set page: 'clear_vars' I:Set page: 'install' I:Set page: 'main' I:Set page: 'clear_vars' I:Set page: 'main2' I:Set page: 'advanced' I:Set page: 'confirm_action' I:Set page: 'action_page'
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
According to [MENTION=7143715]triggerlord[/MENTION], V6.5 only brings us a July security update. Nothing new or special.
[BLU R1 HD Guides, News, & Discussion] goldblot:
So would it be possible to replace this phone's camera with another's camera? I have an extra phone lying about (Xperia ZL) and the camera on that one is far better.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
I know on other phones, certain modules like earpiece were removable. If the camera on here isn't permanently attached to the motherboard (and it isn't on the Xperia either), then if you can connect it properly and compile a kernel with the right drivers I don't see why it wouldn't work.

Just don't expect your back cover to fit anymore.
[BLU R1 HD Guides, News, & Discussion] kal250:
There seems to be a ton of guides and info on older MTK SoCs such as http://xdaforums.com/android/development/guide-mtk-cross-platform-chipset-rom-t2925242, but for the life of me, trying to find a guide for the 6735 is almost impossible, just when I think I've found something, i get half a million redirects to spam sites. Ugh, I really wanna learn something here, but it seems the older MTK dev tools no longer work. Any suggestions??
[BLU R1 HD Guides, News, & Discussion] :
The SMS app and libraries are probably stagefright patches.

---------- Post added at 11:17 AM ---------- Previous post was at 11:15 AM ----------

You cannot take OTAs with TWRP. This is common knowledge. You can use my guide to restore the original 6.1 ROM and recovery before taking the OTA if you want.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
And about time too... Stage fright was supposed to be fixed by marshmallow/new kernel.
[BLU R1 HD Guides, News, & Discussion] emc2cube:
I performed the OTA on mine (restored 6.4 /system and /boot from backup first)

Bootloader still unlocked, so we can still boot TWRP and install it, flash super su, debloat etc.

Anyone got the OTA on the non-prime version yet?
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
[MENTION=5355478]ColtonDRG[/MENTION] should update his images for his conversion thread as well????????????????????????
[BLU R1 HD Guides, News, & Discussion] emc2cube:
For now I would say it should be better to leave the images as stock as possible. It's easy to do the OTAs if we want the updates.

We still need to figure why the "non-prime" did not get security OTAs yet. If the prime version is getting better support than the regular BLU it may be more interesting to stay on the prime channel for future updates.

Also why the non-prime do not have a native option to encrypt the phone.
[BLU R1 HD Guides, News, & Discussion] fraul:
Eeeeh, I encrypted the phone (prime variant) and found it dragged around a lot. I'm usually a huge advocate of encryption, but with this budget device you're definitely sacrificing read/write speeds and pushing the processor for otherwise simple actions.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
It didn't really drag for me when I had it.

And also I thought just unlocking bootloader disabled encryption. So it never had it from the start? That's weird...
[BLU R1 HD Guides, News, & Discussion] fraul:
I de-bloated the prime version, (as we all have) now have twrp etc etc, then went back to stock, encrypted the phone and then re-rooted. It was not as fast as before, so I wiped the phone and restored to a nandroid backup which was unencrypted.
[BLU R1 HD Guides, News, & Discussion] :
No. My images restore the phone to an out of the box state. You can install any OTAs after restoring.

---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------

Non prime encryption stuff works, just is hidden from the menus. I may release a ROM that has the core (security patches) from the Prime version but the higher level stuff from the non-Prime version if there is enough interest in it and there are no OTAs for non-Prime.
[BLU R1 HD Guides, News, & Discussion] huskerpick:
53 apps were refreshed/configured for the July 5 2016 security patches noted here:

source.android.com/security/bulletin/2016-07-01.html
[BLU R1 HD Guides, News, & Discussion] yaconsult:
I converted my phone to non-prime about a week ago and I did get the update notification the other day. It failed when I tried to apply it because of having twrp, not to mention xposed and gravitybox.

Now, I don't know how to get the update again and can't find it anywhere on my phone. When I check now, it says the phone is up to date but only has the 06/27/2016 version. I don't know what it's not finding the July update like it did the first time.

But it looks to me like they pushed this same update to both prime and non-prime versions of the phone, unlike the first update which only made it harder to hide the ads on the amazon version.

So to actually get the update, do I need to install the stock recovery and remove xposed and then put them back again after the update? If so, a little guide for the required steps would be fantastic!
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Just something I discovered: Right now I'm roaming in Canada, and I was able to place calls and texts with a Verizon SIM. Data did not work, though (even when set to CDMA auto).

Your phone needs to be 100% stock to take the update. No root, no Xposed, no TWRP, no system apps uninstalled, etc.
[BLU R1 HD Guides, News, & Discussion] RainofOranges:
I have the non-Prime version and this is probably why I didn't get the OTA. Do I have to unroot and uninstall Xposed as well? I would like to install the OTA somehow.
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
Yes. Must be at out of box state (besides user data and cache).
[BLU R1 HD Guides, News, & Discussion] kal250:
No OTA updates have been released yet on non-prime.
[BLU R1 HD Guides, News, & Discussion] RainofOranges:
Oh really? I thought I was missing OTAs. Any idea why the Prime version got the security update and the non-Prime didn't? Should I contact Blu and see what they say?
[BLU R1 HD Guides, News, & Discussion] kal250:
Good luck with that!! Prime got OTA cause Amazon has their name attached to it.
[BLU R1 HD Guides, News, & Discussion] Oscar_david:
1. Anyone having issues with root apps?

Specifically, I purchased es file explorer pro. It works fine on my other devices, but will not recognize root on the R1. This is the only app I've had this problem with but I was wondering if anyone else has seen anything like this.

Any clues?

2. One complaint about 16/2 gig devices is poor memory management (I have 3 different ones and they all suffer from this). Is there a way to whitelist apps so they get prioritized and not dropped when they're running in background?

Cheers

And thanks in advance.
[BLU R1 HD Guides, News, & Discussion] kal250:
Solid Explorer supports systemless root, it's 1.99 for unlocked version, it is nice and I have had no problems
[BLU R1 HD Guides, News, & Discussion] lee3lions:
Do these phones support OTG?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
There is hard coded file location in es file explorer. There is a thread on XDA about it. You basically copy su into xbin or something. Search it.

OK I searched it already

http://xdaforums.com/showpost.php?p=66934006&postcount=1
[BLU R1 HD Guides, News, & Discussion] kal250:
I don't think so, but i read one user claimed he got it working with a powered hub. Have not attempted to verify.
[BLU R1 HD Guides, News, & Discussion] Oscar_david:
Lol.. thank you much. I'll check it out. :good::good:
[BLU R1 HD Guides, News, & Discussion] ariesgodofwar:
Settings -> Apps -> Gear in corner -> Battery Optimization and select to Not Optimize the app(s)to white list. You can also set number of background activities in Developer Settings, which may help too
[BLU R1 HD Guides, News, & Discussion] triggerlord:
Well rip guys. I wanted unlimited data so I went with boost and bought a moto e.
[BLU R1 HD Guides, News, & Discussion] calm_depression:
Uh I have unlimited data with T-Mobile, you could also do sprint... Am I missing something?
[BLU R1 HD Guides, News, & Discussion] triggerlord:
It's cheaper and this phone doesn't support CDMA carriers.
[BLU R1 HD Guides, News, & Discussion] Alex19Gam:
I have some issues with the wifi when the phone turn into sleep, it disconnect from the network and i have to turn on the screen to reconnect...

So "Keep Wi-Fi on during sleep in Always" at Wi-Fi options doesn't work for me. Someone else does this happen?

i already tried with some apps to keep wifi on and didn't work
[BLU R1 HD Guides, News, & Discussion] kal250:
Unlimited LTE data with cricket for $70

Im considering it, I pay 100$ a month now for 5 lines with 2.5 GB LTE per line, and all the family line discounts, so that would put me at 130$ with unlimited on my line and 2.5 on the remaining

---------- Post added at 12:39 AM ---------- Previous post was at 12:18 AM ----------

I have not experienced this, or at least I haven't noticed it, uTorrent still downloads my TV shows, while phone is sleeping
[BLU R1 HD Guides, News, & Discussion] jasonmerc:
For 3 lines TMO old unlimited LTE plan is like $165, but three lines for their new unlimited (slow tethering and slightly throttled video streaming) is like $145. Coverage for T-Mobile is decent, especially if you're on the east or west coast of the US.
[BLU R1 HD Guides, News, & Discussion] kal250:
For the price, and since AT&T bought them, I can't see myself leaving Cricket, they cap the LTE to 8GB downstream, but that's plenty fast for me! Plus 5 lines for 100$ is hard to beat!!
[BLU R1 HD Guides, News, & Discussion] triggerlord:
I'm paying $60 for unlimited everything on boost.
[BLU R1 HD Guides, News, & Discussion] kal250:
Sprint coverage is horrible around here, AT&T has about the best coverage in my area, plus with the teens keeping cost down is my priority :cool:

$200 tennis shoes are bad enough, and those aren't even good enough:rolleyes:
[BLU R1 HD Guides, News, & Discussion] triggerlord:
It's about the same coverage as At&t in my area.
[BLU R1 HD Guides, News, & Discussion] zipsulman:
BLU R1 HD: no command problem in recovery mode

I am having the problem where it comes up with "no command" in recovery mode. See below. I have tried the suggested fix of disconnecting the cable and pressing the power button, but that doesn't work. Any suggestions?

[IMG="no command on recovery"]https://fairphone.zendesk.com/hc/en-us/article_attachments/200397118/Update_1.jpg[/IMG]
[BLU R1 HD Guides, News, & Discussion] Oscar_david:
The key is the to not allow the phone a normal reboot. After installing TWRP, disconnect the phone from PC, restart into directly into recovery by holding both the power AND the volume up button.
[BLU R1 HD Guides, News, & Discussion] zipsulman:
R1 HD I prefer not using SP_Flash_Tool_exe_Linux

I'm back on this phone after giving it to my wife because her phone was out of comission. Fastboot devices and adb devices recognize it. The problem is that I can't do anything to do it.

fastboot flash recovery recovery.img

returns: FAILED (remote: download for partition 'recovery' is not allowed

)

fastboot oem unlock:

fastboot flashing unlock

fastboot flashing unlock_critical

all return:

Unlock operation not allowed

Any Help out there?
[BLU R1 HD Guides, News, & Discussion] mrmazak:
Well if you have the prime version, and do not want to use SP flash tool , I do not know how you will be able to unlock the bootloader.

The two methods that have been used are to flash a non prime system image with SP flash. Or a modified frp partiton also with SP flash.

There is linix SP flash you know.

Both of these topics have there own thread and are talked about in the general too but it's better to continue on specific thread though
[BLU R1 HD Guides, News, & Discussion] kb3wmh:
Thats not an R1 HD...

Did you use the R1 HD TWRP? I doubt that it will work, you need a version of TWRP specifically for that phone. Can you still boot the phone into normal Android, or is it bricked?
[BLU R1 HD Guides, News, & Discussion] lee3lions:
All of a sudden my Blu R! HD is not showing up on My Computer.

In Device Manager it shows as R1 HD with the yellow triangle. I've installed the CDC drivers but no go. Are there any official BLU drivers for this model?

Or does anyone know a workaround?

Thanks.
[BLU R1 HD Guides, News, & Discussion] zipsulman:
That is not my phone. It was easier to just put up someone else's screenshot. It show the android on it's back and says "no command". It boots into the amazon bloatware os just fine.

---------- Post added at 10:12 PM ---------- Previous post was at 09:53 PM ----------

I used RootJunky's 2-R1-HD-Bootloader-Unlock.sh script. It doesn't work. This part causes problems:

sudo $ADB shell su -c "chmod 777 /cache"

sudo $ADB shell su -c "chmod 777 /cache"

echo "press enter to continue"

returns:

/system/bin/sh: su: not found

I tried:

/sdcard/./su chmod 777 /cache/

.can't execute: Permission denied

Any help?

---------- Post added at 10:35 PM ---------- Previous post was at 10:12 PM ----------

I tried the linux flashtool but it didn't work.

See Screenshot below

---------- Post added at 10:39 PM ---------- Previous post was at 10:35 PM ----------
[BLU R1 HD Guides, News, & Discussion] mrmazak:
The boot loader unlock script you're trying to use requires root first. I believe there is a message in the OP where tha script is that says must root first.

http://xdaforums.com/r1-hd/development/r1-hd-amazon-bootloader-unlock-method-t3426104

But there is better options available now.

http://xdaforums.com/r1-hd/how-to/guide-convert-to-prime-rollback-ota-t3432499

Bit you will need to sort your linix issue with spft first.

Your screen shots did not load so I cannot help you with it