yashsingh1/xdaforums huggingface dataset:
[Advantage X7500, MDA Ameo General] LTxda:
Wow, sounds like it's a CPU scaling issue indeed. Have you tried to disable the internal scaling using something like PHM? Not allowing it to manage the speeds but just disable the internal system and see what happens.
[Advantage X7500, MDA Ameo General] RichardKAthena:
Yep, still choppy as anything. Thing is it appears that if I disable scaling and leave it at that (and don't let Scale Engine run), then it stays at 104MHz! But even running at 624MHz - surely plenty for a 1MHz 6502 machine to be emulated - it's running at 4% speed!
[G3 Q&A, Help & Troubleshooting] krisbi:
Can you please check if android device manager is working for you?

My G3 (with lollipop) was being found by ADM yesterday morning but today no.
[G3 Q&A, Help & Troubleshooting] Sajito:
I can't find my D855 either in ADM.

It just says there is no active device :/

Anyone who knows how to fix this?
[Xperia Z2 Android Development] nreuge:
1) Use Advanced ApkTool v4.1.0 and install it on your computer,

2) Download apktool v2.0.1 and rename it apktool.jar,

2) Replace the old apktool.jar by the new one in 1-BDfreak,

3) Launch Advanced ApkTool, install the framework, decompile your apk, do your modifications, recompile with sign and zipalign,

4) Open your new apk (with winrar for instance) and replace the META-INF folder and androidmanifest.xml by the ones of your old apk.

That's all :D
[Xperia Z2 Android Development] arismelachrinos:
thanks..can you tell me what zipalign means and does? because previously i was just doing recompile and sign and i wasnt getting any problems
[Xperia Z2 Android Development] nreuge:
Just google it ;)

zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
[Xperia Z2 Android Development] Rajeev:
Nice guide bro. Btwn signing and zip align is not necessary.. ;)
[Xperia Z2 Android Development] Ambor:
Brothers

Tray AWESOME tool [MENTION=4315551]Ticklefish[/MENTION]

Tickle My Android 10.2 - The Best Android Theming Tool...EVER!! by

Its sign app without any problems

I have used this method, but soon as you copy from the original application AndroidManifest.xml that some values do not work. This also limits the modification miozliwosci app

Better use apktool v2.0.0 SnapShot

[MENTION=4315551]Ticklefish[/MENTION] again thanks YOU ARE AWESOME
[Xperia Z2 Android Development] nreuge:
Thanks bro, I'll try it !! :D
[Xperia Z2 Android Development] Rajeev:
Yes [MENTION=5717533]Ambor[/MENTION] bro.. Just now tried [MENTION=4315551]Ticklefish[/MENTION] 's tool with Lolipop.. Its awsom... Loving it..
[Xperia Z2 Android Development] Toxizen:
Everything OK but can't decompile my themes with any of this softwares. I installed framework from my z2's new 5.1.1 still can't decompile. Any solution
[Xperia Z2 Android Development] Ticklefish:
Are you getting any errors?
[Xperia Z2 Android Development] Toxizen:
Yes and I also get error while signing too. error 26 or something
[Xperia Z2 Android Development] Ticklefish:
If you can share those errors, it'll help solve what the problem is.
[Xperia Z2 Android Development] Toxizen:
Error

Sorry for my late reply . I wasn't at home .

[IMG="x"]http://dl-1.va.us.xda-developers.com/3/4/4/8/3/3/8/sdas.png?key=1VQ_NzCKO0rfzIaK8FM3qg&ts=1440300746[/IMG]
[Xperia Z2 Android Development] Ticklefish:
Did you install SemcGenericUxpRes.apk?
[Xperia Z2 Android Development] Toxizen:
Yes I did everything. But same problem with my themes. But it managed to decompile my Systemui.apk. So I am thinking it might be the problem with my apk file only so I provide it here. Test and let me know why this is happening please.

But nice tool u made.

https://drive.google.com/file/d/0B4TWfrb9-m18anlOT1UtdmlzamM/view?usp=docslist_api
[Xperia Z2 Android Development] Ticklefish:
Oh, you used TMA! I didn't spot it...:o

I'm having the same problem decompiling your file. Looks like there's a resource that can't be decoded. Sorry about that. :(
[Xperia Z2 Android Development] nreuge:
Update 10/09

