yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Q&A, Help & Troubleshooting] asepthea:
I trying to build android 7.1.1r1 on nexus 5x, here are the steps:

1. Download the source by repo command (android-7.1.1_r1)

2. Download driver binaries from https://developers.google.com/android/drivers, code bullhead, NMF26, LG & Qualcomm

extract both files (LG,qualcomm), run shell script inside, extract-lge-bullhead.sh and extract-qcom-bullhead.sh on working folder

3. make clean

build/envsetup.sh

lunch aosp_bullhead-userdebug

make -j16

fastboot flashall -w (with bootloader unlocked)

4. when done , found some problems :

A. there's an internal problem with your device on screen

B. wifi connected but no internet conn

C. date back to 1 jan 1970 when reboot

for problem A can be fixed by http://xdaforums.com/nexus-9/development/fix-build-prop-variety-fix-aka-contact-t3133347,

but can not for others.

I tried to flash vendor.img (from factory image) but still can not fix.

Please let me know if missed something, or if you have some clues for me to fix .

Thank you very much.

asepthea
[Nexus 5X Q&A, Help & Troubleshooting] mobnoob7:
I have exactly the same build config and issues as you, apart from Wi-Fi which works for me. However I have additionally flashed TWRP for the recovery image, and installed Open GApps.

I cannot find a resolution of the date reset issue. I have seen only a few references to the same issue and does not appear to be specific to the 7.1.1 build (I have seen references back to 4.4 stating the same). The best I can kind is issues relating to the vendor binary images. On one thread I read, someone fixed the issue by loading the factory image (which does work as expected for 7.1.1) and extracting the vendor binaries from the phone. However he did not describe how he did this. I assume he copied files/folders from the /vendors folder from the phone.
[Nexus 5X Q&A, Help & Troubleshooting] asepthea:
Yes correct, wifi can be fixed after remove wifi, set date & time and reconnect.

Reset date problem still can not fix, even i build android 7.0 always get same problems.
[Nexus 5X Q&A, Help & Troubleshooting] mobnoob7:
Partial solution

I did a lot of digging around on this, using the Clock_Offset.apk, but this had hit and miss success (need to use v2.0 with Nougat as the data is not symlink'ed to toolbox it is linked to toybox). Also Nougat does not appear to consume /data/local/userinit.sh, even with the init system mods.

First Attempt

My first solution was to use the Clock_Offset.apk to create the RTC offset which stores it in a file called /data/media/rtc_offset, then use a modified version of the Clock_Offset.apk script userinit.sh and place it under under SuperSU which should execute any executable script within /su/su.d/.

fixdate.sh
#!/system/bin/sh

# Fix date on AOSP Nougat builds
[[ -f /data/media/rtc_offset ]] && /system/bin/date @$(expr `cat /data/media/rtc_offset` + `cat /sys/class/rtc/rtc0/since_epoch`)

This appeared to work for me, however after re-flashing the phone and trying again I was back to square 1.

Actual partial solution

I flashed the phone with the factory image and using logcat I could see the factory image had the same issues with time_daemon, in that it failed to update the RTC (hwclock) and unable to update this at boot.

So the factory image appears to use a similar hack to Clock_Offset mod and uses the following files to track the time between reboots.

bullhead:/data/time # ls -l
total 16
-rw------- 1 system net_raw 8 2016-12-22 16:15 ats_1
-rw------- 1 system net_raw 8 2016-12-22 16:15 ats_2

Note that the factory image will not update these files if you update the date via the command line using the /system/date command. You can observe these updating whenever you change the date/time via the phone Date & time UI.

Basically you need these files off the factory image and move across to your AOSP build. There is obviously something missing from the AOSP build / vendor supplied binaries (for the Nexus 5x at least) that fails to create these files.

Once I copied these files off the factory image (root the phone and pull them off using adb) and copied over to the live AOSP build, the date and time is successfully remembered after boot. However nothing I do on the AOSP build forces an update of these files when changes the date/time on the phone. So it will remembered the date/time between reboots (as this is some type of offset between the hardware RTC and the Unix Epoch) so the time and date will be in sync forever more; however if you wish to change this date and time and remember this new offset between boots, you'll need to go back to the factory image to do the change and copy over the new ats_* files.

Which is why I'm suggesting this as a partial solution.
[Nexus 5X Q&A, Help & Troubleshooting] mobnoob7:
Solution

This post highlights that the service responsible for sync'ing or remembering the OS clock between reboots is a proprietary service called TimeService.apk, which is only bundled within the factory image.

I followed this post however was unable to get the exact steps to work with the Nexus 5x factory image for 7.1.1.

I then stumbled upon the make-gapps-zip project on Github.

Follow these steps to re-create an AOSP build that includes the TimeService.apk within the build.

Extract the entire contents of system image from the factory image (either using the steps in the original post highlighted above, or flash your phone with the factory image, root it, then zip up all of /system and transfer to your PC with adb)

Download odex2apk.py and oat2dex.jar from the make-gapps-zip Github page.

Run odex2apk.py on the extracted TimeService.apk from the factory image.

Added the updated TimeService.apk (with an Android.mk make file) to your AOSP build and re-build the AOSP

Flash your phone with the new AOSP build, set the date and time as normal, reboot and everything is good!

TimeService.apk update

I extracted the /system files from a rooted factory image, which I zipped up in a file called factory-system.tgz, and copied to /sdcard/Download.

Pull the file off the phone and unpack into a tmp directory.

$ adb pull /sdcard/Download/factory-system.tgz
$ tar xfz factory-system.tgz

Copy odex2apk.py and oat2dex.jar to the tmp directory and run the following command which re-creates TimeService.apk by extracting classes.dex from TimeService.odex and adding it back to TimeService.apk.

Note: If you want to re-run the step below (for experimentation, back up the original TimeService.apk).

$ ./odex2apk.py -f factory-system/framework factory-system/app/TimeService/TimeService.apk

This creates a new version of TimeService.apk that can be added to the AOSP build.

AOSP re-build

Add a folder called TimeService under packages/apps within the AOSP root folder, and copy the newly created TimeService.apk to this location.

Add a new file to this location called Android.mk and add the following.

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := TimeService
LOCAL_MODULE_OWNER := lge
LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)

