yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] HypoTurtle:
Not sure if you missed the edit. It was more for cosmetic reasons - I could have had say 12 files being displayed but if there's only one file to flash you would have a screen with a lot of blank entries. 3, 5 and 12 seemed the most appropriate without going down the route of creating a menu for all possible entries.

3 being typical install (system/boot and perhaps blank cache/userdata to wipe); 5 as 3 but with custom etc.

I figured that anyone with more than 5 flashable items in there would have dumped the entire SPFlash ROM which I calculated as ~12 items.

A2. I don't thing it contains the IMEI - but it is the database that the IMEI is coded against; I'm not aware of any devices (other than the P6000) suggesting that you recode the IMEI on an upgrade from KK to LP so there is probably not an issue here.
[Android Software/Hacking General [Developers Only]] yuweng:
i never use it myself, typically MDRT is able to recover it on mine, feedbacks from fellow XDA member is that, that is the only way that they manage to recover IMEI on their MTK... :cowboy:

On 2nd thought, BTW, i'm using intel nowadays :laugh: IMEI & calibration info is at a hidden partition, same as Samsung & Qualcomm devices that reside at /efs partition, how did MTK IMEI survive Factory Reset since it is at /data/nvram, i wonder, never really thought about it... :o
[Android Software/Hacking General [Developers Only]] HypoTurtle:
On the 64bits at least it is also on a hidden partition (nvram) - and it just gets copied to /data/nvram or something (ie. its not mounted but it's files are there). The DB files etc are present in /system as well as in the full SPFlash ROM so I guess things like MTKEng and apps like chamelephon use that when setting/'fixing' the IMEI.

What are the file formats used by intel stock ROMS? This tool isn't really MTK dependant - it's GPT partition dependant (with a scatter for validity check- I'll post a bear minimum of what a 'scatter.txt' needs to have).

Anyway v8 added - so that files to flash aren't hidden (max. 12 files).
[Android Software/Hacking General [Developers Only]] yuweng:
Hmm, further digging seems MTK IMEI is at /dev/nvram, same thing happening on intel, users just never spell out everything, they use the format/ erase flash/ emmc that wipes out the IMEI partition but never tell...

i think on the X3, its not possible as its NOT an Android image file but proprietary fls file which they got it when they acquire infineon i think... :o

Manual fastboot/ dd backup/ restore & you'll end up with a brick device, ATM, no custom recoveries that boot on the x3, i haven't figure out how to repack its recovery that has three separate different region that requires three proprietary download file that packs it together into a fls file & only their FlashTool_E2 is able to download it correctly...

Can't really understand infineon/ intel for developing such cheap device but with such high end software tools... :rolleyes:
[Android Software/Hacking General [Developers Only]] HypoTurtle:
Just realised the other reason that I went with 3,5,12 (by running v8) the way I did - the menu item would need doubled if statement each and couldn't be bothered to get those working without it looking a mess; while also retaining the ability to go back and select something else; and having the menus change if you are copying over files while already in the AROMA Installer - anyway had to add them to 'fix' v8 from showing multiple menus along with a few other things to v9.

(V9: CWM external-sd support added - in place of TWRP/CWM internal sd and fix for the stall when no flashable images present)
[Android Software/Hacking General [Developers Only]] AlexZap:
Just wanted to let you know that I flashed my phone with the toolon my way home from work... Didn't want to do it this morning in case I bricked something (not that I don't have faith in you, but I always get nervous around flashing)... and. It worked great!! Just a suggestion and a couple of comments:

1) when the flash is done, you should prompt to wipe cache/dalvik... Unless it does it already and didn't tell me. I had to reboot to recovery and wipe these again.

2) the exit, about, save log, and reboot buttons did nothing. Could be my phones fault or aromas fault... But they didn't work

3) I understand now why you have the 3/5/12. I am only slightly familiar with aroma, but I thought it was dynamically generated... and where it is, the number of entries cannot be dynamic. I realize there is nothing you can do about this based on the way aroma works.