OP updated for 5.1.1.
[Xperia Z2 Android Development] Rajeev:
Well i have found TMA is better and amazing.. There is no need to replace anything in apks after recompile. Just recompile apk with same sign option in TMA. Lot of awsom options available in TMA. You should try that mate.. A big thanks to [MENTION=4315551]Ticklefish[/MENTION] ma broooooo
[Xperia Z2 Android Development] nreuge:
Ok my friend, good to know that. I'll try :)

Thanks !!
[Galaxy S 4 Q&A, Help & Troubleshooting] theyelloyarn:
I am new here. I have an issue with the recovery images that i try to apply. I made a backup of my phone using twrp and when i loaded up a bunk rom i immediately went to go back to my stock image and it wont get past the loading screen. just sits there. I have two phones and used the second one to make a backup with cwm recovery and nandroid backup. everything is looking good as far as the backing up, but when i go to install the backup i get errors such as error flashing boot and what have you. I am on the i337z ( cricket variant ) S4. I can install custom roms but they litterally take forever and a day to load up and when it does the wifi wont work or the mobile data wont work. nothing. Im lost. Please help XDA community.
[Galaxy Tab S Q&A, Help & Troubleshooting] lartomar2002:
Besides my Google accounts not syncing I can not get any calanders to work. I have tried removing the accounts and reinstalling them and no joy. Tried force sync. In setting when I try syncing then I get "Sync is currently experiencing problems. It will return shortly." This has been going on for 2 days. Any suggestions?
[Sprint LG Optimus G] LordKyleOfEarth:
I recently picked up a new-to-me LS970 after an unfortunate encounter with gravity :/

I went to root/unlock the phone and all seemed to go well. I loaded TWRP 2.6.3.0 and proceeded to make a backup of my stock rom/settings/ESN. I then attempted to flash a new ROM and found that the MIUI port wasn't functional for me. I tried to flash CM12 as well but cannot get past the setup wizard.

Unfortunately, TWRP doesn't recognize my backup. If I go to the file manager, I can see the directory and files that compose my backup, but if I go to restore it, I get a blank menu with no restore options.

The ADB sideload option fails to connect (It says 'Starting ADB sideload feature...' forever until I cancel it) and I cannot get far enough into either ROM to enable me to push files over MTP. in CM12, I can get ADB to see my phone (appears when I use 'ADB devices') but if fails to push a file due to permission being denied.

What are my options here? How can I move forward with having a functional phone?
[Sprint LG Optimus G] LordKyleOfEarth:
I was able to tinybin my way back to TWRP 2.6.0.0 and that has allowd me to ADB push files. Sideload still will not function. I tried flashing several ROMs but they always fail. I treid reformating my SD card, and that also fails (unable to read partition table). Any guess as to what is going on? MIUI successfully works now, so at least I'm through the worst of it.
[Sprint LG Optimus G] dopy25:
If it is your original TWRP backup (TWRP that Freegee installed) it might not restore, I had that problem a long time ago. Try installing an updated TWRP, that one is really old at this point.

If you have an updated TWRP you can mount MTP from recovery and transfer any files to your internal storage. I suggest starting out with the stock ZVC so you can have a fully working stock device and make sure everything works. From there you can copy zips to your device and flash away.

If you have issues copying a recovery to your device you can always use adb to flash. I believe it is

"fastboot flash recovery (name of recovery.img)" without quotes or parenthesis.

EDIT: On the CM 12 setup thing, [MENTION=2413393]Shelnutt2[/MENTION] just posted in the CM12 thread that the bug is fixed and will be pushed to tonight's nightly.

Here is a newer recovery built by an international dev but this is the one I used when I had the OG.

http://dl.kevinjoa.me/recovery-geehrc/twrp/
[One (M8) General] GuestK0058:
Reserved
[One (M8) General] al_wizard:
TAMPERED

UNLOCK

M8_UL PVT SHIP S-ON

HBOOT- 3.16.0.0000

RADIO-1.16.2133156.UA15g

OpenDSP-v38.2.2-00542-m8974.0311

OS-1.54.401.10

eMMC-boot 2048MB

ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ

This is my phone , should i do any thing more or just the steps u mentioned???

I was told that i must upgrade my firmware, must i ??

