yashsingh1/xdaforums huggingface dataset:
[OnePlus 3T Guides, News, & Discussion] smaeul:
Ah, this is the fun part, and something that had me confused for an hour or two as well. The modified stock boot image does not work without a signature. It only appears to, because the repacked image is the same size as the signed one, minus the signature at the end. I can guarantee this because you say you got the warning. This means that when you flash it, the original signature is still sitting there in flash!

The boot.img before the signature is a multiple of the page size long. Only the necessary flash pages are written by fastboot. So any part of the flash partition after that point will be untouched. Since the signature is on the next page, it doesn't get erased or changed.

Try a "fastboot erase boot" and then flashed the unsigned modified stock. It won't work, because the signature is erased. SuperSU doesn't work without re-signing because it adds several files to the ramdisk, thus increasing the size of the boot image and overwriting the residual in-flash signature. If the boot.img was modified to be smaller than the original, the signature would still be there, but not where the bootloader looks for it, so that case would fail as well.
[OnePlus 3T Guides, News, & Discussion] rk2612:
Great stuff [MENTION=8104721]smaeul[/MENTION]!!! Makes a lot of sense. I would have never been able to figure this out.
[OnePlus 3T Guides, News, & Discussion] rk2612:
Has the bootloader been fixed in 7.1.1? Refer:

https://github.com/OnePlusOSS/android/blob/20bcd46830b00b54cb8d5264e7126dacbf005a9a/default.xml#L30
[OnePlus 3T Guides, News, & Discussion] smaeul:
Nope!

Conveniently, the git revision is right there in the manifest. MSM8996 is on tag LA.UM.5.6.r1-02900-89xx.0 and MSM8998 is on tag LA.UM.5.7.r1-09900-8x98.0 (or one of the other tags on the same commit). The commit you're looking for that fixes the length check is here. The bootloader on MSM8996 is still older than that, and while the bootloader for MSM8998 is newer, it does not contain that commit.
[OnePlus 3T Guides, News, & Discussion] berkantkz:
Hi,

I've a LG K10 K430 model, which is MTK variant. Dm-verity is hard-coded on its bootloader, no way to disable it. That's why we even cannot flash TWRP. Can someone help me to sign the TWRP with the oem key. So that, it'd boot.

I need help. Thanks in advance.
[OnePlus 3T Guides, News, & Discussion] smaeul:
The bootloader bug has now been fixed in one of the recent betas (I haven't tried all of them, so I don't know specifically which one). You now need a properly-signed kernel and recovery to use a locked bootloader. You can apply this patch to the device/oneplus/oneplus3 repository to enable signing for the normal kernel:

diff --git a/device.mk b/device.mk
index 0061654..503998e 100644
--- a/device.mk
+++ b/device.mk
@@ -331,3 +331,8 @@ PRODUCT_COPY_FILES += \

# Inherit from oppo-common
$(call inherit-product, device/oppo/common/common.mk)
+
+# Enable boot.img signing, but not dm-verity
+# (see build/target/product/verity.mk)
+PRODUCT_SUPPORTS_BOOT_SIGNER := true
+PRODUCT_VERITY_SIGNING_KEY := build/target/product/security/verity

You can sign TWRP with a command like the following:

boot_signer /recovery twrp-3.1.1-2-oneplus3t.img verity.pk8 verity.x509.pem twrp-3.1.1-2-oneplus3t.signed.img

I'd attach a pre-signed recovery, but it's too big to upload.
[OnePlus 3T Guides, News, & Discussion] rk2612:
I think the bug was fixed in N-7.1. Can't say that I understand this fully but the source code for OnePlus 3 at github has an updated version for lk thereafter which includes the commit you referred to earlier.

