yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] Scott:
Good job man! I wanted this thread to teach and inspire... And I can see I did that!

Good job! More will be added and we will all learn more in time. We have some very excellent teachers like [MENTION=1050103]sykopompos[/MENTION] [MENTION=3667193]GROGG88[/MENTION]!!!
[Nexus 6  General] sykopompos:
Too bad I'm bouncing all over the place with all my different projects right now making things happening
[Nexus 6  General] Scott:
No worries! Your helping us learn! I appreciate that!
[Nexus 6  General] Swanseatom:
Hey guys,

Just wanted to say a thanks to [MENTION=426561]scrosler[/MENTION] and everyone throughout the thread. I today finally was able to complete a build!!

It booted up and all is okay except I hadn't completed the steps for the youtube/netflix fix so get blackscreen for videos, am in the process of a new build with it so will let you all know how it goes!

I have a non nexus 6 related question if anyone can offer any advise, I am looking to purchase a new Hard Drive for my PC. Is there much difference for build times between Standard HDD and SSD? If so what would be the smallest SSD needed to have ubuntu and be able to build nicely for 2 devices? Sorry for the OT.

Edit: Sorry for the further question, this one is on topic! After reading a previous post in the thread i tried to use the files from https://github.com/rascarlo/android_vendor_moto.

I did this by first installing the standard binaries from Google, then copying the files that I had cloned from rascarlo's github to the vendor folder. This is where my question is, I copied the whole content of the cloned folder straight into my ~/AOSP/Vendor folder this resulted in 4 folders "Broadcom/moto/propietary/qcom" and 2 files BoardConfigVendor.mk and device-vendor.mk. Where as before I simply had 3 folders broadcom/moto/qcom. Is this correct and the right way to use rascarlo's vendor files? or have I made a mistake? Again any help would be much appreciated!

Thanks again for the guide!
[Nexus 6  General] Scott:
I can speak to the SSD question...

Get a 256 Gig SSD. I would go with a Samsung Evo or a Samsung Pro.

They are some of the fastest drives out.

You could possibly get away with less but You never know what you will try next. For me, I have two AOSP repo's on my machine. One to play with and one to build ROMS from.
[Nexus 6  General] Milly7:
In reference to your vendor question you must be referring to my post. If so just follow what I suggested. Yes, you will have 4 folders instead of 3 now. Don't forget to go to the path I mentioned and delete the vendors module check file or your build will not complete. That plus the netflix fix [MENTION=426561]scrosler[/MENTION] pointed out to us has worked wonders.
[Nexus 6  General] TonyStark R.I.P.:
Less:eek:

Portable is the bestest

Expensive, yes.

Cool, pff most defiantly

never leave home without it:laugh:
[Nexus 6  General] Swanseatom:
Thanks for the info, I just ordered a Samsung 850 pro http://www.overclockers.co.uk/showproduct.php?prodid=HD-182-SA.

Yeah sorry it was your post, at time of editing my post I couldn't remember your name sorry! It all worked great for me, thanks for that post!

I'm in the middle of a build that includes all the stuff from post #2. I had a few failed attempts yesterday due to my damn pc. Once I have a build with the fixes from post #2 all running and working has anyone got any recommendations where to go next/what else to do for a beginner?

Once again thanks for this thread and the help much appreciated!

Regards,
[Nexus 6  General] Scott:
Meh, I dont want to disagree with you... However going the way he did is best :D Also that is a very nice drive, may grab one myself!!! :highfive:

Well.. That is up to you to decide... Where do YOU want to go next? Im sure if you post it here the many experts (beyond my level) can help you or point you in the right direction... But you need to realize... No one can tell you what you want... The next step is for you to decide! :highfive:
[Nexus 6  General] Stephen:
I am building my build now. One question. Is the kernel fully decompiled? I think I have found the file that I need to edit to disable the encryption. But I dont know were to look for it in the source folder.
[Nexus 6  General] Scott:
The kernel is the stock kernel and for whatever reason they choose it to be pre-compiled.

However the kernel is not causing the encryption, there is a line in init.rc that needs to be changed from "encrypted" to "encryptable"

You would find it somewhere in boot. Sorry I cant recall off the top of my head the exact location... Let me take a look real quick...
[Nexus 6  General] Scott:
Correction: Its in fstab.shamu

Change

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,discard,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,nobarrier wait,check,[B][I][COLOR="Red"]forceencrypt[/COLOR][/I][/B]=/dev/block/platform/msm_sdcc.1/by-name/metadata

To