Thanks
[One (M8) General] dima470:
This is a great guide for those that just want to return to stock for their own purposes. However, this will not be enough for sending the phone into warranty, for that you'll need to take a few more steps with S-Off to get that RELOCKED flag to say LOCKED.
[One (M8) General] GuestK0058:
From my experience with HTC warranty repairs, they don't really care about the bootloader being 'relocked', S-Off is a more common cause for them to not repair the device.

But, above differs per repair center / per country

Where did you bought your device?
[One (M8) General] Mr Hofs:
You are S-ON so you need to relock the bootloader and run the ruu.

If you want to give all info to work with you need to post the outcome of :

Fastboot getvar all

Delete the serial and imei and post the list here.

Or check the firmware & nand backup thread here in the general section. Restore the stock rom and recovery and perform ota updates which also will upgrade the firmware

---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------

Has nothing to do with where he bought it from, it is depending on the phones hardware & software, for all we know its imported.

The specs are important not where he got it from. And you can't tie it down on how repair centers handle the phones....that's a matter of good luck !

;)
[One (M8) General] al_wizard:
I bought it second-hand from Qatar if you mean country.
[One (M8) General] dkmaster:
Hi. I tried to use this guide but it I couldn't follow it through. I have relocked, tempered, S-ON, CID : TMOB102 phone. It is stuck in the HTC logo after a full wipe from twrp. I don't have OS, and the main version is empty. So far I have tried all the European RUU which gave CID error and 2 T-Mobile RUU's with MID error both. Can anyone give me a suggestion?
[One (M8) General] morgansgrandad:
Problem extracting boot_signed.img

When I try to extract the boot_signed.img akk I get from Winzip is "cant find central directory"

Any ideas??
[One (M8) General] sseuorosal:
This is a great guide for those that just want to return to stock for their own purposes.
[One (M8) General] royalkalana:
Hi,

I just needs to get OTA on my phone and i dont mind it being tampered or unlocked.

Will this method work on my phone ?

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.16.2133156.UA15G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH495WM01309

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 098a72e5

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M8) General] gorner92:
:/

I tried to flash the boot.img but I get this error:

C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img

creating boot image...

creating boot image - 8994816 bytes

downloading 'boot.img'...

OKAY [ 0.894s]

booting...

FAILED (remote: not allowed)

finished. total time: 0.895s

I have no OS now if I try to reboot I get stuck on boot logo. What can I do to get back to stock with OTA and everything?

C:\Users\Ali\Desktop\Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.33.61.9

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: ORANG001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 4c3fbd70

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.020s
[One (M8) General] XskipperX:
thanks this helped me revive my m8
[One (M8) General] Cpre:
Pc can't identify my device. phone gets htc logo then it turns black and disconnects from pc. RUU wiz error (170) usb connection error.
[One (M8) General] GuestK0058:
Yes

Please check if your device is unlocked. You can't flash boot.img's while on a locked bootloader.

Reinstall the HTC drivers.
[One (M8) General] Mr Hofs:
You are using the wrong command ! It's :

Fastboot flash boot boot.img

NOT

Fastboot boot boot.img ! That's why you got stuck. And indeed make sure the bootloader is UNLOCKED before you flash !

While i don't even know flashing the boot.img and recovery seperatly first is actually needed because all that's needed is to relock the bootloader and run the ruu.exe or the temp rom.zip via sd card.

afaik the ruu method takes care of the boot.img and recovery on its own.
[One (M8) General] Daverius:
Got a problem with 3rd command (locking oem) in step 3. It goes like this:

C:\adb>fastboot flash boot boot.img

target reported max download size of 1826021376 bytes

sending 'boot' (8780 KB)...

OKAY [ 1.001s]

writing 'boot'...

OKAY [ 0.464s]

finished. total time: 1.465s

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 1826021376 bytes

sending 'recovery' (16044 KB)...

OKAY [ 1.710s]

writing 'recovery'...

OKAY [ 0.646s]

finished. total time: 2.357s

C:\adb>fastboot oem lock

...

(bootloader) [PGFS] partition_update_pgfs: pg1fs_security

(bootloader) TZ_HTC_SVC_ENC ret = 0