With this update, does the bootloader throw up any warning if a boot or recovery partition is signed with a valid signature but that is not the OEM's signature? Or does it proceed to boot without any warning screen as if the device had a locked bootloader?
[OnePlus 3T Guides, News, & Discussion] meiser:
I'm also interested in this answer. Can I just sign my LOS image with the test keys and they are treated as valid signature?
[OnePlus 3T Guides, News, & Discussion] smaeul:
Yes. You can run a similar command for the normal boot.img extracted from a LineageOS (or other ROM) zip:

boot_signer /boot boot.img verity.pk8 verity.x509.pem boot.signed.img

But beware! If you do this sort of thing, and forget to sign your kernel once, you can lock yourself out and have to recover with QPST. (I speak from experience.)

That's why I recommend doing what I do for my custom LineageOS builds, as mentioned before. Patch the device Makefile to always sign the boot.img: https://github.com/smaeul/patcher/b...6512/smaeul/device_oneplus3-boot_signer.patch
[OnePlus 3T Guides, News, & Discussion] meiser:
OK, I added your patch to my personal LOS repo.

I have some more questions:

- How can I verify that the signing worked?

- Can I use the latest bootloader? Or do I need to go back to the 4.0.1 bootloader?

- Can I still update the recovery and LOS image with TWRP after locking the bootloader?

Thanks a lot for your help!
[OnePlus 3T Guides, News, & Discussion] smaeul:
You can verify that a boot.img has a signature (with any keypair) with

boot_signer -verify boot.signed.img

To verify that it is signed by a specific key, use

boot_signer -verify boot.signed.img -certificate verity.x509.pem

You will be able to use any bootloader version until/unless OnePlus decides to change the keys. They probably won't ever do this because a) it would be an upgrade nightmare and b) it doesn't actually improve security.

The bootloader I'm using is from after I said back in November:
[OnePlus 3T Guides, News, & Discussion] meiser:
Hmm, sorry, this is not yet clear to me. Which keys do I need to use for signing then? The one from OnePlus?
[OnePlus 3T Guides, News, & Discussion] SpasilliumNexus:
Custom.