Then add the following to [AOSP Root]/vendor/lge/bullhead/device-vendor.mk

# Apps
PRODUCT_PACKAGES += \
TimeService

Re-run the AOSP make, flash the phone, and once you have updated the time using the OS date picker, you should fine the following files have been created.

bullhead:/data/time # ls -l
total 16
-rw------- 1 system net_raw 8 2017-01-03 18:00 ats_1
-rw------- 1 system net_raw 8 2017-01-03 18:00 ats_2

Reboot, and the date and time should be good.
[Huawei P9 Questions & Answers] Durante.92:
Hello all

I have a problem with my Huawei P9. Eva 09. During my dload update my smartphone shutdown without any advice. So uodate process has not been completed therefore device does not boot. It says "Devixlce is booting now" but it does not go on. Recocery mode does not works son i cannot re flash a new firmware. Fastboot mode works. I re flash system.img boot.img and so on as a thread in this forum says but nothing to do. Device does not work. Hisuite can restote all in fastboot mode but seems that my device is not compatible. It is last version of hisuite.

Someone can help me?

Thanks in advance
[Huawei P9 Questions & Answers] Rafa Mistry:
Twrp is install?

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

No , It's Soft Brick

---------- Post added at 05:26 PM ---------- Previous post was at 05:25 PM ----------

You can unbrick your phone if your BOOTLOADER is unlock & frp is unlock
[Moto G 2015 Q&A, Help & Troubleshooting] shekars951:
Hey guys i use moto g turbo(its rooted) and i installed kernel toolkit on my phone. I dont know which settings i should in kernel toolkit. So please give me optimal settings i should use in kernel toolkit. So my battery wil not drain fast... Balance performance..my rom is resurrection remix nougat 7.1.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] Whipppy:
Hello everyone,

Having a few issues with a s6 edge plus i recently just purchased from a person on eBay. He said that he put the sim card in the wrong way and got it out and now it doesnt detect the sim card. Any ideas how i would be able to fix that? Get Error 'Not Registered on Network', Should i replace the sim card reader or any tips i could try to fix it before i do that.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] KatariaMax:
What is your model number and pls check if on any custom rom the reason i am asking is so that all options are clear
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] Whipppy:
re

Hello, thankyou for replying.

S6 Edge+ is a SM-G928I

Seems to be stock rom.

