yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] XN Logos:
Great i also use your Tools to create Boot Logo for My Rn3 Thanks Bro,

---------- Post added at 08:24 AM ---------- Previous post was at 08:22 AM ----------

dd if=/dev/block/{splash partition Name ex mmcblk0p8 of=/sdcard/splash.img
[Android Software/Hacking General [Developers Only]] HaoZeke:
What about AOSP Snapdragon devices like the Xperia Z5?
[Android Software/Hacking General [Developers Only]] GokulNC:
Check his video tutorial: https://www.youtube.com/watch?v=t28MWNDrZDg

If still it doesn't work, tell me, I'll create one :)

Yes, if it contains a partition named 'splash' or 'logo'
[Android Software/Hacking General [Developers Only]] mfaizyy:
Hello I found splash file into dc/block/byname in a6000 plus but the file size is 00 why?

my my bootlogo is mi logo.
[Android Software/Hacking General [Developers Only]] edwaine:
At last I did compile my image file. Well one lack thing though is to extract from the splash.img. Anyways thanks!
[Android Software/Hacking General [Developers Only]] nesquix:
Hi bro ! Here my Mi5S PLUS Splash.img file.

does the procedure for the standard mi5 work for me, or you need to adapt something ...?

thanks ! :highfive:
[Upgrading, Modifying and Unlocking] stefan.hoehn:
Scenario:

- I have a Nexus 6 (shamu) with Android preview: the version of the OTA is NPD90G. (Android beta)

- Yesterday it crashed right after it lost radio signal (this used to be a common problem for me but when it crashed it came back again fine for me)

- Now when it boots it asked for my personal pin, then the animation makes its first round and at the end of the second round it stops and it reboots.

-- This is what it looks like for a moment: www andreaundstefanhoehn de / nexusboothang.jpg (cannot post urls at the moment)

-- Removing the simcard has no effect

-- I wiped the cache partion

- Of course :( I do not have a backup of my data

- Of course the device is locked

- The last message in the log_kmsg is "SELinux: initialized...

What I did:

- I tried the famous "Fix Dead Android in Recovery Mode" but it doesn't help

- After many tries I understood I can update my device with "adb sideload"

-- after searching around a lot I even found the firmware NPD90G and I was successfully to reinstall the firmware.

-- For those who are desperately looking for that version as it seems not to be listed anywhere, here is the still working link: storage.googleapis.com /androiddevelopers/shareables/preview/ota/ shamu-ota-npd90g-06f5d23d.zip (cannot post urls at the moment)

-- Unfortunately even after reinstalling the firmware, it still stops at the same point

-- I tried to unlock the device with "fastboot oem unlock" but it tells me to check "allow oem unlock" in Dev Options which 100% likelyhood is not checked

- Run graphics test results quickly "error", then in a dead android image, then saying "erasing" and then saying "installing system update" but it doesn't fix the problem

Questions

- Does anyone know what the actual issue is that the device stops?

- Is there any newer OTA for shamu I could use? Is there maybe a final Android N for shamu somewhere available?

- Given the above situation, is there any chance I can access files on my device?

- Any other option I have, except factory reset (and wiping my data)?

I really put a lot of effort in it (and learned a lot) but I only got that far. I wished there are other options?

Thanks in advance for helping,

Stefan
[Upgrading, Modifying and Unlocking] stefan.hoehn:
I "reposted" the question to the forum here. Not sure how to move delete it in the the other forum. Sorry.
[Upgrading, Modifying and Unlocking] jackeagle:
Mod Edit

Duplicate post

Thread Closed.

jackeagle

Forum Moderator
[OnePlus 3 Questions & Answers] rubik:
With fingerprint screen unlock turned on, is there a way to not turn on the screen whenever a fingerprint is rejected ? When i am holding and moving the phone about and the fingerprint sensor touches any part of my skin, (palm, thigh..etc...), the screen will turn on. So it's turning on lots of time when i didn't intend for it to. Anyone ?
[OnePlus 3 Questions & Answers] Paraless:
I've read about other people having this same issue. It hasn't happened to me though. The fingerprint scanner only recognizes my fingerprints, not my palm nor other parts of my body.
[OnePlus 3 Questions & Answers] Explorer23:
It shouldn't turn on by default ... If it rejects the finger it should only vibrate to let you know that it detected something, but screen should stay off.

Which ROM are you using?
[OnePlus 3 Questions & Answers] rubik:
Stock, rooted. Touching the fingerprint sensor with knuckle, palm..etc.. wakes the screen, no vibration. Placing unrecognized fingerprint vibrates and wakes the screen. Any input on this ?
[OnePlus 3 Questions & Answers] SidMAX:
Complete stock. 3.2.6. No root. Fingerprint rejection only causes vibration for me, no screen on.
[OnePlus 3 Questions & Answers] rubik:
I am on stock 3.2.6 too. Upon further investigation, If i leave my finger print on long enough, it rejects with vibration without turning on the screen.

Here's a video link demonstrating the problem, appreciate if anyone has any suggestion on how to fix this.

https://youtu.be/msRFxHwo2R8
[OnePlus 3 Questions & Answers] Explorer23:
Weird ... definitely not standard behavior.

I'd try clean flashing the system.
[Desire 626 Android Development] BigCountry907:
Currently Building Bootable Android 5.1 Kernel From HTC DEV Source.

(THIS IS THE STOCK 5.0.1 / RUU Version = 1.23.1550.3 CL637541 RELEASE-KEYS)

Linux version 3.10.49-perf-g26c2269 (and@AABM) (gcc version 4.7 (GCC) ) #2 SMP PREEMPT Sat Oct 31 02:35:36 CST 2015

This has been compiled and will boot on the device.

NOTE: WI-FI IS NOW WORKING

NOTE: DT Blobs broken:Fixed by using Blobs pulled from the device.}