https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606
[OnePlus 3T Guides, News, & Discussion] smaeul:
OnePlus is supposed to use their own, private keypair for signing boot images. If they did this correctly, we would be unable to sign our own boot.img files, because we (as people who don't work at OnePlus) wouldn't have the private part of the keypair. However, because OnePlus never bothered to customize the bootloader source code provided by Qualcomm, they're using the same public keypair as the one in the AOSP source. So, at the moment, "OnePlus keys" and "AOSP keys" are the same thing, and you can use the verity keys from https://android.googlesource.com/platform/build/+/master/target/product/security/ to sign a boot.img for your device.
[OnePlus 3T Guides, News, & Discussion] VincentJoshuaET:
Can you share a fixed TWRP on somewhere like Google Drive or AFH? thanks!

---------- Post added at 03:06 PM ---------- Previous post was at 02:59 PM ----------

Also, how do I downgrade to the 4.0.1 bootloader if my current firmware is the Open Beta 28?
[OnePlus 3T Guides, News, & Discussion] meiser:
[MENTION=8104721]smaeul[/MENTION], have you already upgraded to LOS15.1?

I applied your patch to the LOS15.1 environment, but the boot.img in the zip archive is not signed even though the boot.img under out/target/product/oneplus3 is signed.

It seems that the bootimg under out/target/product/oneplus3/obj/PACKAGING/target_files_intermediates/lineage_oneplus3-target_files-92ae1efb53/IMAGES is used as I see "using prebuilt boot.img from IMAGES..." in the build output.

$ ./boot_signer -verify ./out/target/product/oneplus3/obj/PACKAGING/target_files_intermediates/lineage_oneplus3-target_files-92ae1efb53/IMAGES/boot.img
Exception in thread "main" java.lang.IllegalArgumentException: Invalid image: not signed
at com.android.verity.BootSignature.verifySignature(BootSignature.java:264)
at com.android.verity.BootSignature.main(BootSignature.java:310)

$ ./boot_signer -verify ./out/target/product/oneplus3/boot.img
Signature is VALID

I couldn't find a solution yet, maybe you have some advice.

Thanks in advance.

Best regards,

meiser
[OnePlus 3T Guides, News, & Discussion] ppajdek:
Revert the patch and add

$(call inherit-product, build/target/product/verity.mk)

to the end of device.mk and you should be good.
[OnePlus 3T Guides, News, & Discussion] meiser:
But doesn't it also enable dm-verity? As I understood, it should be disabled.
[OnePlus 3T Guides, News, & Discussion] ppajdek:
Verity is disabled on userdebug builds, also all custom roms have verity disabled in kernel and fstab.

Basicy the verity.mk file adds what you reverted https://github.com/LineageOS/android_build/blob/lineage-16.0/target/product/verity.mk

In free time i will make some test, i made an aex rom build with signed boot.img.
[Samsung Galaxy S7 Edge Questions and Answers] ike_1985:
Bandcamp consistently crashes aftet upgrading to nougat, about every 10 min. It happens when I'm browsing my wishlist and streaming at the same time. It seems to lag when switching between screens and ultimately crashes. I have uninstalled and reinstalled the app, makes no difference.
[Samsung Galaxy S7 Edge Questions and Answers] joe.skelly:
I'm not familiar with Bandcamp, but it might be related to a battery saving feature, which is new to the nougat.

Go into your settings, Battery. Go all the way down until you see "Unmonitored Apps". Try adding the Bandcamp app to this list and try again.

Tapatalk for Android - Works awesome on my Samsung Galaxy S7 Edge
[Framaroot] agamenonam:
Hello People,

some one here know if the Alcatel(TCL) 8050E will be elegible to be rooted by Framaroot?

I Saw other models of the same manufacturer available but not this one specificly.

Can some one give some help, with this or other way to root my device.

Tks, and Best Regards.
[Framaroot] agamenonam:
No, at least by now (aug 2017)

At least for now Aug 2017, the framaroot isn´t root this device, i tryied few moments ago, and didn´t work. (i tryied the 1.9.3 version)
[General Questions and Answers] Youdoofus:
anyone know who is stepping up after chainfires departure? i know i saw some names mentioned in the past, but cant think of who they were and google hasnt helped with this search
[General Questions and Answers] Youdoofus:
does nobody know who im talking about? there was a developer whose username was something like a persons name and initials who apparently was stepping up in a big way. No ideas?
[General Questions and Answers] ubigred:
Yeah he's gone.

---------- Post added at 03:22 PM ---------- Previous post was at 03:21 PM ----------

He was one of a kind.
[General Questions and Answers] Youdoofus:
yeah he was. And i know hes gone, i was just wondering who (if anyone) is stepping up to fill his shoes. I thought i read somewhere that there was a new up-and-comer that was trying to fill that void
[General Questions and Answers] ubigred:
None that I know of
[General Questions and Answers] a7thousandths:
I know phhusson is still working on an open source super user alternative? His thread is still active and this might be a good option in the future
[General Questions and Answers] Youdoofus:
very sad :(

i hope hes successful, cuz man... chainfire sure left some big shoes to fill. i could have sworn that i heard of a dev whose name was in this format "rj smith". Just his initials and a last name, but i cant for the life of me remember what it was
[Lenovo Vibe K4 Note Questions & Answers] michaelrp2:
Hello. I didn't found anything about it.

Someone know how to flash the stock rom through fastboot?

or how to run the SP flash tools easily? I use Linux Ubuntu 16.04. :confused:

- sorry for my English.
[Windows Mobile Development and Hacking General] MR SLIMM:
I need serious help, I can not get the HTouchFlo program to install on my Apache 6700 with WM6 on it. I have installed the files, but im not able to install the program. I tapped on the .exe file on my phone and the file with the source of the program comes up, it does not execute and install. All other files have nothing to associate itself with. What am I doing wrong? I don't have any other program of the sort on my phone. Can someone please help this newbie get this program to work. I would greatly appreciate the help. :mad:
[Galaxy E5, E7 Android Development] mhmadfarooq:
hi,

what's up?! no new developing for our E5?
[Galaxy E5, E7 Android Development] vvhiterice:
Lots of people develop for out phone, hence the LineageOS and different resurrection remixes posted here.
[Nexus 6 Q&A, Help & Troubleshooting] pr0ndigy:
Does anyone know of an app that will automatically turn off mobile data when i'm successfully connected to a WiFi connection have have internet access through it.

The app should do something like this...

1. Check for WiFi connection

2. If WiFi = connected, then test WiFi connection

3. If connection = Good, then turn off Mobile Data, else leave Data connection ON

If you suggest Tasker, then you better follow it up with a full write-up on how to set it up on Tasker.
[Nexus 6 Q&A, Help & Troubleshooting] dahawthorne:
I believe (someone will correct me if I'm wrong) that Android is programmed to use wifi when it's available, even though your data connection looks as if it's on.

If you're not happy with that, Automate It should be able to do something for you. I have Automate It Pro set to turn off wifi & data at midnight, for example, to avoid the nuisance of emails pinging me in the middle of the night. And it switches wifi & sync on at 09:00 each day. Very useful tool, simpler than Tasker, so no tutorial from me... :)

There are a few Automate apps in the Play Store - it's this one:

https://play.google.com/store/apps/details?id=AutomateIt.mainPackage

This free version allows you 3 (as I recall) triggers - if you need more it's not too expensive to buy Pro.
[Nexus 6 Q&A, Help & Troubleshooting] NGOwner:
I use RadioControl to handle that for me.

https://play.google.com/store/apps/details?id=com.nikhilparanjape.radiocontrol&hl=en

It requires root, and it's not perfect. But it works well enough for me.

[NG]Owner
[Nexus 6 Q&A, Help & Troubleshooting] g0at1:
Try smart radio xposed module.
[Nexus 6 Q&A, Help & Troubleshooting] jbaumert:
Tasker does it pretty simply, but it needs root access..

Set up (2) tasks - I called mine Data Off & Data On. You will need to select "Net/Mobile Data" and then set "On" or "Off" respectively. Next set up your profile. Select "State/Net/Wifi Connected", and leave everything empty and save. This will trigger the profile when any wifi is connected. (Optionally, you could set it to your home or work wifi, etc). Your "task" will be "Data Off", then add an "exit task" for "Data On" (by long pressing the Data On and selecting "exit task").
[Nexus 6 Q&A, Help & Troubleshooting] Pkt_Lnt:
^^^^ This. Android has done this for years. Some devices have the ability to keep mobile data on with wifi, but those usually default to OFF.

Note in the screenshot below that my Cellular network state (mobile data) is "Disconnected"
[Nexus 6 Q&A, Help & Troubleshooting] jbaumert:
Interestingly, I bring up the same screen on my phone (when connected to wifi) and it shows cellular is still connected??
[Nexus 6 Q&A, Help & Troubleshooting] Pkt_Lnt:
Do you have a ROM that has that option and it is enabled?
[Nexus 6 Q&A, Help & Troubleshooting] jbaumert:
Running SIX ROM - Just checked, that option is disabled in the Dev Settings / connected to good wifi / and cellular is active...
[Nexus 6 Q&A, Help & Troubleshooting] Pkt_Lnt:
¯\_(ツ)_/¯

Now it is a question for that rom dev.
[Note Edge Q&A, Help & Troubleshooting] narty_jezusa:
Anyone know something about update for our edges? I mean official update with side bar support.
[Note Edge Q&A, Help & Troubleshooting] MobileUnlockBase:
Won't get official support for edge. Best you can do is look for some ports. I just install Norma ROM on my edge, not nougat but a nice change and works well.
[Note Edge Q&A, Help & Troubleshooting] narty_jezusa:
I'm really disappointed.
[Note Edge Q&A, Help & Troubleshooting] MobileUnlockBase:
Yes, we all are. I would have purchased a note 7 had it not had issues. Now that there is no note 7, the least Samsung could have done was give us the newer os. If you have and edge, why go to a note 5? Oh well, maybe it was a hardware issue, don't know
[Note Edge Q&A, Help & Troubleshooting] Senshi3000:
You can use the Sidebar lite or the Sidebar pro app from Playstore, when you like the edge screen
[General Questions and Answers] netgod.black:
System font of Xperia Z1 rooted ( by Kingroot ) can not be replaced by well-known Font changers,although Su permitted.

This device also has battery error as it shut downs at 68 % .

Give me some advice.
[Honor 6X Guides, News, & Discussion] rudolfzz111:
Please also mention that there is no working method at the moment to revert back to 4.1 ( is possible just need to confirm it )
[Honor 6X Guides, News, & Discussion] salamonii:
no more unlocking bootloader

sorry,, but now huawei stopped providing unlocking bootloader ,, what should i do ?
[Honor 6X Guides, News, & Discussion] :
There are many third party service that will sell you an unlock code. DC Phoenix sells it for 4$. Alternatively you can try nagging the support.
[Honor 6X Guides, News, & Discussion] JudoLudo:
you mean.. that now I can't root my Honor 6X without paying?
[MTCB Android Head Units Q&A] Bassfreak85:
Hello, first Sorry that my english is not the best, but i hop that someone can answer my questions.

Most KLD MCU have an update with an redesigned Sound Processor....

Have someone information when this update comes for the MTCB KLD6?

i play with the Trought that i make this Hardware update

for the reason I ask first when and if an update comes for my Headunit.

Or gives another way.

Thanks for the answer.
[Galaxy S 5 Q&A, Help & Troubleshooting] LarsVomMars:
Hi, I have Resurrection Remix installed on my S5 but GPS doesn't work. How can I fix it?
[Nook Touch General] seti2:
Just bought the Glowlight plus and tried to find a concentrated place with info but without success.

I managed to root my nook using Cazar's script (https://xdaforums.com/showpost.php?p=64191791&postcount=153)

But what now?

How can i install Google apps?

What recommended modifications to do for best user experience?

Recommended apps?

Recovery?

I appreciate ant information you can contribute.

thanks!
[Android Apps and Games] LeGrice:
Hello,

I would like to introduce my new game Zig Zag React. Perhaps it reminds you of Zig Zag at the first moment, but you will see that the game control differs from the original and tends to be more challenging.

What do you think about the degree of difficulty - does it feel right for you?

*

Google play store link:

https://play.google.com/store/apps/details?id=com.IconE.ZigZag_React

Youtube link:

https://www.youtube.com/watch?v=6BmyddBbPII

Google play store text:

Train your Coordination!

Move along the wall and collect all diamonds.

The colored symbols show you the directions where you can move.

Press the appropriate button at the right time to control the ball.

*

Your coordination will improve from time to time!*

*

How many points can you reach?

Special diamonds for bonus points

5 highscores are saved

Personalize your control options

Increasing game speed

*

Play Store Images:
[Android Apps and Games] LeGrice:
Ok, some problems occurred trying to publish it on the PlayStore... Now everything works fine....
[Android Apps and Games] walgariant:
All buttons seems in my screen as "x", so I didn't get it.
[Android Apps and Games] LeGrice:
The X changes to the symbols moments before the ball reaches a "crossing" - that's how it works on all devices on which I tested the app...

If the buttons stays a X all the time, something is wrong there...
[Huawei Mate 9 Questions & Answers] JakRox1:
Not sure what is happening. Screen just comes on at random times for a few seconds. When I open the phone, there are no notifications waiting. Also, this happens while not charging and sitting on my desk. Power in the 90's. Any idea what's waking up the screen?
[Huawei Mate 9 Questions & Answers] Governa:
You have an app running on the background waking the device periodically to avoid getting dozed. All normal.
[Huawei Mate 9 Questions & Answers] kolembo:
Or you have a scheduled turn on....

But I think the above is correct
[Wing, P4350 General] popularthuq:
Ive had my Wing for 3 months now, i just this week became interested in further developing my phone into something more of a useable device worth the 100 dollars i pay monthly to keep it running.

one of my only gripes about the standard software has been the lack of alternates. im looking for a program or hack that functions closer to the ichat of the mac for AIM. has any one seen this? If so, please let me know

thanks a mil.
[Wing, P4350 General] turbo1zz:
this is where the Wing lacks big time. I came from the Sidekick which had excellent instant messaging and stayed connected well and was instant as the name implies. The IM software that comes with the Wing uses SMS so it is slow and unless you have unlimited text messaging you are in for a rude awakening. I have tried a few of the program out there including IM+, Palringo, agile, and imov and none of them come close to the functionality or the reliability of the sidekick. IM+ is nice but it constantly disconnects and drives friends nuts because you sign on and off all the time. Palringo is better for this but you can not switch users without losing everything you just typed to someone. even if you go to the contacts list you lose your conversation with whomever you are talking to. Agile would not stayed connected for more than a minute or two and constantly lost connection. imov just flat out didn't work well and would freeze so I didn't get to try it out much. And on top of all this. if you are using a cooked rom like touch it. you will not be able to use these because something required by the programs has been removed and no one here knows how to correct it or at least from what I've encountered. I will be waiting impatiently for my contract to end in a couple months and will be switching to a phone better suited for messaging. as far as PPC phones go the Wing is a good little phone even though slow and lacking memory big time it is not a good phone for those wanting to stay connected. I never thought I would miss my sidekick 3 but by oh boy was I wrong.
[Wing, P4350 General] papamopps:
Here is all IM....

did me just a sec to search.

http://xdaforums.com/showthread.php?t=315654&highlight=bible
[Wing, P4350 General] RICANPAPI_16:
well i just got my t-mo wing and i like it i just dont like the aim client on it.disconnects and cant recive aim messages while off-line.is there anywhere i can download the aim client the the sidekick 3 has? witch i thinks is best aim client ever.can recive messages offline,can set away messages,and stays connected,the wing aim client that it brings is very bad. so if anyone knows where i can download the aim client that the sidekicks have plz tell me thank you.
[LineageOS Questions & Answers] marcocet:
I recently installed lineage os on my HTC one m9 but I noticed that the camera and flashlight do not work does anyone know how to fix this?
[Windows RT General] samueloufc:
ClassicStartMenu looks like an awesome thing to have on a jailbroken/unlocked RT device but it hasn't been compiled correctly so it doesn't open (even though its on the list of RT compatible desktop apps?). Can someone get it working on RT again :) ?
[Sony Cross-Device General] bakfitty:
Hi!

I would like to share this mod from raffaele88, to get xperia ambient display on .291

here is the guide: https://xdaforums.com/google-nexus-5/themes-apps/how-to-add-ambient-display-settings-t2942838

View attachment 4073505

View attachment 4078543
[Sony Cross-Device General] MelihCaliskan:
Thank you, I installed it and it worked. But not properly, it worked for a really short time and then the screen went black again. Can you fix it?

Xperia Z2, MX ROM based on the .291 firmware.
[Sony Cross-Device General] bakfitty:
Unfortunatly no
[Zuk Z1 Q&A, Help & Troubleshooting] Taro@123:
After installing linage os in zuk z1,

1. Auto rotation not working

2. Fingerprint security not available in settings.

Please help.

Thnx in advance