yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] faabak:
Hi guys,

I was on the look for a new phone, and i knew i wanted to try MIUI this time for real. I landed on a Lenovo K6, without actually checking that it already had MIUI. So since i've had some experience with building CM/Lineage ROMs earlier, i decided to try to build MIUI this time. After all, as they say in Top Gear - "How hard can it be"? ..eeeh..

So there you go, i dedicate this thread to porting/building MIUI 8 for the Lenovo K6 since i cannot find it anywhere else.

I've downloaded the MI source files home and inspected a whole lot. Unfortunately i've had a internet connection that belongs to the 1980's during the summer vacation, but i am back at work on Monday. There i have a Ubuntu workstation which has a proper connection. So i am going to start experimenting a bit and try to get the proper device-specific files, and then do some builds.

But i can always need some help from you guys. So please reach out if you want to participate in this project. I am going to host the builds on my own site when i have something, and put the links here. :)
[Miscellaneous Android Development] faabak:
Reserved.

Oh, and btw, just created a Github repository: https://github.com/faabak/patchrom_karate
[Miscellaneous Android Development] yonathan_gutierrez:
Reserved!! Yupí!!!!

Enviado desde mi Lenovo K33b36 mediante Tapatalk
[Miscellaneous Android Development] Flippy498:
The thread got closed for now since placeholder threads aren't allowed on xda.

[MENTION=5265877]faabak[/MENTION]: Please report your opening post as soon as you can provide valid download links. The mod team will re-open the thread then.
[Sony Xperia XZ Premium Questions & Answers] The_Newtype:
When it comes to flashing firmware for the XZ Premium, I know there is a plethora of information scattered through many threads in this section. Quite frankly, I was a little overwhelmed with the whole flashing process, and, despite everyone's best efforts, was totally lost. I just wanted to flash my USA XZ Premium to the Central Europe FW to enable the fingerprint reader, but I didn't want to alter the radios, etc like in the other thread that describes the process.

So, after a bit of trial and error, I decided to put together a simple guide that I hope is easy for those with a little less "flashing" experience. I'd like to point out that none of this information is my own; I'm simply compiling it in a way in which I believe will be helpful. This post is only possible because of all the people who have contributed in the various flashing threads thus far, so many thanks to all of them. Also, I know it's a touchy subject around these parts, but I wanted to give a shout out to the developer of Newflasher -- without his tool, we all still may not have method to flash our XZPs. Thank you, sir.

Anyway:

1.	Find, download and install/extract Newflasher, XperiFirm, Flashtool and the official Xperia Companion application.

2.	XperiFirm: download whichever variant of the FW you’d like to load. Be sure you are choosing the correct version of your hardware.

3.	Flashtool: go to the application folder, then go to the drivers folder. Run this app, and check the boxes next to Flashmode Drivers and Fastboot drivers. You will need these installed to avoid any possible connection issues with Newflasher.

4.	Open the folder which contains Newflasher so you can view all of the contents. Do the same with the firmware folder that you now have which was downloaded from XperiFirm (Ex. G8142_Customized CE1).

5.	Copy all of the .sin files, as well as the partition and boot folders, from the firmware folder over to the Newflasher folder. Create a new folder name "partition," and extract the existing partition folders files (that you copied from the firmware folder) in to the new partition folder.

6.	Power down your phone and wait 5 seconds. Hold the volume down button with the device powered off, and plug your device into your PC.

7.	Run Newflasher.exe. You should now start to see the application working (this process took about 5-10 minutes for me). It will tell you when you can disconnect.

8.	Open the Xperia Companion application, and, following the on-screen instructions, do a Software Repair on your device.

9.	Start your device like normal, and you should have your new software loaded!

Thanks again to all who have contributed to this process!
[Sony Xperia XZ Premium Questions & Answers] kinkyK:
thanks just flashed mine from Three over to the UK customised

working great
[Sony Xperia XZ Premium Questions & Answers] baster72:
Thanks for the guide. But someone can make a YouTube video how to flashing xzp with newflasher please! Cant find one there ty.
[Sony Xperia XZ Premium Questions & Answers] toxicgaming01:
Question

If I flash my phone ( details in screenshot) will it remove demo mode application that installed in it? Retail demo mode.