WORK IN PROGRESS !!

Currently HTC has not released the Kernel Source for Marshmallow 6.0.1.

Solution: Port the 5.0.1 HTC Source by merging with AOSP device/lge/bullhead-kernel

Current Status:

WORKING KERNEL NO CHANGES FROM STOCK

Will Build for other Devices upon request.

Anyone who wishes to contribute to this project would be appreciated.

I'm in the process of setting up the GIT and the project on XDA.

DOWNLOADS

FOR METRO - PCS VERSION OF DESIRE 626S

Linux version 3.10.49-perf-g26c2269 (bigcountry@bigcountry-G551JW) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sat Oct 1 11:53:51 EDT 2016

https://drive.google.com/open?id=0B8jitdIyh2NtdW1uNWdvaWdTdG8

The modules are in the link below.

https://drive.google.com/open?id=0B8jitdIyh2NtODl4ellvd0Y5MW8

XDA:DevDB Information

HTC MSM8909 Qualcom Kernel Port, Kernel for the HTC Desire 626

Contributors

BigCountry907, hp79

Kernel Special Features: Pssible: Change Keys used for flashing firmware: Add Fastboot Commands To Custom Bootloader: Either will allow us to S-OFF

Version Information

Status: Testing

Current Stable Version: Linux version 3.10.4

Stable Release Date: 2015-10-31

Created 2016-09-28

Last Updated 2016-10-01
[Desire 626 Android Development] BigCountry907:
Setting Up To Test 3.10.49-perf-g26c2269 Kernel Build

First I would like to mention that a full LINUX Development Environment is required to perform most of these tasks. If you don't have the development environment set up then please do the necessary research.

To test YOUR development environment and the HTC-DEV Kernel Source it is necessary to perform the following steps.

1 ) If you are currently running Marshmallow 6.0.1 you will need to downgrade the device to Lollipop 5.0.1 using the RUU. Please note that the Lollipop RUU is no longer available on the HTC-DEV site. Don't worry we will be going back to Marshmallow but need to test in lollipop first.

Please see the following thread for instructions on downgrading the HTC Desire 626s.

http://xdaforums.com/desire-626/development/metropcs-htc-626s-to-lollipop-t3460391

:good:

2) Download the Kernel Source Code from the HTC-DEV Site.

http://www.htcdev.com/devcenter/downloads

If you use the filter for device and select desire 626s you will see only the 626s kernel sources.

The device I have = HTC Desire 626s (a32eul) " Carrier Metro-PCS"

The Kernel Source I am using.

Device= Desire626s Carrier=HTC Region= Gen Unlock Type=CRC

Kernel Version=3.10.49 Android Version=v5.1	Size=548 MB	Description=1.06.617.6
[Desire 626 Android Development] BigCountry907:
Flashing the New Boot Image

Flash and test Boot the new Kernel

#1 Boot the phone into download mode

Connect the device to the computer

Boot into download mode using the power and volume down key after turning off the device.

Or boot to download mode using adb.

adb reboot download

#2 Flash the boot image

cd ~/a32e-kernel-build/Device-Files/New-Boot/
fastboot flash boot image-new.img