/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,discard,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,nobarrier wait,check,[B][I][COLOR="red"]encryptable[/COLOR][/I][/B]=/dev/block/platform/msm_sdcc.1/by-name/metadata

And can be found at:

/AOSP/device/moto/shamu/
[Nexus 6  General] janjan:
I tried to fix the Youtube and sound problem (sound volume changes during playing music low and high). I tried to add "Add QCOM targert-specific cong & helper macros" But it looks like it doesn't fix my Youtube and sound problem. I did the following changes.

janjan@janjan-ThinkPad-X100e:~/AOSP/build$ git fetch https://github.com/Ayysir/android_build.git

From https://github.com/Ayysir/android_build

* branch HEAD -> FETCH_HEAD

janjan@janjan-ThinkPad-X100e:~/AOSP/build$ git status

Not currently on any branch.

Changes to be committed:

(use "git reset HEAD <file>..." to unstage)

modified: core/Makefile

modified: core/base_rules.mk

modified: core/binary.mk

modified: core/cleanbuild.mk

modified: core/combo/HOST_darwin-x86.mk

modified: core/combo/select.mk

modified: core/config.mk

modified: core/definitions.mk

modified: core/distdir.mk

modified: core/droiddoc.mk

modified: core/dumpvar.mk

modified: core/dynamic_binary.mk

modified: core/envsetup.mk

new file: core/generate_extra_images.mk

modified: core/host_java_library.mk

modified: core/java.mk

modified: core/java_library.mk

modified: core/main.mk

modified: core/notice_files.mk

modified: core/pathmap.mk

modified: core/pdk_config.mk

modified: core/product.mk

modified: core/product_config.mk

new file: core/qcom_target.mk

new file: core/qcom_utils.mk

modified: core/raw_executable.mk

modified: core/static_java_library.mk

modified: core/tasks/apicheck.mk

modified: core/tasks/collect_gpl_sources.mk

new file: core/tasks/kernel.mk

modified: core/tasks/product-graph.mk

modified: core/tasks/sdk-addon.mk

modified: core/tasks/vendor_module_check.mk

modified: envsetup.sh

modified: target/product/core.mk

modified: target/product/core_base.mk

modified: target/product/full_base.mk

modified: target/product/full_base_telephony.mk

modified: target/product/generic_no_telephony.mk

modified: target/product/telephony.mk

modified: tools/apicheck/Android.mk

modified: tools/buildinfo.sh

modified: tools/releasetools/ota_from_target_files

new file: tools/roomservice.py
[Nexus 6  General] n80k:
I'm trying to build my first rom so forgive me if this is a n00b question but where can i find the commits to add the lollipop sounds?
[Nexus 6  General] n80k:
Is there a way to sync the files downloaded to my computer with this repo method with github? It seems like repo and github are two separate repos so I dont even understand how to use github if the original AOSP files are on repo
[Nexus 6  General] Scott:
You can find them in [MENTION=3667193]GROGG88[/MENTION]'s commits here: http://xdaforums.com/showthread.php?p=56869492#post56869492

I do believe so... I just never heard of anyone doing it. Im sure someone has. Not quite sure why you would want to if Repo works fine and does what is needed.

Edit: here are the Google instructions for using git: https://android.googlesource.com/

Seems like it might be a lot of work because of the different branches.
[Nexus 6  General] n80k:
Okay, for some reason I didn't see the commits before.

But I'm still totally confused about how to get my ROM onto github to even merge those commits. Maybe I don't need to and maybe I'm missing the point of github? From what I can tell it looks very convenient to merge other people's commits once my ROM is up there. But then if, for instance, Google released 5.1 how would I merge those changes to my ROM on github? It seems like there are lots of people with full ROMs on github so this must be something people do a lot. The more I think about it the more I get confused
[Nexus 6  General] Scott:
If Google releases 5.1 you would have to recreate the changes (possibly).

There are plenty of articles out there on how to use "git" however it is beyond the scope of this thread.

And TBH, I have never uploaded, only downloaded. And that is all you need to merge commits, downloading.
[Nexus 6  General] sykopompos:
You would, there is enough changes upset that most devs are going to cry on the day 5.1 comes out
[Nexus 6  General] Scott:
Yeah, I can imagine!
[Nexus 6  General] sykopompos:
I'll be among by brothers at the crying party ?
[Nexus 6  General] n80k:
Wow. I gotta say I had envisioned a much better system in place. I had gotten the impression from [MENTION=4517211]Xileforce[/MENTION] 's YouTube video that it was easy to put a ROM online on github and sync it with other devs commits and official google updates. I remember when google came out with 5.02 ROM makers had those changes updated on their ROM before the factory images came out. I'm still wondering if there is a way to sync the official AOSP repository with my own build using a mirror someone has created on github. Looks like that will be my next research project
[Nexus 6  General] sykopompos:
5.0.2 was such a tiny minor update just like 5.0.1 so it was like 10 commits that were needed to merged in.