[IMG="details"]https://i.imgur.com/4O3Gj22.png[/IMG]

Thanks in advance. Don't be hard on me I am new to this. :fingers-crossed:
[Sony Xperia XZ Premium Questions & Answers] cheetah2k:
For those left still confused by the lack of detail above, here's a more visualized and well explained flashing method I found and mentioned in my XZP flashing thread a while back. Also has links to newflasher - which this one doesnt :)

https://xdaforums.com/showpost.php?p=73176149&postcount=3
[Sony Xperia XZ Premium Questions & Answers] efx_d3:
Ok it worked for me, just the step of repairing with pc companion did not work, pc companion restores firmware original telcel MX, so after flashing no longer repair with pc companion and finally worked.

Firmware flashing 45.0.A.7.120 generic Latam

Thanks for this tutorial !!! I hate the telcel personalization !!!
[Sony Xperia XZ Premium Questions & Answers] RJASSI21:
After flashing what system apps were preinstalled? Im just wonderinf because I just got my XZ premium today and there seems to be a fair bit of bloat I wanna get rid of but cant with out root and dont wanna root because of drm, also because there isnt much support.
[Sony Xperia XZ Premium Questions & Answers] kinkyK:
Just the standard Sony stuff really mate no operator stuff

Seems much better like
[Sony Xperia XZ Premium Questions & Answers] RJASSI21:
Did you have spotify pre installed?
[Sony Xperia XZ Premium Questions & Answers] schickel:
Try this tutorial. I've successfully deinstalled some system apps without root:

https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
[Sony Xperia XZ Premium Questions & Answers] kinkyK:
Yes m8
[Sony Xperia XZ Premium Questions & Answers] RJASSI21:
OK thanks for the info.
[Sony Xperia XZ Premium Questions & Answers] IS33D34DP30PL3:
If you flash the ce1 firmware to the us xzp do you retain the ability to receive ota updates? Do any problems arise from flashing international Firmware?
[Sony Xperia XZ Premium Questions & Answers] iArvee:
You'll still be able to receive OTA updates. No problems /should/ occur when flashing the international firmware. My brother has the XZP (US Variant) and I him flash a UK firmware to enable the fingerprint sensor.
[Sony Xperia XZ Premium Questions & Answers] The_Newtype:
CE1 seems to get FW updates later rather than sooner, so keep that in mind when flashing.
[Sony Xperia XZ Premium Questions & Answers] ebomb321:
I flashed my US version with 45.0.A.5.1 when i got it. I'm yet to receive an OTA.
[Sony Xperia XZ Premium Questions & Answers] johnpgv:
Guys I need help to finishing flashing my XZP

Guys maybe im doing something wrong or missing something here, please someone guide me because this is my 1st time flashing a phone.

Im trying to flash my US version XZP dual sim (G8142) to Central Europe(CE1) firmware to enable fingerprint sensor, but when I start newflasher, it wont do anything, and it just says: Optional step! Type 'y' and press enter if you need Gordon flash driver, or type 'n' to skip. This creates GordonGate.7s archive in the same dir with newflasher.exe!

and it just stays there and do nothing, what should i do? type 'y' or 'n'? i dont know what are the next steps...

Because in step #7 you said that you will see the application working (about 5-10 minutes), but in my case I dont know what im missing because when I start the program it just doesn't start doing its thing.:confused:

someone please tell what im doing wrong or if I should install that Gordon flash driver because I really wanna enable the fingerprint.
[Sony Xperia XZ Premium Questions & Answers] Mackay53:
You need to extract the Gordon flash driver and install it manually
[Sony Xperia XZ Premium Questions & Answers] vipnolf:
hi all, good to be here

thanks for tutorial, sounds good

two questions only:

the downloaded firmware (CE1) contains much more files inside as mentioned in the 5th step of the tutorial

are these files really not needed?

and

if something may go wrong and flashing will be unsuccessful, will it harm the phone? if yes, can i restore the last firmware with Xperia Companion?

thank you
[Sony Xperia XZ Premium Questions & Answers] SuperMcPyro:
help