(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery

(bootloader) Lock successfully...

(bootloader) deinit_lcd

(bootloader) mipi display off

(bootloader) mdp_clock_off

(bootloader) turn off fd8c2308 failed 1 times. Try again...

(bootloader) disable_mmss_clk done

(bootloader) pll1_disable done

(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error

(bootloader) = 4

(bootloader) [INFO] Rebooting device

FAILED (status read failed (Too many links))

finished. total time: 1.194s

My getvar all before flashing:

version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.22.21331147A1.29G

version-cpld: None

version-microp: None

version-main:

version-misc: PVT SHIP S-ON

meid: 0000000000000000

product: m8_ul

platform: hTCBmsm8974

modelid: 0P6B10000

cindum: HTC__032

Now my phone is stuck on my ROM's boot logo and now I can't access bootloader.

EDIT:

I've managed to access bootloader by holding power + volup and then holding vol down. After that installing via RUU went smooth.
[One (M8) General] Chronosus:
Hi, I followed your instructions, but before I could start with 4th device booted up and i accidentaly accepted upgrade. It rebooted and upgraded the device, and then stuck on boot screen. Now I try to update it through RUU but it says image version 4.16.401.13, and I can't find RUU for that version. Any ideas? Can I somehow reinstall twrp and restore nandroid backup?

P.S. in bootloader it still says software status: modified :/

P.P.S. I still managed to make RUU go through all the steps, from a billionth time. It would usually stuck on steps 0, step 1, or step 3. Now it seems like it's booting fine... Time to shower away all the cold sweat from my body.
[One (M8) General] Filding:
Hi Guys,

I have windows 8.1 and can't open rom.zip file. I have an error : The compressed Folder is invalid. Installed winzip, 7-zip - can't go ahead.
[One (M8) General] Oneflip2:
If you are having trouble sending the ruu and you are stuck at sending 0/7 or 1/8 and only htc logo. then just delete htc sync manager from your pc!!!
[Xiaomi Redmi 1S] bluvindo:
Dear Friends,

Can anyone advise how to install custom recovery on Redmi 1s running Miui 6 beta ROM official?

Or how can I get back to my previous stable stock ROM (Miui5 build 50)?
[Xiaomi Redmi 1S] airiRin:
Try to install it via fastboot. I recommend TWRP.

You can download the fastboot version of the stock ROM and flash it via fastboot.
[T-Mobile Samsung Galaxy S6] GayBarOwner:
Hello, I am planning on using this phone when I move to the United States this fall to attend college.

As the T-mobile variant is possibly the only one with unlocked bootloader, I am sure this is the best choice I have.

This was my original plan: buy SM-G925T, ship it to Korea, use it in Korea until August, move to the United States and open a number there.

Sadly, I found out T-mobile phones are only purchasable in the United States. Is there any other way for me to buy it from Korea?

If not, are there any other variants that support bands of SKT (LTE bands 1/3/5) and T-Mobile?

Cheers.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] Muneeb Jamil:
I flashed Clockwork recovery 6 on my gt 19082 using odin 3.09.

It flashed successfully but i cant boot in recovery mode. I'm doing volume up+home key+ power button but it boots in manual mode. Please help :confused:
[One (M8) Q&A, Help & Troubleshooting] voodoo.mutt:
genius that i am, i've somehow messed up flashing my rooted M8 from stock rom to CM12.

i had cleared the rom, cache and davlik as required by the instructions and then tried to load the CM12.zip which evidently failed and got stuck in reboot.

from what i can gather, it's not bricked and should be recoverable (OS is basically missing or broken). but before i can begin research that process (after the requisite swearing and panicking), my phone has been stuck at the flash screen (white screen. HTC powered by android) all day

i've tried to reboot it, holding down power, holding down volume down (as in for minutes not seconds) etc...but nothing is working.

any ideas?
[One (M8) Q&A, Help & Troubleshooting] grega_slo:
Hold power+volup and when device reboots quickly press voldown this will get you to bootloader and from there you can do anything :)
[One (M8) Q&A, Help & Troubleshooting] voodoo.mutt:
/facepalm...the only combination i didn't try.

thank you
[8125, K-JAM, P4300, MDA Vario ROM Development] mdabeezy:
i would really like to thank everyone here for the info and cooked roms that yall hath provided (i love crossbow) for us keep up the good work yall have made me like my mda even more thanx
[8125, K-JAM, P4300, MDA Vario ROM Development] Dr Puttingham:
Just hang tight. You ain't seen nothing yet, eheheh!