Just like 5.0 was a big step up from kk and devs are still working features in because there is enough changes, 5.1 will be pretty big but nothing like the size of lollipop was.

It just takes time to merge things back in when google updates and depending on what they update, it might be a big headache to recode around it
[Nexus 6  General] n80k:
I think I'm starting to understand how this works. It looks like github is used only for sharing code of certain edited files--not the whole ROM lol. I know I'm well out of my league asking this question but for curiosity sake how do ROM developers debug and fix errors that are created by certain commits not playing nice together? Especially like the easy ones that throw error messages. My best guess is that you monitor logcats through adb.. Or is there an android app for this?
[Nexus 6  General] Scott:
Hahahaha

I dont use adb directly but the android SDK has a program called "Monitor" (it used to be called DDMS) and it has a ton of usefull features in it. One of them being a real time logcat. Second is screen capture ;)

I use that to debug.
[Nexus 6  General] Stephen:
So I am currently running my own build. Basically just the changes mentioned in the OP, plus disabled encryption! Now I have to start learning GIT Hub and downloading and merging changes to my ROM! I ended up giving up on ubuntu and virtualbox. Just did not work. So I wiped my PC and re-installed windows and then setup duel boot with ubuntu. About an hour and a half to download the source, checked for errors and then 3:20 to build the rom! This is a brilliant guide!!
[Nexus 6  General] sykopompos:
They are gonna start asking you how to add layers support soon ?
[Nexus 6  General] Stephen:
I have started to look through some different GIT sources to see what I can add into my ROM. I have already found a few things. I also watched the video posted in this guide and now know how to pull the different things down that I need. What I am looking for, is a simple APM. I would like one that has power off, reboot, Hot reboot and reboot into recovery. So far I ahve not found anything suitable, as most of them are configurable.
[LG Optimus L90] djkozware:
As of now, I am stuck in TWRP. I accidentally formatted EVERYTHING on the phone. so the ROM I wanted to flash is gone. On other phones I had it would be as simple as plugging it back into the computer and using ADB side load. but for some reason, once i formatted everything adb wont recognize the phone. And TWRP wont mount SB storage. I dont have an exSD (which i know would fix my issues right now) so I need to figure out how to transfer files while in TWRP or even get my computer to ADB sideload the ROM for me!
[Galaxy Note 4 Accessories] nicholb:
My previous phone was an S5. I used it with the OEM Qi back on the Tylt Vu charger vertically and centered with no problem. I recently got the OEM back for my Note 4 and have been working on finding the best charging position. About anywhere I would place it vertically would result in partially charged phone in the morning. It would charge to 100% and then fail to go into trickle charge mode and run down for the rest of the night. Since I keep a dim clock display on all night, it would mean a 50-60% charged phone in the morning.

I tried placing it horizontal this weekend and with it centered on the Vu it charges flawlessly. My thought is the phone is a little tall for the Vu and placing it vertically puts the receive out of the sweet spot. Horizontally gets the receiver right into the zone.
[Nexus 7 (2013) Q&A] 008Rohit:
Hi,

I'm really disappointed with Lollipop's battery life under certain use cases. I got the flo just a week back, but immediately flashed 5.0.1 on it. After a few days, rooted it as well. Initially the tablet was running at full clock speed for the majority of time, which was unusual for someone having a Moto G with an interactive governor. So I installed No Frills CPU control, changed max clock to 1.2 GHz and governor to interactive. Even then the tablet is letting heavy apps or games consume more battery than even the display. I'm attaching a battery screenshot below. The phone is literally in Airplane mode with only wifi turned on at times. Battery went down to 10% from 71% in like 1hr during gaming.

Your suggestions are welcome.

Regards,

Rohit

EDIT: The screen-on time was 3hrs 50minutes in total.
[Nexus 7 (2013) Q&A] threepointfive:
Im desperate because of the battery too. Im running a stock, non-rooted device and my standby-time as well as the screen-on time have halved since 4.4. Im seriously considering a rollback to KitKat.