Anyway, so far so good!! Next release I'll flash again with the next version of your script and let you know how it goes.

---------- Post added at 10:42 PM ---------- Previous post was at 10:33 PM ----------

As far as I understand there are two parts of the imei data on mediatek.. One in a partition, usually found at /dev/nvram, the other is some software data at /data/nvram. I believe the data at /data/nvram is like a cache and if it is missing it is created from what is in the partition. I know that if you enter the "at" command in the engineering tool or the right special code in the dialer you can usually set the imei and it will replace what is in /data/nvram. This can save you if you have lost or corrupted your nvram partition. But it doesn't persist over wipes... It won't "fix" the partition.

But you probably have already figured this out already.
[Android Software/Hacking General [Developers Only]] HypoTurtle:
1. Yea I can add a prompt to clear cache/dalvik - there's nothing displayed/done by updater-script at the moment. I wouldn't force these wipes - if you want cache wiped then add a blank cache.img to SPFlash folder; and there are occasions where wiping cache would just waste time if forced i.e. just flashing recovery, or reflashing system etc.

2. Exit is broken - I think due to the theme. About is either broken or missing and Save to log I think works but I think what it usually does is adds the updater-script output to recovery.log; and as yet there's nothing there.

3. Unfortunately not dynamically allocated; also not aware of any other AROMA installers using dynamically allocated variables that I'm doing here (other than another one of mine); so I have experience in getting aroma/bash/edify to play well together.
[Android Software/Hacking General [Developers Only]] HypoTurtle:
It was definitely theme related - these are using a Material theme, it's fixed with v10 anyway, not sure what was causing it probably something in the theme.prop
[Android Software/Hacking General [Developers Only]] HypoTurtle:
Nope, still Aroma 2.56.
[Android Software/Hacking General [Developers Only]] AlexZap:
Quick note... this morning I tried to flash the latest beta with version 9... it found all the files fine, I selected them, but when I clicked "next" and it told me what it was going to do, it listed no commands (no dd's)... and when I clicked next for giggles, it finished in about one second, so it didn't do anything. I see you have v10 out now, so I will check that... and I know someone else flashed fine with v8. Dunno if it was a change in v9... I'll let you know.
[Android Software/Hacking General [Developers Only]] HypoTurtle:
I think i know the problem here; (i'll need to reup an updated v10 tomorrow) - and it's something i added to get the menus to appear properly when adding stuff over adb using back/next to regenerate the right menu. Should be an easy fix - v8 seems to be fine for others but was menu-buggy for me (i.e. had 3item menu; followed by 7 etc.)
[Android Software/Hacking General [Developers Only]] HypoTurtle:
Fixed v10 is up and added v11 with a shoehorned in preloader backup. Haven't managed to remove all the trailing FF's/00's as I had to use hexdump instead of od; but shouldn't be an issue - just need to add in a backup of BPLGA and find where the APDB is used; and we should have a full SPFlash restorable image.
[XDA Assist] dgoodmn1:
I'm looking for suggestions on how to add external hardware buttons that can control any functions on a Kocaso Mid9200 tablet running Android 4.2.2. The basic goal is to push an external hardware button and play a favorite radio station in one app, or another hardware button to stop playing that app, and switch to another app and play specific favorites within that app. I'm open to writing macros/scripts that might invoke the desired function then linking a specific external hardware button to each different script. The tablet is rooted. Thanks for pointing me in the right direction.
[XDA Assist] Mike B.:
Hello and thank you for using XDA Assist.

There is no forum specifically for your tablet at this time nor can I find many references to it sitewide. I suggest you ask your question with all relevant details in the friendly general Android Q&A, Help & Troubleshooting forum at http://xdaforums.com/android/help. That's a good place to start where members familiar with your device might be able to advise you.Since your device is relatively uncommon, please be patient and give the experts plenty of time to respond.

Good luck!

EDIT: Member has now posted in the suggested area. Thread closed.
[Moto G 2014 LTE Q&A, Help & Troubleshooting] sharkyblunt:
Hello All,

I've just flashed the AOSP ROM for THEA XT1072 and I'm very happy with the results, it's exactly the return to stock I was looking for. However, I have a few questions I hope somebody can kindly answer:

1) Is it possible to re-lock the bootloader once an unofficial ROM has been installed? My device is telling me I need an officially signed ROM and refusing to relock when I do "mfastboot oem lock".

2) What's the update process for installing later builds of the AOSP ROM? Is it just a case of checking back here and re-flashing the whole new image as and when it is released? Or is there an OTA update alternative?