Output is

bigcountry@bigcountry-G551JW:~/a32e-kernel-build/Device-Files/New-Boot$ fastboot flash boot image-new.img

target reported max download size of 725000000 bytes

sending 'boot' (10476 KB)...

OKAY [ 1.877s]

writing 'boot'...

(bootloader) HOSD CL#637541

(bootloader) start@1

(bootloader) boot@100%

(bootloader) Update partition OK

(bootloader) end@Done

OKAY [ 2.759s]

finished. total time: 4.636s

Reboot the phone and test it out

I am happy to say that WIFI is working WE are Building the Prima Module

.
[Desire 626 Android Development] BigCountry907:
Customizing the Kernel

Changing and Customizing The Kernel
[Desire 626 Android Development] BigCountry907:
SUCCESS !! ( Build the Prima / Pronto Wlan Module)

Fix ADD the DTB Blob to the Source

reserved space :p
[Desire 626 Android Development] Mr_DerpFace1337:
I'm so glad somone is doing this I've been wanting a new kernel for a while and I think this might help make a path to new roms
[Desire 626 Android Development] zixxorb:
This looks great. Can't wait to see where this goes. What can I do to help?
[Desire 626 Android Development] BigCountry907:
[MENTION=7086661]zixxorb[/MENTION]

You can run through with all of this and get the kernel running on your device.

Right now im working on getting the missing modules to build.

So you can work on that to.

The modules that are generated during the compile function properly.
[Desire 626 Android Development] zixxorb:
Ok, so I'm more of a noob to doing anything with kernels, idk what I need to do exactly. Plus I'm already on 6.0 (this is my main phone)
[Desire 626 Android Development] BigCountry907:
The Most Valuable Document Ever

This is exactly what we need to answer some questions.

Authored by Qualcomm and one of the hardest things to find.

Make sure to copy this wile you can.

It's practically Top Secret.

https://github.com/dante198406/Qual...0-NR964-4_C_MSM8909_LA_SW_User_Manual_SPD.pdf

Get it wile you can !!
[Desire 626 Android Development] BigCountry907:
Just a general update.

I have updated the modules install section.

It now includes the instructions for installing the new modules.

The modules have been tested and seem to operate without issues.
[Desire 626 Android Development] doyin116:
Will this work for the sprint variant?

I'm a noob so pls permit me if this question sounds foolish. All through the tutorial, it seems this kernel is for the Metro PCs. Will it work for the sprint variant of 626s?
[Desire 626 Android Development] BigCountry907:
This tutorial is based off of the Metro-Pcs version.

The HTC-DEV site has separate source code for each device carrier.

You would follow everything exactly except.

1 ) From the HTC-DEV site download the source code for your specific carrier.

For sprint download sprint.

For t-mobile download t-mobile.

Set the device filter on the website to be desire626s

and you will get this.

[IMG="htc sources"]http://i1376.photobucket.com/albums/ah40/Big-Country907/htcsource_zpscxdfkqx8.png[/IMG]

2 ) in the section #2 Setup the Kernel Source

There are commands for unzipping the source file.

You will need to change the filename in the command to match the filename you downloaded.

After the first untar / unpack you will need to get the kernel filename.

Change that filename in the commands as well.

3) When you edit the version info.

Open up the Big-Country_defconfig

It is in the folder ~/android/device/a32e/arch/arm/configs

Open it with G-Edit or whatever text editor you use.

Search for CONFIG_LOCALVERSION=

and change it to CONFIG_LOCALVERSION="-g26c2269"

CHANGE

CONFIG_LOCALVERSION="-g26c2269"

CONFIG_LOCALVERSION="-your device version"

You can get the version as i showed you in previous post.

4) The rest is all the same.

AS far as the kernel and modules that have been uploaded here, they are for the Metro Pcs Version. ( And Lollipop NOT Marshmallow)

I will build the others later when i finish more of this project.

ALSO YOU CAN USE THIS TUTORIAL TO BUILD THE KERNEL FOR ANY DEVICE.

Things will change here and there but generally speaking all of the steps you need to follow are the same.
[Desire 626 Android Development] doyin116:
Thanks for the guide but as a noob, this is complex for me so I will just wait until someone does create it
[Desire 626 Android Development] anthonykb:
Good read.

http://www.breakage.org/2013/11/15/nohz_fullgodmode/
[Desire 626 Android Development] BigCountry907:
Now Compiling Prima Driver