It seems like there are not too many people with this issue though, so it has to be something unusual that can be fixed...
[Nexus 7 (2013) Q&A] nhizzat:
Read all the threads asking the same thing. Posting more threads won't help find a solution.
[Sharp Aquos Crystal] whynot4444:
i found a hidden code in sharp, ##33284#, it show CDMA and LTE, and not seen a GSM service
[Sharp Aquos Crystal] ivanthec:
Hello,

This hidden code along with many others has been covered in the root / bootloader topics on this board. The GSM tunaway apk has also been discussed.
[Sharp Aquos Crystal] whynot4444:
oh, i don't know it, thanks, can i ask you about gsm tunaway, what is it ?
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] t83wood:
Hey guys. So one problem I've been trying to find a solution for is I like allot of information in my status bar but I have so much in it I keep running into the issue of the text and icons overlapping. For example when I use Wanams setting to center the clock allot of things overlap or when I try to add more and nothings overlapping it whatever is on the right side just runs off the screen. Is there a way to create maybe a marquee style where I could add as much I wanted and just have anything that runs off the screen in the status bar constantly scroll across? Currently running Firekat v6.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] t83wood:
First possible solution listed here by another member, didn't work though, fishing for more ideas...

http://xdaforums.com/note-4-tmobile...-anj7-extremely-t2916463/page560#post57520889
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] pirateye:
Bro I thing your font just sux... change the font or the size of it. See attachment.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] t83wood:
Yeah man I know it is a little on the bold side but I kinda like it, other than changing the font I'm thinking there's gotta be another way because no matter what the font someone could have too much up there and be facing the same situation....
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] pirateye:
At least you could make the font smaller and honestly I don't know a mod to make the icons scrollable..

I found this but not sure if it works or if it can help you: http://xdaforums.com/showthread.php?t=2546180
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] t83wood:
Hmm, well just noticing how when the network speed indicator changes everything to the right of it expands to the right and the contracts back, wondering if that could placed on the left and tweaked to pull everything on the right smoothly to the left, then repeat... Not trying to kang though
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] t83wood:
Lol like pac man in your status bar? That's a fun idea :)
[Nexus 4 Q&A, Help & Troubleshooting] hr.nomad:
Everything worked perfect on stock 5.0, but few days ago camera stoped working..after I try to launch it it gives force close error..and after that when i try to toogle flashlight UI force closes..reboot doesnt solve anything..any help?
[PAC Q&A] HawtiYash:
I want a rom which supports otg for my grand 2
[PAC Q&A] Pirateghost:
You will need to check your device forum

#stayparanoid
[Kindle Fire General] sd_shadow:
Partition Screnshots