3) Is the current AOSP build 20150828 inclusive of the various security fixes that Google rolled out recently (Stagefright etc.)? I know they were released to AOSP source code but that presumably doesn't guarantee they are in the current THEA 20150828 AOSP build yet.

Thanks

sharkyblunt
[Moto G 2014 LTE Q&A, Help & Troubleshooting] LuK1337:
1. No.

2. Just flash rom without any wipes as there's no OTA functionality.

3. Yes.
[Moto G 2014 LTE Q&A, Help & Troubleshooting] sharkyblunt:
Thanks Luk. Great work on this ROM. It flies compared to the stock 5.0.2 and no issues yet.
[Moto G 2014 LTE Q&A, Help & Troubleshooting] sharkyblunt:
Only one issue so far, after 24 hours of using it. I'm getting a battery drain whereby Miscellaneous is by far the biggest culprit (currently at 22% since taking it off charge this morning). It was the same yesterday too, and I rebooted it last night just in case it was a hangover from the original flashing, but it's still draining faster than stock 5.0.2 did.
[Moto G 2014 LTE Q&A, Help & Troubleshooting] sharkyblunt:
The AOSP-5.1.1-20150905 build is perfect (once I'd erased the modemst1 & modemst2 to get GPS working). No issues whatsoever from me. Great work.

By the way, I'm commenting here as I've not done enough posts to participate in the developers sub-forum.
[Xperia Z General] gamzekal:
[ROM][UB/LB][C6602/C6603][Weekly][Official]☆☆☆Miui 7 for Xperia Z☆☆☆

​

Hi People

I am at last back in xda again.You know that miui team has released Miui 7 for own devices.

I have decided to share his work with some changes.

You will take weekly official update from Miui

Feautures

-Fresh new Design

-It looks very smilar to Apple Style

-it is based 4.4.4 but very fast and battery friendly

-Added many cool animations and more security

-All apps are updated and added new features

-Chinese apps are removed

-Aroma Script is translated to English

-Added Sony Camera and Sony Keyboard

-Added SuperSu

-Added Google Play Services

-Some optimizations...

Screenshots

Instructions

-Download Rom and Put it into your SdCard

-Go to Recovery(TWRP/CWM)

-Wipe Factory Reset (wipe data,cache,dalvik cache)

-Flash Miui 7 for Xperia Z_RXS_Moonbreakers.zip

-Follow Aroma Instructions

-Reboot

-Finish

Download Link

Uploading

Credits

lpws521[for building of Miui Rom]

XDA:DevDB Information

Miui 7 , ROM for the Sony Xperia Z

Contributors

gamzekal

ROM OS Version: 4.4.x KitKat

Version Information

Status: Testing

Stable Release Date: 2015-09-03

Created 2015-09-03

Last Updated 2015-09-03
[Xperia Z General] gamzekal:
Reserved
[Xperia Z General] TheMysteryouse:
Hi, first wouldnt it be better to put the rom in the Android Development section?

Anyways, I was using the MIUI7 from their website where it was bloated if I can say it like that with Chinesse apps and Aroma.

So I want to ask , did you do any changes on it besie translating it and remvoing chinesse?

Like any optimizations? P.S apparently when the full MIUI7 comes out it will be based on Lollipo so thats a plus I guess.

I enjoyed it but it had some slowdowns and lag on it and the camera wasnt that good really.

So what do you think of MIUI7 so far?
[Xperia Z General] vikash1994b:
Have u translated The chineese apps english like theme,video etc
[Xperia Z General] chitshiv:
downloading now :o
[Xperia Z General] dxacaniest:
Wating for Lollipop...
[Xperia Z General] diksaida:
Can i flash this room from lolipop 5.1.1?
[Xperia Z General] Sisir_Raihan:
I downloaded the official Miui 7 Rom yesterday.

(From Here: http://en.miui.com/download-117.html) :D

Flash it on my XZ. Everything is working fine and smooth. ;)

Only the Bug is Facebook and Messenger App. :(

Any Bug Fix for Facebook and Messenger for this rom? :confused:
[Xperia Z General] Lemo12706:
I also installed MIUI, found that 55.0.0.18.66 Facebook works. And 50.0.0.4.67 Messenger. But there is one more bug, when in call I can't turn on my screen to end it or use anything else. :)
[Xperia Z General] Sisir_Raihan:
I don't face that screen bug. Because i have a Unlock Bootloader. :D

If you have a unlock bootloader than you'll have to Wipe Everything expect External SD Card. Than Flash the rom. :D

And Thanks for the Facebook Bug Information. :)
[Xperia Z General] Simon G:
Hello Guys!!! Why dont gives Miui 7 5.1.1 for Yuga

Gesendet von meinem C6603 mit Tapatalk
[Xperia Z General] mohamadtigre:
This will be great if its available with 5.1.1
[LG G2 Mini] Samir Sleet:
Well with the fact that i just 'Beginner' in android -developer world i spent two days (read and search) to just know what the right steps to have unofficial rom . So this is not thread from professional it's just what i understand so far . (SORRY FOR BAD ENGLISH)

It's some simple Steps :

1) First you need to root your Device to have fully adminstrator . (This make you can execute terminal order from you and the apps)