Just an UPDATE the prima driver is now compiled by source

I finally found the right source code and got the pronto wifi drive compiling with the kernel.

Be sure to check back a couple pages to see the instructions for building.

I imagine this has been a roadblock to developing these devices.

It was not an easy thing to figure out

Well now the way is paved. :p
[Desire 626 Android Development] zixxorb:
Awesome. Now I can't wait for Cyanogenmod :p
[Desire 626 Android Development] BigCountry907:
Just an UPDATE the msm_core_ctl.ko module is now compiled by source

The kernel is configured to compile the module at build time.

Be sure to check back a couple pages to see the instructions for building.
[Desire 626 Android Development] BigCountry907:
Tuxera XFAT

Just an UPDATE the textfat.ko module is now compiled by source

Currently I have built this as a external module. It loads correctly.

I am now in the process of merging the driver with the kernel.

I like it when everything builds with the kernel.

One more module to go and we got them all.

I have also been very busy setting up the github repo.

Almost have it caught up to this thread.

Each modification shown here has been implemented as a separate commit in github.

This way if you want to replicate my work you can.

Still lots to do it would be extra nice if some real devs would jump in. All and all I'm not doing to bad. It's simply a matter of time.

After the github is all set I will compile some kernels and pack them in a flashable zip.

Anyone making roms is more than welcome to use the kernel with their rom.

Heres my source code.

https://github.com/Bigcountry907/kernel_htc_a32eul/tree/stable
[Desire 626 Android Development] zixxorb:
Since your compiling the kernel, is there a way to add USB otg?
[Desire 626 Android Development] BigCountry907:
[MENTION=7086661]zixxorb[/MENTION]

I'm pretty sure the chipset supports it.

As long as it is supported by the chipset I can implement it.

That goes for other additions as well.

We will get to that soon.

I want the kernel to be rock solid before I start changing / adding features.
[Desire 626 Android Development] zixxorb:
Awesome. I'm so excited for the development of this phone. Thank you so much
[Desire 626 Android Development] BigCountry907:
I have a big update coming soon.

Added in the x-fat driver from tuxera.

Took a little time because i wrote a small program to build the module.

Otherwise it would be difficult for me to explain how to create that module.

My git hub is pretty close to caught up.

It turned out to be a bit of work.

Right now i am adding in scripts to create a flashable zip automatically.

And after all of that is done we will start to look at the OTG.

Which the msm8909 chipset can support.
[Desire 626 Android Development] BigCountry907:
My git on github will compile without issues.

I have pulled everything into the master branch.

There are still some changes I have made that I need to update.

But these are mostly for compiling in omnirom.

I have built UBERTC Toolchain for arm-eabi-4.9-cortex-a9.

You can also get the toolchain pre compiled from.

https://github.com/UBERTC

Not sure if all the tool chains that you can compile are pre compiled but some tool chains are available.

I will add my tool chain to the kernel source.

Currently I have the kernel and recovery building in Omnirom 6.0 and Omnirom 7.0 successfully.

I replaced the omnirom tool chains with my own custom tool chains. UBERTC.

I am pullin in CAF sources and plan to complete the rest of the device tree.

Time is the issue and since it's just me I am doing this as fast as possible.

Again Here is my Kernel Source.

https://github.com/Bigcountry907/kernel_htc_a32eul
[Desire 626 Android Development] zixxorb:
Thanks for your hard work man
[Desire 626 Android Development] BigCountry907:
No problem at all.

I really enjoy figuring out the issues when they arise.

The things you learn doing this is worth the effort in it'self.

In time I will complete the rest of the tutorials this way anyone can follow my tutorials, use my source as an example, and build for other devices.

Generally speaking most of this work will be applicable to all msm8909 chipsets.

With some minor device specific changes.
[Desire 626 Android Development] zixxorb:
That's awesome. I'm looking forward to the future of this phone (especially roms)
[Desire 626 Android Development] zixxorb:
So how close do you think we are to say cyanogenmod for this phone?
[Desire 626 Android Development] BigCountry907:
[MENTION=7086661]zixxorb[/MENTION]

I don't really know, I haven't tried to compile any of the roms yet.

I believe I have all the necessary files but I am not an expert at putting it all together.