Knox has not been tripped aswell.
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] KatariaMax:
If knox is not tripped it means you are on stock rom and no manipulated device so yeah hardware issue got to nearest service centre
[Galaxy S6 Edge+ Q&A, Help & Troubleshooting] geister_faust:
Probably, Sim reader is damaged. But to make sure not to overcomplicate the matter, check with different sim card. S6E+ is using micro sim and your card in question may be damaged itself. But chances are, your SIM reader is damaged. Are you able to make emergency calls?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] daniel97ita:
HI everyone before unrooting my kindle hdx 7 I removed xposed module but forgot to remove xposed framework :( ... what should I do now ? can I still reset my tablet to stock?
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
ROM and version? Makes a difference for proper response.
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] daniel97ita:
Hi sorry for the late answer ..my current verison is 13.3.2.4
[Kindle Fire HDX 7" & 8.9" Q&A, Help & Troubleshoot] DB126:
Best path is to re-root using TowelRoot, remove Xposed and then remove root. While rooted you should also remove the OTA update block. That said, curious why you want to restore the device?
[Xiaomi Redmi Note 3 Questions & Answers] Rehan Sheikh:
Can anyone provide me with a spare miui account to log in so that i can unlock my device the official way. I'm not able to do so with my account. I gurantee that i will not misuse the account info. I need it urgently please.
[Xiaomi Redmi Note 3 Questions & Answers] JJeamy:
I doubt there's anyone to give their acct..coz too private i think..

Anyway..may i know why you're not able using your acct to unlocking..?, is it your acct doesn't yet received permission or you're not yet requesting permission..?

Or your acct already has permission but still can't unlocking using miunlock tool..?

If you'r acct already has permission..but still can't unlock it...first you can try using latest version of fastboot developer rom (6.12.1) instead using the old one..coz sometimes miunlock can't unlock it while still using old developer rom version.

Hope it's help..
[Xiaomi Redmi Note 3 Questions & Answers] Rehan Sheikh:
I'll try unlocking the latest version and let you know
[Xiaomi Redmi Note 3 Questions & Answers] Rehan Sheikh:
Actually I haven't received the permission yet. Does xiaomi send a message that bootloader can be unlocked?
[Xiaomi Redmi Note 3 Questions & Answers] Oscilator:
no, i didnt receive one and got unlock permission
[Xiaomi Redmi Note 3 Questions & Answers] JJeamy:
Usually the procedure indeed like that..but recently i've heard some user can quickly unlocking their bootloader officially, with just a day after requesting a permission, then sync an acct in the device with miunlock website, without waiting a message form xiaomi..they can unlocking their device, don't know this is a lucky or what.

If you're already requesting permission but doesn't yet receiving a message..go a head..just try it..don't forget to always using the latest developer fastboot rom while you wanna try it..
[XDA Assist] canega2596:
So, here's the full details. I tried to increase the ram of my Note II even if its kernel does not support swap because I saw a thread here that will help me increase my ram even if my kernel is not compatible with swap. It didn't work so I uninstalled all the apps required to do it (Swapper2, Terminal Emulator) then it suddenly restarts then goes bootloop. Then I installed a custom rom (CM 0.14) changed my kernel to AGNI but still, bootloop. Then I decided to go back to stockrom by flashing it through odin then still stuck on bootloop. I tried to wipe data/cache after flashing and this is what it showed me:

-- Wiping data...

Formatting /data...

E:failed to mount /efs (Invalid argument)

Formatting /cache...

Data wipe complete.

I followed the steps required to flash the stock rom but I'm still stuck on bootloop. Can you help me what to do? Thanks! :)
[XDA Assist] sawdoctor:
Greetings and welcome to xda, first can I ask if you have a back up of your efs folder ? I don't think you will need it but just in case. If you boot into download mode and connect to kies/smart switch and select emergency firmarew recovery you should be fine. It sounds like you need to install a pit file which this will do, alternatively you can just flash a stock rom through odin that contains a pit file or I think mskips toolkit has a pit file

Good Luck

Sawdoctor
[XDA Assist] canega2596:
Thanks for the response! Unfortunately I don't have any backup efs folder. Gonna try those 2 methods you mention and will reply here if something happens; thanks!
[XDA Assist] canega2596:
So, I've tried all the methods and none of them worked for me. This is what happened:

First, I tried to do emergency firmware recovery method but its stuck on connecting even after I updated to latest drivers. Some says that its skies problem I did the second option. I search for GT-N7100 pitfile on xda which is 3kb in size and flashed it using odin together with the md5 file and this is what it looks like.

The flashing process is completed. I wiped the data/cache as usual but same results. Did I do it wrong?
[XDA Assist] sawdoctor:
After flashing the pit file did you try flashing a stock rom through odin or kies emergency firmware recovery again ?
[XDA Assist] canega2596:
Yes I did through odin only since kies always stuck at connecting then becomes unresponsive. And as I said, I flashed the pit file together with md5 from stock rom. Same results. I checked the version of pitfile which is the international one and I'm still stuck on bootloop.
[XDA Assist] sawdoctor:
If kies emergency firmware recovery and mskips toolkit do not work then I'm afraid I am out of ideas. If you ask in the note 2 forums here