2)After you get root install flash tool To do Setup 4 . (Rasher or Flashify)

3)You must UNlocked you bootloader . (So the new rom can edit your boot process)

4)Install custom Recovery [CWM]or[PHILZ]or[TWRP]. (This make you can do zip install from external card)

5)Get your rom download and copy to your external card.

NOW YOUR READY

OK Now my guide is for LG G2 MINI (D618)

The custom rom is [ROM][5.1.1][D618/D620] Cyanogenmod 12.1 Stable

And my phone have OFFICIAL android 5.0.2 lollipop

1) ROOT : FOLLOW THIS GUIDE

http://xdaforums.com/g2-mini/development/root-root-g2-mini-lollipop-t3123652

If it not success . do factory reset and start the root again but this time (don't setup superSU from store and don't restart your phone and IT's su Not Su) this should success .

2) DOWNLOAD THE FLASH TOOL FROM PLAY STORE AND KEEP IT

3) BOOTLOADER : FOLLOW THIS GUIDE (YOU MUST TAKE BACKUP FOR YOUR PHONE FIRST)

http://xdaforums.com/g2-mini/development/bootloader-d620-d618-t3127819

4) CUSTOM RECOVERY : FOLLOW THIS GUIDE (CWM SUCCESS WITH ME) (JUST FLASH .IMG FILE WITH SETUP NUM (2))

http://xdaforums.com/g2-mini/development/recovery-lg-g2-mini-d618-v10c-t2854493

5) DOWNLOAD THE FILE YOU NEED FROM HERE AND COPY TO EXTERNAL CARD AND FOLLOW Installation :

http://xdaforums.com/g2-mini/development/rom-cyanogenmod-12-1-stable-t3175833

NOW IF THIS SETUP'S SUCCESS THE HARD PART IS OVER.

6) Now reboot into recovery mode (you will find this in Flash tool)