Is there anyway possible that you could post a video of how to do it. I'm a better visual learner and I have been struggling for quite sometime now to complete the task so that I could flash my US version xz premium to the Central Europe so that I may use my fingerprint scanner.
[Honor V9 Questions & Answers] lunchplease:
Hi all, anyone else experience randomly losing the home/back keys etc?! I've had to reload os 3 times. No idea why it's doing it! Any help appreciated

Solved:

Have found a solution...well not a solution as such but if this happens to you after an update or at all I found a workaround.

In adb mode with phone hooked up obviously:

adb shell settings put global navigationbar_is_min 0

I then restarted device and the navbar is back. I was hoping this would fix my issue full stop but seems to happen every couple of days.

Hope this helps someone as I was going insane reformatting all the time, and having spent some time with the custom roms, I missed the stock camera app and the better battery life of EMUI(never thought I'd say that!)
[Honor V9 Questions & Answers] shashank1320:
Is it happening when on full screen or randomly?
[Honor V9 Questions & Answers] lunchplease:
It just disappears and never come back. Think usually portrait but don't know what the trigger is
[Honor V9 Questions & Answers] PalakMi:
Backup all the thingd you've got, then perform a factory reset
[Honor V9 Questions & Answers] lunchplease:
Like I said before that's been done 5 times already! Have switched to resurrection remix for the time being which has been working great so far though battery isn't quite as good
[Honor V9 Questions & Answers] PalakMi:
Sorry, my bad :(
[Honor V9 Questions & Answers] lunchplease:
Have found a solution...well not a solution as such but if this happens to you after an update or at all I found a workaround.

In adb mode with phone hooked up obviously:

adb shell settings put global navigationbar_is_min 0

I then restarted device and the navbar is back. I was hoping this would fix my issue full stop but seems to happen every couple of days.

Hope this helps someone as I was going insane reformatting all the time, and having spent some time with the custom roms, I missed the stock camera app and the better battery life of EMUI(never thought I'd say that!)
[Honor V9 Questions & Answers] shashank1320:
Thanks for sharing this trick bro. Good work. Will be handy for others
[Honor 8 Pro  Questions & Answers] lunchplease:
As post title, for some reason randomly my soft keys (ie home/back button) disappears and I can't find out how to get them back! I've re installed OS a few times which isn't ideal, and have installed a workaround but it's a pain to use.... Am I the only one to have this issue?

Any help appreciated!

Update, Workaround 05/09/17 :) :

Have found a solution...well not a solution as such but if this happens to you after an update or at all I found a workaround.

In adb mode with phone hooked up obviously:

adb shell settings put global navigationbar_is_min 0

I then restarted device and the navbar is back. I was hoping this would fix my issue full stop but seems to happen every couple of days.

Hope this helps someone as I was going insane reformatting all the time, and having spent some time with the custom roms, I missed the stock camera app and the better battery life of EMUI(never thought I'd say that!)
[Honor 8 Pro  Questions & Answers] adriansticoid:
Is your phone still under warranty?
[Honor 8 Pro  Questions & Answers] venugopalu007:
Did you rooted ?
[Honor 8 Pro  Questions & Answers] lunchplease:
Nope. No root. Rebranded to Honor 8 pro from V9 but stock Emui now
[Honor 8 Pro  Questions & Answers] venugopalu007:
Once dload the firmware and do a factory reset.
[Honor 8 Pro  Questions & Answers] lunchplease:
Yeah I may have to do that. I've factory reset 5 times now and can't place why it just suddenly disappears on me. Was hoping to find a way to restart the startup wizard as others in the past, albeit on other phones, have said that that works to bring the keys back

I've changed the config of them in settings just to see if that makes any difference but I don't know why that would! I'm just sick of resetting...maybe I need to reflash the firmware again....or try one of the other roms that have been made on here. Will keep plugging away at it thanks
[Honor 8 Pro  Questions & Answers] venugopalu007:
Good luck try and report.
[Honor 8 Pro  Questions & Answers] lunchplease:
Nope didnt work...the commands to hide worked and the rest reappeared with the back to default setting but the bottom options never reappeared

Thanks for trying to help....open to any other ideas
[Honor 8 Pro  Questions & Answers] lunchplease:
Hi all

Any other thoughts on this? This may sound stupid but if I press the down arrow on the navbar(after one of the many times Ive reinstalled) and the navbar disappears immediately....surely there's some way to get it straight back? Something so obvious Im missing?! What happens if you press that button??? Please help..Im driving myself crazy with this issue!
[Honor 8 Pro  Questions & Answers] lunchplease:
Hi all. I posted this elsewhere, but just so in case it's missed, this is what I've done to regain keys:

Have found a solution...well not a solution as such but if this happens to you after an update or at all I found a workaround.

In adb mode with phone hooked up obviously:

adb shell settings put global navigationbar_is_min 0

I then restarted device and the navbar is back. I was hoping this would fix my issue full stop but seems to happen every couple of days.

Hope this helps someone as I was going insane reformatting all the time, and having spent some time with the custom roms, I missed the stock camera app and the better battery life of EMUI(never thought I'd say that!)
[Honor 8 Pro  Questions & Answers] sniperlife:D:
You can put this solution to OP so that others can easily find it. ;)
[Honor 8 Pro  Questions & Answers] venugopalu007:
Oh at last got a solution :D
[Honor 8 Pro  Questions & Answers] lunchplease:
Done. Good call [MENTION=4467521]sniper[/MENTION]life thank you
[Honor 8 Pro  Questions & Answers] sniperlife:D:
You got it. ;)
[Honor 8 Pro  Questions & Answers] PalakMi:
Don't forget to edit the title with [SOLVED] so people now it has the solution if they face the same issue
[General Questions and Answers] JacobTheFox:
Hello everyone, my first post here.

Alright, so I was trying to root this Samsung tab 3 by flashing this "TWRP" program with ODIN, but I think something may have gone wrong and now the tablet won't boot. It will show the splash screen for half a second then make the screen bug out.

I've tried to format by using the power + volume up + home, but not even that works so reinstalling android seems like the only option, though I have no clue how to do this.

The exact tablet is: Samsung Tab 3 SM-T217S.

Thanks in advance and I hope this is a resolvable issue.
[General Questions and Answers] -Hope-:
Hello,

Since you said the problem happened after flashing twrp, flashing the stock recovery image maybe will help out,

https://www.androidfilehost.com/?fid=23212708291678651

Flash this with Odin using the AP/PDA after unzipping it :o
[General Questions and Answers] JacobTheFox:
Yep, this worked perfectly and flashed in 4 seconds. Thanks alot!
[Samsung Galaxy S7 Edge Questions and Answers] MS420:
My S7 Edge today fell and the screen cracked, so I decided to sell it in parts.I connected it via sidesync, and when I turned on the camera, it said camera failed?And I saw on the messanger that the front camera is turning on, but the back is not.The back camera is not damaged, could it be because of the fall so it lost connection? Or somehow from the fall the back camera broke?
[Samsung Galaxy S7 Edge Questions and Answers] Mr.Ash.Man:
Yes either back camera is damaged or like you said its just disconnected on impact

if you are selling it for parts open it up and check the cable
[Samsung Galaxy S7 Edge Questions and Answers] kshitij84:
How much for the motherboard , which version do you have
[Samsung Galaxy S7 Edge Questions and Answers] MS420:
g935f 80eur.
[Samsung Galaxy S8 Questions and Answers] rikibody:
Hi, im the only one having this issue when i skip the videos back and foward?

Looks like i have a stuck pixel in de midle, but is not, can somebody help me?

https://xdaforums.com/picture.php?albumid=14352&pictureid=55988

https://xdaforums.com/picture.php?albumid=14352&pictureid=55987
[Samsung Galaxy S8 Questions and Answers] rikibody:
Any answer?
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
Dear members

I want to update my rooted E6633 running 32.2.A.0.376 to 32.4.A.0.160 through the OTA, of course, because my device is already rooted the downloaded update couldn't be installed, the reason behind seeking for this update that I'm not able to make phone call and the phone is not able to detect the SIM cards and showing pop up error message android.phone.com has stopped repeatedly whenever I press ok and phone app crashes.

what I have done so far is through superus app I chose full unroot and the phone rebooted successfully and I have checked it with the root checker showing that the root is not installed properly

I launched the flashtool and booted the device on flashmood and selected the bootloader relock option

flashtool said that bootloader finished relocking the device, but the device is not able to boot to the normal mood whenever I push the power on button the device only vibrate or boots to flashmood when the cable is connected :( but when unlocking the bootloader, the device boots normally.

How to update my device without losing my current data and to fix phone application and SIMs recognition?

Do I have to fastboot the original Sony kernel and where can I find it? because I didn't make any backup

I don't mind losing root I just want to make the OTA update installed without flashing my phone and starting from the beginning.

Thank you :)

Notes: when the device is rooted again and when opening luckyputcher the error messages disappear and SIMs cards work fine and phone app opens normally :rolleyes:
[Xperia Z5 Q&A, Help & Troubleshooting] Nyuubi:
I will assume the reason you are not going for this is because of limited bandwidth or something along those lines.

You can either wait for someone to post a stock kernel of it but if you have a the .376 ftf you can extract the kernel using this guide (at step 3 you can flash the kernel using adb/fastboot)
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
Thanks for your reply, not limited bandwidth but slow connection that one of the reasons, if I could extract the kernel from the firmware and flashing it without losing the data and allowing ota to be installed this will be great. Hopefully this way fixes the system errors and keeping the data and settings as it is.

Thanks again I will start following these guidelines if something went wrong surely I will sue you :laugh:
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
Ok I downloaded the ftf file, extracted kernel.sin

opened flashtool

I coudn't found the Dump Data option but I clicked on extract data inisted

I renamed the extracted kernel from elf to boot.img

I flashed the kernel using this command

fastboot boot boot.img

I got this error message :

FAILED (remote: dtb not found)

so I relocked the bootloader and I got diffrent message :

FAILED (status read failed (Too many links))

I went to flashtool and flasehd the kernel with no errors but the mobile did'nt boot, it's stuck on sony logo

what is the problem !?
[Xperia Z5 Q&A, Help & Troubleshooting] Nyuubi:
Ok First Things First you should have used the command :

fastboot flash boot boot.img

Secondly to remedy to the problem flash the ftf BUT don't select anything in the wipe section, keep them all unchecked. Then you will have a stock and unrooted ROM without having lost your data.

Edit: If you were able to download that big of a file why didn't you go directly with the .106 fw? You would have had the same initial result you wanted! ::facepalm::
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
I was not sure about flashing the whole ftf, I was worried if I flashed the the new 160 would cause the system to break down, so I decided to unroot and to keep my self on the safe side by unrooting, relocking bootloader and installing the stock kernel so that I will be able to update to the .160 fw through OTA

I will follow your instruction about flashing the .367 fw. I was thinking about it but I wasn't sure which options that should I select without losing the data. Should I select the whole options except the wipe section?

Thanks for your help
[Xperia Z5 Q&A, Help & Troubleshooting] Nyuubi:
Don't select anything! It should look like in the screenshot I uploaded
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
Hmmm yesterday before posting my last reply I flashed the firmware I only selected the kernel and nothing happened, no changes happened to the firmware except the ota size was reduced from 485mb to 187mb !?

Oh dear according to the screenshot you uploaded the ftf I downloaded is for middle east and I'm from Saudi Arabia :eek: never thought there is custom firmware for Saudi Arabia do you think that the reasone behind this boot failure is because of the difference between the installed firmware and the downloaded one? :confused:
[Xperia Z5 Q&A, Help & Troubleshooting] Nyuubi:
It shouldn't pose any problems at all. Any problem arising might be of your doing. What you could do is make a Titanium Backup of your user apps and go for clean install if your problems persist.
[Xperia Z5 Q&A, Help & Troubleshooting] kingskull:
Ok that's great, after flashing the ftf the device boot normally but the bloody ass error still persist I can't make or receive phone calls the phone app is crashing, of course, since the root is not available luckypatcher will not solve the problem and to be honest I don't know what is the relation between this error and luckypatcher.

The funny thing after the process succeed the phone showing that the software is up to date :mad: man !!

more than that when checking software update settings app crashes

I really want to thank you for helping me, I really appreciate it :good:

my last option is downloading 160 fw and flashing it :(
[Xperia Z5 Q&A, Help & Troubleshooting] dorsetqpr:
Have you tried a different dialier app?
[Xperia Z5 Q&A, Help & Troubleshooting] EnesSastim:
First Lock Bootloader Then Flash FTF File.