http://xdaforums.com/galaxy-note-2/help

Hopefully the experts there may be able to think of something

Hope you figure it out

Sawdoctor
[XDA Assist] canega2596:
I'm always redirected to wheretowatch.com whenever I click a link
[XDA Assist] canega2596:
So, after a lot of murmuring I finally identified the root of the problem: the efs. This guide helped me fixed the problem:

http://xdaforums.com/galaxy-s3/general/how-to-fix-efailed-to-mount-efs-invalid-t2858056

After I input the command on ADB, what I did was wipe data/cache and mount/efs then reboot. This method fixed E: failed to mount /efs Invalid Argument error. Thanks for all the help!
[XDA Assist] sawdoctor:
Thats great news, I'm glad you fixed it so I'll close this up

Regards

Sawdoctor
[iPAQ rw6828, XDA Atom Software Upgrading] ehpasco:
Hi,

I saw so many threads for HTC Plug In for ATOM Life. Can some one provide us a complete steps on how to install this plugin with the source of the plugins.
[XPERIA X8 Q&A, Help & Troubleshooting] john_cena163:
Is anyone haveing problem with installing latest whatsapp on your x8? iv tried factory rest, reflashed gdx 30 b rom still cant install new version says app not installed...contected whatsapp about it with the log sent got a reply :eek:

Hi,

Thanks for your message.

It appears that your device is rooted. We are sorry, but we don’t support rooted devices and do not answer tickets from rooted devices. We understand the reasons behind rooting a device, but please be aware that any new configuration that is a result of rooting may conflict with WhatsApp.

To add to this, rooted devices do not allow the WhatsApp security model to function as intended and your messages will not be protected by end-to-end encryption.

If you wish to receive further assistance, please remove root access from your device. Then, contact us again from inside the app (WhatsApp Settings > About and Help > Contact us).
[XPERIA X8 Q&A, Help & Troubleshooting] Widget74:
Same stupid answer to me... It's my business if I root my phone or not

The truths is that they have no idea what's happen with their last ducking updates.. So they search stupid excuses
[XPERIA X8 Q&A, Help & Troubleshooting] john_cena163:
Just Got A Mail From Whatsapp

Hi,

Thanks for your message.

We are sorry to hear that you've been experiencing issues installing WhatsApp. Please try installing this https://www.whatsapp.com/android/2.16.388/WhatsApp.apk version as we believe it will fix the problem.

Important: You might have to uninstall and reinstall WhatsApp, and then uninstall and reinstall it once more to clear this state. You can do so by following these steps:

Uninstall WhatsApp by going to your phone's Settings app > Apps > WhatsApp > Uninstall.

Follow this link https://www.whatsapp.com/android/2.16.388/WhatsApp.apk to install WhatsApp.

Uninstall WhatsApp again.

Follow this link https://www.whatsapp.com/android/2.16.388/WhatsApp.apkto install WhatsApp again.

Please let us know if you are still experiencing any errors after updating to this version.

Ivan

WhatsApp Support Team
[XPERIA X8 Q&A, Help & Troubleshooting] Widget74:
Which link?

Inviato dal mio BLOOM utilizzando Tapatalk
[XPERIA X8 Q&A, Help & Troubleshooting] john_cena163:
https://www.whatsapp.com/android/2.16.388/WhatsApp.apk Well Atleast Now I Can Install Whatsapp , Its Working On GDX 31b :D... Will Try Installing The Lates 2.16.393 Version An See
[XPERIA X8 Q&A, Help & Troubleshooting] john_cena163:
Hi,

Thanks for your message.

As we announced in our blog, the following operating system versions are no longer supported by WhatsApp:

Android 2.1 & 2.2

iOS 6 (this includes iPhone 3GS)

Windows Phone 7

Please also note, on June 30, 2017, WhatsApp will no longer support the following operating systems and devices:

BlackBerry

BlackBerry 10

Nokia S40

Nokia Symbian S60

This means that if your WhatsApp account is currently active on these devices, you will be able to continue to use WhatsApp on that phone during this period.

However, as part of this process, after July 1st, 2016 it might not be possible to verify nor re-verify a WhatsApp account on any of the above listed operating systems and devices. It is also not possible to move a WhatsApp account on to these devices.
[MTCD  Android Head Units Q&A] dkintana:
Hi!