in recovery mode you need just two things (WIPE AND INSTALL)

7)CHOOSE "Wipe" CACHE, DATA and SYSTEM (THIS WILL DELETE YOUR PERSONAL DATA AND SETTING AND EVERY THING)

8)CHOOSE INSTALL ZIP FROM EXTERNAL CARD AND CHOOSE FIRST KK_BOOTSTACK_D618_1.1.ZIP THEN cm-12.1-20150828-UNOFFICIAL-g2m.ZIP

9) RECOMMENDED TO INSTALL GAPPS (tk_gapps-modular-pico(uni)-5.1.1-20150824-signed.ZIP)

10) NOW YOU HAVE DONE .. REBOOT YOUR PHONE AND IT WILL DO SOME INSTALL FOR ABOUT 10 MINUTE AND YOU WILL SEE SETTING SETUP ON THE SCREEN :D

11)F YOU HAVE unstable SIM signal JUST GO TO RECOVERY AND WIPE ONLY CACHE IT WILL BACK TO NORMAL.

THIS IS MY experience ON MY G2 D618 I DON'T KNOW ABOUT OTHER PHONE'S

THANK YOU XDA AND XDA-DEVELOPER'S FOR YOUR HARD WORK .
[LG G2 Mini] snoK123:
Thank you very very much for this great explanations!!!

Tried to flash custom recovery with Rashr after unlocking bootloader. Tried CWM, Philz and TWRP and always ended up with attached screen.

What do you think the mistake is? And what do you mean with setup Num 2? Do you mean kernel flash in Rashr?

Thank you!
[LG G2 Mini] Samir Sleet:
Make sure that Unlock bootloader process success i have this problem to and i Discovered that the unsuccess unlocking bootloader operation the Responsible for this error as i understand.

Flash custom recovery process deleting the original recovery but because of unsuccess unlocking bootloader Rasher Deleting original recovery but he cannot install the new custom recovery so what i do in this case .

1)Download official android lollipop from here (chose your country ) its KDZ File and flash with LG Flashtool 2014 Here