[IMG="Select Wipe"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141217_105641_314_zps459cf8af.jpg[/IMG]

[IMG="Select Advanced"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141217_105647_841_zps6c45340b.jpg[/IMG]

[IMG="Check a Partition"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141217_105657_204_zpsc3a22ef3.jpg[/IMG]

Data Partition:

[IMG="Data partition"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141215_112950_191_zps6895a9ff.jpg[/IMG]

Cache Partition

[IMG="Cache Partition"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141215_113002_786_zps48d9721e.jpg[/IMG]

System Partition

[IMG="System Partition"]http://i1248.photobucket.com/albums/hh500/sd_shadow/IMG_20141215_113015_413_zps16e74794.jpg[/IMG]
[Kindle Fire General] sd_shadow:
Flashing TWRP in OtterX bootloader

see [Video] Flashing TWRP in OtterX bootloader

Check drivers before flashing see Post #9

Verify MD5 checksums https://sites.google.com/site/sdshadowscollection/home/hash-checksums

Download

adb-fastboot.zip,

and an OtterX TWRP .IMG file like otterx-twrp-2.7.1.0-recovery.img -

Size: 7528448 bytes MD5: ec8e8a67492d5fd06494f854bb59b2ae

for flashing OtterX Bootloader use otterx-u-boot_v2.05.bin

Size: 238720 bytes MD5: 241a3fd1edad0a0d95886ddeb4693e1c
​

Step 1:

Create a folder in c drive named adb,

unzip/extract files,

copy AdbWinUsbApi.dll, AdbWinApi.dll, adb.exe, fastboot.exe, and otterx-twrp-2.7.1.0-recovery.img to adb folder.​

Step 2

connect Kindle Fire to pc, via usb, power off Kindle​

Step 3

Open a Command Prompt (start>all programs>accessories>Command prompt)

change directory to adb with​

cd\adb

Send flash command

fastboot flash recovery otterx-twrp-2.7.1.0-recovery.img

Power ON Kindle

fastboot reboot

after reboot you should be able to enter recovery by pressing power button once and selecting recovery

if still unable to enter recovery, may need to reflash bootloader

same steps

fastboot flash bootloader otterx-u-boot_v2.05.bin

fastboot reboot

if unable to get partitions correct, or adb was working but now does not, could be that something wrong with the bootloader, flashing

otterx-u-boot_v2.04.bin may fix

download otterx-u-boot_v2.04.bin

verify md5: 30569AE834BAFD70D6E7EFB90338F4CB

flashboot flash bootloader otterx-u-boot_v2.04.bin

fastboot reboot

In Bootloader, select Amazon partitions

select recovery

in TWRP>Wipe>Advanced Wipe>check Cache>swipe to wipe

select reboot system (don't worry about system not rooted warning, or no rom installed, just select an option)

In bootloader>select OtterX partitions

reboot recovery

in TWRP>Wipe>Advanced Wipe>check Cache>swipe to wipe

reflash 2.05 bootloader

fastboot flash bootloader otterx-u-boot_v2.05.bin

fastboot reboot

In Bootloader, select Amazon partitions

select recovery

in TWRP>Wipe>Advanced Wipe>check Cache>swipe to wipe

In bootloader>select OtterX partitions

reboot recovery

in TWRP>Wipe>Advanced Wipe>check Cache>swipe to wipe

reboot recovery

Wipe>format data

Wipe>Advanced Wipe>check all>swipe to wipe

reboot recovery

if using 2.7.10 try adb push

if using 2.8.X.X try MTP
[Kindle Fire General] lovejoy777:
you have single handed saved so many kindles. thanks for your continued support. cheers steve. long live otterx :D
[Kindle Fire General] bow_one:
Thanks

Thanks so much [MENTION=4267571]sd_shadow[/MENTION], your instructions saved my Kindle Fire. I flashed twrp v2.7.1.0 from v2.8.1.0 and it worked properly.
[Kindle Fire General] buithehien1991:
Still using TWRP 2.8.x.x

I have idea for using TWRP 2.8.x.x without error when flash new ROM

The steps to perform this is:

Step 1: Wipe Factory Reset

Step 2: Intall Slim-otterx-5.0.1.alpha.0.7-v0.3.zip

Step 3: Intall newest version: Slim-otterx-5.0.1.alpha.0.9-V0.8.zip

Step 4: Install Gapps and Restart

It is successful with me. You can try it and give me comment if you can't.
[Kindle Fire General] DonDeLome:
Partition info in TWRP 2.7.1.0 ?

Great stuff [MENTION=4267571]sd_shadow[/MENTION], keep up the good work. Where in twrp are you seeing the screens in post #2?

Thanks,

The Don
[Kindle Fire General] sd_shadow:
Good question,

Wipe> Advanced> check a partition (Cache, System, or Data) then select Repair or Change File System
[Kindle Fire General] sd_shadow:
Screenshot of Device Manager and OtterX Drivers

If you have not used the install.drivers.bat from Kindle Fire Utility, download, unzip, run install.drivers.bat.

KFU mirrors: AFH - Mega

[IMG="Steps 1-3"]http://i1248.photobucket.com/albums/hh500/sd_shadow/OtterXDrivers_zpse3ca70ff.png[/IMG]

[IMG="Step 4"]http://i1248.photobucket.com/albums/hh500/sd_shadow/OtterXDrivers2_zpsa0f93884.png[/IMG]

show all(uncheck show only compatible)>look for ADB interface or android phone

[IMG="Step 5"]http://i1248.photobucket.com/albums/hh500/sd_shadow/OtterXDrivers3_zps8ffc6d15.png[/IMG]

[IMG="Step 6"]http://i1248.photobucket.com/albums/hh500/sd_shadow/OtterXDrivers4_zps37643441.png[/IMG]

[IMG="Step 7"]http://i1248.photobucket.com/albums/hh500/sd_shadow/OtterXDrivers5_zps5f17e820.png[/IMG]

If that worked Kindle should now look like this

[IMG="Correct Drivers"]http://i1248.photobucket.com/albums/hh500/sd_shadow/kindletwrpdriverswin7_zps7cbdbcf0.png[/IMG]
[Kindle Fire General] OnkelKaethe:
Hi,

i have a problem.... every step works fine until adb push after step 3.

when i try to push the zip files to my device i only get "error: device unauthorized. Please check the confirmation dialog on your device"

But after step 3 there is no OS anymore to boot in an confirm.

How to solve the problem?
[Kindle Fire General] sd_shadow:
use twrp 2.7.1.0

see Flashing TWRP in OtterX bootloader