Does any body know how to make voice dialing with these units? Is there any trick that I don't know yet? Any app that send commands to the bluetooth linked phoned so the phone makes the call? Any other idea?

Any idea will be appreciated.
[MTCD  Android Head Units Q&A] dkintana:
Solved! Follow this link

http://xdaforums.com/android-auto/a...tcdgsv1-75-t3481578/post69249943#post69249943
[Mate 8 General] mustakeel1981:
Note: –

Mate 8 Nougat Rollback Package is available for NXT-L29 models only.

Follow the steps correctly otherwise you may brick your device. I am not responsible for any damage to your phone or losing your data or your GF!

It will erase all your phone data, so we advise you first to take a complete backup of your phone and then proceed.

Ensure that your phone has at least 50-60% charged to prevent the unexpected shutdown in-between the process.

Rollback Details

Device – Huawei Mate 8

Model – NXT-L29

Android Rollback Version – 7.0 Nougat -> v6.0 Marshmallow

EMUI Rollback Version – 5.0 -> 4.0

Rollback Build: NXT-LXXC185B500/NXT-LXXC900B500/

Region – Russia/Asia/Middle East/Africa

Status – Official

Type – Rollback firmware Package

Size – 85MB

Requirement to downgrade Mate 8 to EMUI 4

Mate 8 Stock Marshmallow Firmware For Asia

Mate 8 Stock Marshmallow Firmware For Middle East & Africa

Download Mate 8 Nougat Rollback Package for Asia Pacific

Download Mate 8 Nougat Rollback Package for Middle East & Africa

How to Downgrade Mate 8 from Android Nougat to Marshmallow

1)download Android Nougat Rollback Package for Mate 8 from above and extract it.

2) Now create a folder dload in the root of your SD card and place the update.app file in that folder.

3)Now turn off your device.

4) Now press “Volume Up + Volume Down and Power Button” together. The update process will start automatically.

5) Now wait for some time to complete the process. Your firmware version should now be on “B300”.

6) Now download the full Marshmallow firmware from above and extract it.

7) Now move the update.app file in SD card folder (Replace the rollback update.app file).

8) Now again press “Volume Up + Volume Down and Power Button” together to Downgrade Huawei Mate 8 from Android Nougat to Android Marshmallow

9) Done.

let me know if it works with you in a comment below and hit Thanks :good:
[Mate 8 General] danterape:
Got bootloop with Optimalizing system... And everything goes again and again with Huawei logo...
[Mate 8 General] gm007:
Factory reset.
[Mate 8 General] danterape:
How if im stuck in bootloop?
[Mate 8 General] gm007:
Hold power and volume up.
[Mate 8 General] danterape:
Worked like a charm. TY!

tbh i feel so dumb now :]
[Mate 8 General] nonstradam:
i am bootloop. but volume up + power key not working. i dont factory reset. pls hlp
[Mate 8 General] a029159:
And what about Rollback for AL10 version ?????? Sicne NOUGAT flashed, it's impossible for me to get recovery working. BUILD version is strangely at NRD90M test-keys ? I don't understand what happens...
[Mate 8 General] romanaudi:
Hello,

I managed to go under NXT-LXXC900B500 with the Rolback but now the firmware Marshmallow for Middle East & Africa does not want to install. And can not download the firmware for asia, the link no longer exists
[Mate 8 General] gm007:
L29C185B200 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1076/g104/v65326/f1/full/update.zip
[Mate 8 General] OcazPrime:
Does this work for us United States users? Some models are different :(

And by folder dload u just mean name a folder dload right?
[Mate 8 General] Thestarki:
I got the same problem on my NXT-L29, NRD90M test-keys.. have you found a solution? I want to rollback to emui 4
[Mate 8 General] Motawa88:
what about europe?
[Mate 8 General] BongAlvi:
I have l29c185 rebranded to al10 and my current build number is al10c00b575 and but wanna go back to l29c185 marshmallow because my phone becomes unstable
[Mate 8 General] BongAlvi:
Got my mate 8 L29c185 debranded to al10 and currently on nougat al10c00b575, any idea how to get my phone back to L29C185?
[Mate 8 General] atbioz10:
ive b560 installed..any suggestion?
[Mate 8 General] atbioz10:
up
[Mate 8 General] Deleted member 6802227:
if you found a way, share it man. im stock ion this ****ty rom.
[Mate 8 General] letschky:
Rollbackpackage for C185