Now do the setup from the First setup .. and setup Num 2 i just mean Flash Custom Recovery File (Dont use TWRP Use CWM with Flashify .. Rasher didn't success with me ) Hope you make it :o
[LG G2 Mini] numpea:
this is the stock android recovery that means that you didn't or couldn't flash a custom recovery

make sur you extracted the zip file and flashed the recovery.img with flashify
[LG G2 Mini] snoK123:
Hmmm, did everything exactly like you've written until flashing recovery. Now I'm stuck with attached screen when entering recovery...

Any idea?

Thank you!
[LG G2 Mini] numpea:
this is the fastboot screen

the recovery you tried to flash is corrupt make sur the file isn't corrupted and the that is matching your device

i think your device is d620r and your trying to flash the one from the thread [RECOVERY][CWM][PHILZ][TWRP] G2 Mini D618

if you can boot into system reflash the matching recovery TWRP for your device if you can't connect your phone to pc

use fastboot to flash the recovery

http://xdaforums.com/g2-mini/development/recovery-twrp-2-8-3-0-recovery-lg-d620-t2990196
[LG G2 Mini] snoK123:
Thank you very much for your reply, Tried to flash the linked TWRP with Rashr, same here... :(...
[LG G2 Mini] numpea:
don't know what's wrong !! if bootloader was locked you will have a security error on boot not the fastboot screen when enterig to recovery maybe you're doing the wrong combination to access recovery try with an application or with flashify or rasher to reboot to recovery
[LG G2 Mini] Samir Sleet:
give us screen shot of (about software) in your phone
[LG G2 Mini] xander33:
I All, i lost two days trying to flash the recovery with rashr ....

With flashify everything was ok!!!

So please try with it

At least on my case the problem was just the app rashr that does not work on my phone
[LG G2 Mini] Samir Sleet:
The same happen with me so I put the general tool for all users and I mentions the successful tools that work with me
[Moto 360] Zammo76:
I have Moto fit enabled on my watch and also my phone and its meant to be emailing weekly stats reports but I've never had one, are other people who use the app getting them?
[Moto 360] scanno:
never got any stats email
[Moto 360] sfringer:
I'm getting them. You do have Moto Connect installed on your phone, correct?
[Moto 360] reinaldistic:
hit unsubscribe at the bottom
[Moto 360] Zammo76:
I do have this app installed but I just checked it's settings and in Moto 360/ Moto Body Profile the check box 'Send me weekly emails' was unchecked. Have just checked this so I should start getting them. Thanks for your help!
[XDA Assist] :
Hi. i want to change the rom. I wanted to upgrade the android version to the latest version i.e lolipop in my samsung i9100. I tried cyanogen mod but its not what i was expecting. please provide me the link or the procedure with the files through which i can download samsung latest android software.

Thanks in advance.
[XDA Assist] cam30era:
Welcome to XDA Developers.

First, please register as a user.

After you have registered, you will be able to create new posts, and respond to posts from other users.

Your question is best asked in your device specific Q&A forum and this thread> http://xdaforums.com/galaxy-s2/help/qa-friendly-qa-thread-t1648351

One of our experts will help you.

Good luck.
[Galaxy S III Mini Q&A, Help & Troubleshooting] mark-1978:
Hello,

since i flahsed this kernel, the phone works, but it wakes up from sleep mode all the time, causing the battery to discharge very fast. Is there a solution for this?

grtz,

Mark-1978
[Galaxy S III Mini Q&A, Help & Troubleshooting] Sureshtuty:
http://xdaforums.com/galaxy-nexus/general/kernel-wakelocks-t1462020
[Galaxy S III Mini Q&A, Help & Troubleshooting] KaffeeKiffer:
Imho an even better explanation on the whole wakelock issue and how to solve (some of) them:

http://xdaforums.com/showthread.php?t=1827676

We need more information what's causing the wakelocks, before we can (try to) help.

→ Install Better Battery Stats and let it run a few hours.
[Galaxy S III Mini Q&A, Help & Troubleshooting] mark-1978:
the solution was disabling home button wake up screen in Android cyanogen version. Thx for Reading.
[Java for Android App Development] xn1ch1:
Hello

I have a repetitive function that I want to complete in a loop. The loop will be based upon an array of numbers that will be used to form variables.

This is what I have so far, but it wont work

int aNums[] = { 2, 3, 4, 8 };

for (int n : aNums) {

if(buttonState + n == 1){

btn + n.setBackgroundColor(Color.GREEN);

buttonState + n = 2;

}

}

It keeps telling me it cannot resolve symbol buttonState and btn

Please let me know if you need more information.
[Java for Android App Development] Mikadroid:
We need more code.

But if your IDE say it cannot resolve symbol buttonState and btn, declare your variables in global, it's like that:

public class Main extends Activity {

int buttonState, btn;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// Your code...

}

// Your code...

}
[G4 Q&A, Help & Troubleshooting] delacrum:
So I flashed a non-rooted Polish 10D to my TWN version. Now new updates are available for 10E for Poland and 10C for Taiwan.

From which version will my OTA / LG Bridge firmware update be coming from?
[G4 Q&A, Help & Troubleshooting] xsoft7:
hey, how did you flash it? - i have the TWN too (bought unlocked from amazon) , and where did you take the KDZ?

do i have a brick risc? and did it formatted the device?
[G4 Q&A, Help & Troubleshooting] delacrum:
I used the guide in the link below using LG Flash Tool

http://xdaforums.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848

and the KDZ file from the link below

http://www.ibtimes.co.uk/lg-g4-receives-new-firmware-version-v10c-europe-kdz-link-1514553
[G4 Q&A, Help & Troubleshooting] delacrum:
bump, anyone know the answer to the topic?