Considering that the kernel is pretty much complete (The mocana module is the only one I don't have code for.)

And I have all of the msm8909 source code. It should be possible.

What I don't know is if there will be any problems with the boot-loaders.

I been spending some time working on those.
[Desire 626 Android Development] zixxorb:
Ah. Looks like we need a second dev. I don't know how either or I'd do it
[Desire 626 Android Development] BigCountry907:
I know for sure I have everything to make it easy.

I got ahold of all the proprietary stuff that is all most impossible to get.

The kernel is solid the tree for the kernel is good.

I need to push some updates mostly for compiling in omnirom.

It seems building the tree is different for each rom.

I'm getting there but it takes time. And I am still learning.

Once I complete everything I want to do with this project I will be well on my way.

I have the source code, all of it, and I have my system set up to build it.

I just need to build the rom tree properly and we should be good to go.

It would make things go much faster if some more devs got involved.

But so far it's just me.

Don't worry I will get there eventually.
[Desire 626 Android Development] zixxorb:
Well I'm so thankful for what you're doing.

Also, paging [MENTION=4911249]Unjustified Dev[/MENTION]
[Desire 626 Android Development] BigCountry907:
[MENTION=7086661]zixxorb[/MENTION]

Thank you, I appreciate your interest in this work.

If we could get one or two devs just to help out a little that would be great.

I am no noob but i am not an expert either.

So far I have spent most of my time on this project finding the source code that makes life easier.

By some luck I have managed to get the msm8909 board support package. ( and a bunch more )

I think I could put together the normal CAF + Board support package TREE together utilizing the qualcom manuals.

I do have work started on the omnirom tree.

Maybe I should just try to put together cyanogen.

I am sure that there is more documentation on correctly building it.

The issue I ran into is most of the guides rely on syncing up the source off of github.

I don't want to put all this source on my github.

So i need to work locally on my machine.

What I need is a good example. Dosen't have to be the same device or but any device with the msm8909 chipset.

An example that is built from the beginning like where we are at here.

And this example should show the commits on the github tree.

Then I can use that as a guide to put all my files in the right places.

And to edit the makefiles as needed to link to my new sources.

I know I can do this, but man if I had a mentor to give me a kickstart in the right direction it would go much faster.

This whole thing just takes hours and hours of research. Which I have done.

The last couple of weeks I have been geared toward the kernel and the bootloaders.

I have found some really sweet things that we can do with the boot-loader.

Like booting off a sd card to test the rom and other software.

And adding in menus to put the phone in qdl9006 mode to recover a hard brick.

If I can get these devices to run custom radios and bootloaders I think that there will be zero issues making custom roms.

With our own bootloader we have full control of the device and will not have to make the rom work aroud the limitations of the htc bootloader.

The success of this all depends on the signature scheme of the currently installed boot-loader.

If they require a HTC signature it could be very difficult.

If they are signed by qualcom or not signed at all it should be easy.

I am figuring this out.

So it seems that I just need to try and stick to one project.

But I can't decide where is the best starting point.
[Desire 626 Android Development] zixxorb:
That sounds amazing.

Unfortunately I don't really know any other devs to call on. Except maybe vampire info. (Idk why it won't tag him)

Hopefully we can get you some help
[Desire 626 Android Development] BigCountry907:
I started putting together some trees.

Once i have them how i think they should be i will up to git.

Then someone who knows can check me out, smack me around and get me going in the right direction.

If we get this done it should pretty much apply to all the msm8909 based devices.

And there are tons.

I am sure we will get there eventually.
[Desire 626 Android Development] nuuits:
hi, i just want to thank you for this guide ^.^ i've been trying to build a kernel for lollipop but couldn't get it to boot, but when i scrapped and restarted using your instructions for building, it worked beautifully.
[Desire 626 Android Development] BigCountry907:
I'm glad it worked out for you.

It took me a wile to put this together.

I still have much work to do but recently I have been working on setting up J-Tag for the MSM8909.

Eventually it should lead to some more good stuff
[Desire 626 Android Development] zixxorb:
Well I'm still thankful for your work on this, however my phone broke and had to buy another. Good luck tho. Full support
[Desire 626 Android Development] Ipoke Smot:
Glad to see there is still someone putting in work on these phones. I figured this would've been a popular phone when it was released, which is why I bought it. As someone who thinks it's ridiculous to get a new phone every couple months or weeks, being stuck with a basically stock phone kind-of sucks. I know nothing when it comes to creating roms or kernels, or I would offer help. All I can do is say thank you and keep up the good work.
[Desire 626 Android Development] LilAnt530:
Hopefully this doesn't die! Still currently waiting to unlock the bootloader, but I already like this phone, have always loved HTC, sense isn't THAT bad, but its not AOSP or CM14 haha