Trust me. Jose is cooking like a madman.
[8125, K-JAM, P4300, MDA Vario ROM Development] mfrazzz:
Mmmmmmm.... I like the sound of that!
[8125, K-JAM, P4300, MDA Vario ROM Development] mdabeezy:
i think i have an E-wood lol
[8125, K-JAM, P4300, MDA Vario ROM Development] parlato_edoardo:
quote quote quote!!! Expecially faria! First wm6 rom perfect for me with few customization.

thanks again and... go on! :) :) :)
[Moto G Q&A, Help & Troubleshooting] ksfst:
I have a Moto G xt1033 with no operating system.

I can recognize the device using fastboot devices and adb devices. (drivers are installed properly)

CWM recovery is installed properly.

There's no operating system and the sdcard is empty.

When I try to use the command adb push to get the rom.zip into the sd card (or data/media folder) it just won't work, it will give me a 'protocol failure' after a couple of seconds.

When I try to use the command adb sideload it will immediately crash (at 2%) and give me the error: failed to write data 'protocol fault <no status>'.

I've also tried to install a stock rom using flashing through fastboot, but it also failed.

Anyone has any idea of how I can save this phone?
[Moto G Q&A, Help & Troubleshooting] lost101:
It sounds like something is not right with your ADB / Fastboot setup. What operating system is on the PC / Laptop?

You might want to try reinstalling ADB:

http://xdaforums.com/showthread.php?t=2317790​

Alternatively, a quick way to get access to Recovery Mode ADB is to use Linux, either as a LiveCD or full install. The command to install ADB / Fastboot on Ubuntu is:

sudo apt-get install android-tools-adb android-tools-fastboot​
[Moto G Q&A, Help & Troubleshooting] ksfst:
Thanks for the tips, my computer's OS is Windows 7, but the problem was related to my computer's front USB ports, all 6 of them. As soon as I connected to one of my back USB port it worked.. Most likely because my front ports are 2.0 and the back ones 3.0. Never thought it would make a difference in this case, kinda feel stupid for having wasted so much time looking for a solution when it was so simple.

Thanks for the reply anyway [MENTION=1006674]lost101[/MENTION].
[Moto G Q&A, Help & Troubleshooting] sachinranka4u:
XT1032

Am experiencing the same problem,

unable to sideload/push stock rom gets stuck on push at 31%

Recovery CMW, able to boot into recovery

getvar=all, i don't even have imei shown in that!

pls help me fix it...

Thanks a load in advance
[Moto G Q&A, Help & Troubleshooting] paxar331:
As soon as I select 'ADB sideload' on TWRP, the phone is no longer recognized by the desktop computer nor ADB.exe...

But when I select cancel, the device is then recognized. This is version 3.3.1-0

Edit: It seems to only logical solution is to use 'adb push [image_name] /sdcard/.'
[Moto G Q&A, Help & Troubleshooting] outerspacebuddy:
I have a XT1032. In the past it ran Motorola (not GPE or anything) Kitkat 4.4.2. Three months ago I upgraded it to GPE 5.0.1, because of my stupidity for not realizing what "GPE" meant. I hate this GPE and have already done with it. Could you guys, please, show me a way to go back to Motorola firmware Kitkat 4.4.2. I don't want anything relating to GPE anymore. :crying::crying::crying:

My XT1032 is en-us version, FYI.
[Moto G Q&A, Help & Troubleshooting] audit13:
Download the stock 4.4.4 ROM for your phone from here: http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=filename&order=ASC&show=100&page=1

Flash it manually using fastboot commands. Do no flash anything below 4.4.4 as doing so may brick your phone.
[Moto G Q&A, Help & Troubleshooting] outerspacebuddy:
Thank you. Instead of downgrading, can I upgrade GPE 5.0.1 to Motorola 5.0.2, then wait for Motorola 5.1 OTA update? Is there any risk to switch between GPE and non-GPE (Motorola)?
[Moto G Q&A, Help & Troubleshooting] audit13:
The partition layouts are slightly different and I believe the data partition on gpe (ext4) and stock (f2fs) are not the same.
[Moto G Q&A, Help & Troubleshooting] outerspacebuddy:
audit13, I really don't understand all the commands I need to type when using mfastboot. When upgrading my phone to GPE, I followed this post (http://xdaforums.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847). Is there any difference? Could you show me some links to learn about how to use those commands? I don't know what I should type, what I should do step-by-step. Thank you.
[Moto G Q&A, Help & Troubleshooting] audit13:
This is a good guide: http://xdaforums.com/showthread.php?t=2542219