yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] chitrang200889:
Requirements :

Need to change some system files

Install one application as system app

I know that above to requirements need rooted device, but device is not of well-known company so there is no support available from CWM, TWRP or any other.

Yet I've some how managed to get some tools and files to install android 5.1 from device manufacturer as below,

Intel's Platform Flash Tool

Also all necessary files such as recovery.img(stalk-read only permission), system.img etc.

Now what I've think of solution so far is to unpack and repack system.img and replace new system.img with existing one and install with Intel's Platform Flash Tool, XDA reference-1.

Unpack :

mkdir sys

./simg2img system.img sys.raw

sudo mount -t ext4 -o loop sys.raw sys/

Repack :

sudo ./make_ext4fs -s -l 512M -a system new.img sys/

sudo umount sys

rm -fr sys

also calculated size = "Block count" * "Block size", XDA reference-2

and after creating sucessully system.img and also installation is also complete with Intel's Platform Flash Tool, bur is not able to boot and stuck at loading screen.

Solutions that I can think of,

Is there something that I'm missing in above method of unpack/repack method of system.img?

I've Intel's Platform Flash Tool, so is there any way to put my changes during installation of android OS?

I've also recovery.img, is it possible to modify this and create custom recovery.img and give read and write permission to system files?

Are there any ohter solutions which meets my requirements?

Any help will be highly appreciated. :) :)
[X Play Q&A, Help & Troubleshooting] Ebrahim Ali:
Hi guys

I rooted my phone last night and after getting everyrhing set back up I left it overnight to charge. Ive been using it for half an hour now but when I go to check battery stats it doesnt display a graph or usage stats.Also it says I have 4 hours left even though im at 92%. Whats going on?
[X Play Q&A, Help & Troubleshooting] Ebrahim Ali:
Oh my god Im so stupid, yeah I said i used for half an hour but that time i was backing up and installing with TWRP. Everyrhing is normal just me being paranoid. Mods you can close this thread or remove it.

Thanks
[Galaxy Grand 2 General] ahemad8199:
offline charging problem fixing is not possible
[Galaxy Grand 2 General] aryalmuskan17:
it is already fixed
[Galaxy Grand 2 General] nirupom das Andrid Lver:
i know its fixed
[Galaxy Grand 2 General] Ahmed-Hamdy:
Is there any link for the fix :confused:
[Galaxy S6 Q&A, Help & Troubleshooting] Trilxilety:
So I recently downloaded an app. My friend told me to get it and I had no idea what it was... The reviews said it was a fun game & the description was just nothing pretty much so I got it and I opened it.. It then said "rooting phone" and I started freaking out because I didn't wanna root my phone and my phone was at 1%... My phone died in the of the rooting process and I ran to my charger to charge it and nothing happened at all... It didn't charge event after leaving it there for 20 minutes.. I could only go back to download mode and it was useless because ODIN can't get me back to stock and I can't access recovery mode. What can I do!?!?! Please help me!
[Galaxy S6 Q&A, Help & Troubleshooting] Bhargav Hegde:
What was the app ? was that Kingroot ?

You can still go back to stock using ODIN, according to your device download the firmware from sammobile and flash it using ODIN, hope this helps.
[Galaxy S6 Q&A, Help & Troubleshooting] ammarvora:
Restore your phone with smart switch.
[Galaxy S6 Q&A, Help & Troubleshooting] Trilxilety:
no it wasn't kingroot :/ THANK YOU!! It worked!!
[Tilt, TyTN II, MDA Vario III General] nr152522:
Does anyone know if the Vario III supports Vista sideshow?

Would really love to give it a go :D
[Huawei Ascend P7] simoa007:
Can someone pls help me, i need scatter file for P7. My phone is restarting and turning on/off process alone. I cant get him to fabric state cause he remmembered some backup and its doing something like system restore :/ I tryed to do update but he cant accomplish that...i dont know how to reinstal it :( I wanna try with sp flash tool but i dont have that scatter.txt file :(
[Huawei Ascend P7] simoa007:
i downloaded stock firmware but there is no scatter file in it. Only update.app
[Huawei Ascend P7] usb2:
p7 doesn't have MTK cpu...so there isn't a scatter file and also sp flash tool doesn't work

with update.app and stock recovery you can force the rom's flash by putting the update.app inside a folder in sd card (called dload), shutdown the phone and then pressing concurrently vol+ vol- and power button
[Huawei Ascend P7] simoa007:
I tried that, but unsuccessfully. I placed the dload folder on SD card with update.app inside it and went into fastboot mode with the vol + vol- and power button but when i choose update from SD card and select dload folder it doesnt show me the update.app inside. Folder dload is showing empty :(
[Huawei Ascend P7] usb2:
if everything it's ok pressing the three button the phone should automatically start in EMUI recovery, flash the fw and reset the internal memory without the need to select anything...
[Huawei Ascend P7] zaabolla:
You need to use stock recovery

Not twrp or cwm recovery
[Huawei Ascend P7] simoa007:
I tried that but didnt help :(
[Huawei Ascend P7] simoa007:
Is there any "how to use" for stock recovery?
[Huawei Ascend P7] zaabolla:
there are many threads talking about how to flash stock recovery.img and boot.img with adb tool in general section

keep reeding and use search botton.
[Huawei Ascend P7] shohag.bd2015:
plz help e

My Huawei p7 bootloader is death how to repair plz help me.... unfortunately bootloader is failed...
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
So I think I've gone and bricked my LG G3.

After the ROM I was using, cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd) from here, kept freezing 20 seconds after startup, I went to update to cm-13.0-20160325-NIGHTLY-d855 (CM13 March 25th). I booted into recovery (TWRP 2.8.7.0) as usual and went to flash both the ROM's .zip file and an Opengapps .zip file using TWRP's queue feature. However, it appeared to get stuck at a line (unfortunately I don't remember what it said exactly. Something involving patching system, I think), so I pulled the battery. I get the feeling this was a super not good thing to do, as my G3 now sits at the "LG - Life's Good" screen indefinitely. Holding Power+Vol.Down does not boot into Recovery, and neither does holding Vol.Up and plugging into my computer activate Download mode.

I tried to be as thorough as I could with exactly the steps I took, so I'm just hoping someone can give me a few pointers on what I can do.

As I type this I had the phone connected to my computer next to me, and I've suddenly heard the Windows "Device connected" sound and the phone is now showing this in the top right corner, in tiny font:

[784670] Fastboot mode started
[784820] -- reset --
[784820] -- portchange --

Edit: When this occurred, a device named "Android" appeared under the "Other devices" tab in Windows Device Manager. It's got a yellow warning sign next to the icon, and Properties says that the drivers for the device aren't installed.

Perhaps this is relevant to getting it working again.
[G3 Q&A, Help & Troubleshooting] bender_007:
First you need the adb drivers for lg g3

Then you need proper partitions, depends what your starting system was, before cm..

then simply reflash them

fastboot flash aboot aboot.img

fastboot flash recovery twrp.img (because you don´t have one)

fastboot flash laf laf.img (this should fix the download mode)

Depending on what the system in original was and what the cm package installed...
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
Many thanks for the reply.

By ADB drivers for the LG G3, do you mean the Lg United Mobile Driver? I have version 3.13.2 of them, if that's what they are.

When I input the commands

adb devices

or

fastboot devices

nothing appears, so are there different drivers I should look for?

I'm not too sure how to "fix" partitions, either, but I'm guessing it requires ADB/fastboot.

The file aboot.img and laf.img, will I need to find somewhere to download them from?

Again, I appreciate the response.
[G3 Q&A, Help & Troubleshooting] bender_007:
In case you have the drivers not installed (the "android" device without drivers in device manager), try with "google adb driver" ->

or pdanet

however the lg one should be fine (if not -> try one of the ones I mentioned)
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
I used PdaNet to install the LG drivers, and inputting the command "fastboot devices" now shows

? fastboot

Inputting "adb devices" does not show anything, however.

I then attempted to flash a recovery, TWRP version 2.8.7.0 with the command "fastboot flash recovery "recovery.img"". However, the phone's screen showed the following:

[998960] Error: Command never completed
[998960] Error: Auto CMD12 Error
[998960] Error: Command never completed with errors
[998960] Failed Writing block @ 1

How do I fix the partitions and find the files "aboot.img" and "laf.img"?

Thanks for your help so far, I'm glad that there is progress now.
[G3 Q&A, Help & Troubleshooting] bender_007:
it has to be fastboot flash recovery recovery.img (where recovery.img is twrp.img, twrp.bin, recovery.img or similiar, without any quotations)

What happens when you try to enter TWRP? Are you doing it right? Hold volume down and power ---- wait for lg logo an release for less than a second and keep holding again.

aboot and laf are downloadable or extractable (from KDZ/TOT) -> use bullghosts kdz/tot extractor
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
I retried the command fastboot flash recovery recovery.img but it resulted in the same output as before.

I followed the exact instructions to enter TWRP but it just stays at the LG logo screen. I've held Power+Vol.Down for about a minute after quickly releasing it+pressing it again at the LG logo, but it just doesn't do anything.

I've found myself a Lollipop KDZ file. The CyanogenMod I was running, however, ran on Android 6.0 Marshmallow. Will I need a Marshmallow KDZ file instead?
[G3 Q&A, Help & Troubleshooting] bender_007:
check PM - Private Messages

+check out this drivers(I packaged few of them, there is also lg adb, try the ones)
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
I appreciate the offer to use Teamviewer to help me, but I think it would be best if you typed out some instructions in a reply to this thread so that others with the same issue can refer to here.
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
Solution

I've found a solution to my issue, at least.

Downloading "recovery.img" from here, putting it in the same folder as fastboot, and then using the command

fastboot boot recovery.img

booted my phone properly, into cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd).

However this resulted in all data being erased, including internal storage.

After using Flashify to re-flash TWRP (just in case), everything works as it should.
[G3 Q&A, Help & Troubleshooting] bender_007:
Glad you got it working :)

Regarding teamviewer - it was an exploration mission so I would see how your device behaves, maybe wrong drivers, maybe..100reasons (I certainly would write it in here if there was a better idea on my side)
[G3 Q&A, Help & Troubleshooting] HexManiacSpeck:
That's alright, many thanks for your help. I've just heard bad stories regarding Teamviewer and didn't want to risk anything.
[G3 Q&A, Help & Troubleshooting] bender_007:
No problem, sometimes you have to trust people :)

There were people who asked for help, installed teamviewer and didn´t gave any control permissions (which is fine). But they were expecting someone is having soo much free time to explain things (which I would if I had time)

cheers, flad you fixed it
[G3 Q&A, Help & Troubleshooting] Sport Billy:
Fixed my G3 I was about to send to trash!

Thanks a million for pointing to this recovery file!

I was also in a situation where all my attempts to flash a recovery were failing due to:

The rest of my phone was unusable (no working recovery, no download mode, just the LG logo or this fastboot mode)

I tried several TWRP recovery versions & flavors, but so far, I only successfully reboot in recovery using CyanogenMod recovery file (download.cyanogenmod.org/?device=d855). Though I was not able to do much afterwards apart some adb commands that were not working either.

dd if=/dev/zero of=/dev/block/mmcblk0p20
dd: /dev/block/mmcblk0p20: write error: I/O error

This recovery img did the trick and I'm now back with a CyanogenMod ROM and a wiped phone.
[Android Apps and Games] JZY:
Hi!

Here it is my first game for Android OS and here it is my first update.

Simple casual game in which the player must find a pair of identical blocks with geometric shapes. Correctly found a pair of blocks disappear from the screen. The game is fully compatible with any tablet screen resolutions. The game supports "Parental Control" with a password lock - may limit the playing time of 15, 30 or 45 minutes.

Please feel free to get your reviews and recommendations, bugs, etc.

3 Shapes game supports 35 languages:

English, Russian, Arabic, Bulgarian, Czech, Danish, German, Greek, Spanish, Finnish, French, Hindi, Croatian, Hungarian, Indonesian, Italian, Hebrew, Japanese, Korean, Lithuanian, Latvian, Norwegian, Dutch, Polish, Portuguese, Romanian, Slovak, Slovenian, Serbian, Swedish, Thai, Tagalog, Turkish, Vietnamese, Chinese.

Google Play Link:

https://play.google.com/store/apps/details?id=com.beginwithsoftware.figures3gamemodule

Screenshots:

[IMG="First Screen"]http://beginwithsoftware.com/android/images/Eng_Phone_01.png[/IMG] [IMG="Intro Screen"]http://beginwithsoftware.com/android/images/Eng_Phone_02.png[/IMG] [IMG="First Level"]http://beginwithsoftware.com/android/images/Eng_Phone_03.png[/IMG] [IMG="5th Level Cleared Blocks"]http://beginwithsoftware.com/android/images/Eng_Phone_04.png[/IMG]

[IMG="12th Level on Tablet PC"]http://beginwithsoftware.com/android/images/Eng_Phone_05.png[/IMG] [IMG="12th Level on Tablet PC Cleared Blocks"]http://beginwithsoftware.com/android/images/Eng_Phone_06.png[/IMG]

[IMG="Parental Control Time Limit Selection"]http://beginwithsoftware.com/android/images/Eng_Phone_07.png[/IMG] [IMG="Parental Control Password"]http://beginwithsoftware.com/android/images/Eng_Phone_08.png[/IMG]
[Android Apps and Games] tpajak:
Good job mate! 5 stars!
[Android Apps and Games] shockfire:
Simple game that's really fun and addictive.

A good brain exercise - I like it. Congrats on your release.
[Android Apps and Games] JZY:
Thank you very much!
[T-Mobile Samsung Galaxy S 5] sustik:
My screen does not wake up when I press the power button. "logcat -b events" says when I press the power button:

03-27 22:49:00.502 673 962 I notification_visibility: [-1|android|17040497|null|1000,0,2044421,2044421,0,0]

03-27 22:49:00.502 673 1436 I notification_panel_hidden: []

03-27 22:49:00.596 673 673 I power_screen_broadcast_done: [0,95,1]

03-27 22:49:17.880 673 702 I am_pss : [4974,10087,craigs.pro.plus:searchAgents_cPro,4225024,2617344]

03-27 22:49:17.906 673 702 I am_pss : [4946,10087,craigs.pro.plus:remoteAlarmReceiver_cPro,3884032,2281472]

03-27 22:49:33.110 673 702 I am_pss : [1629,10022,com.google.android.gms,43783168,33624064]

03-27 22:50:06.931 673 1436 I battery_level: [67,4072,256]

03-27 22:50:46.419 673 673 I notification_canceled: [0|com.google.android.googlequicksearchbox|65539|null|10028,8,2220192,2220192,2183339]

03-27 22:50:46.452 673 673 I notification_enqueue: [10028,2001,com.google.android.googlequicksearchbox,65539,NULL,0,Notification(pri=-2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x118 color=0xff9e9e9e vis=PRIVATE),0]

03-27 22:51:15.659 673 702 I am_pss : [1629,10022,com.google.android.gms,43887616,33730560]

03-27 22:52:01.749 673 702 I am_pss : [4388,1000,com.android.settings,69186560,64761856]

03-27 22:52:01.782 673 702 I am_pss : [1629,10022,com.google.android.gms,43895808,33738752]

03-27 22:52:31.387 1629 6665 I [208000]: []

03-27 22:52:51.468 673 1371 I battery_level: [68,4080,255]

03-27 22:52:51.487 673 1258 I dvm_lock_sample: [system_server,0,SyncHandler-0,11,MessageQueue.java,325,-,541,2]

03-27 22:54:46.399 673 702 I am_pss : [1629,10022,com.google.android.gms,43887616,33730560]

03-27 22:54:46.425 673 702 I am_pss : [5137,10105,com.nprpodcastplayer.app,16335872,14458880]

03-27 22:55:53.170 673 691 I battery_level: [69,4088,255]

03-27 22:57:16.483 673 702 I am_pss : [2001,10028,com.google.android.googlequicksearchbox:search,51383296,46673920]

03-27 22:57:16.516 673 702 I am_pss : [901,10009,android.process.media,8763392,6983680]

03-27 22:57:16.534 673 702 I am_pss : [1558,10041,com.android.email,8595456,7270400]

03-27 22:57:16.551 673 702 I am_pss : [2068,10068,org.npr.android.news,6525952,4939776]

03-27 22:58:37.151 673 952 I battery_level: [70,4097,254]

The volume buttons work, the two buttons left and right of the home button light up, only the screen is pitch black. This happens quite often. Battery removal and reboot can get the screen working again.

Any ideas what could I do? Could this be some setting o an app? What othe rlogs should I be looking at?

Thanks!
[Amazon Fire Phone] lordofra:
Hello,

First of all, Thanks for this great community. It has been helping me with my S4 for a long time.

Almost a year ago, I bought a fire phone for my younger brother. Today I tried to install the Custom Rom CM11 (which I successfully did), but, among the files in the proper thread, are 2 more files, the Google apps and also, a "flash wipe out". I did this in the end, expecting that just cleaned everything without touching the OS. Huge and novice mistake from miself. After almost 5 hours of looking for a solution, I realized that I don't have an OS and can only enter to "Fire phone recovery mode". I have downloaded almost 5 or 6 stock firmwares that are available to donwload here in XDA. Tried to download the OTA for an unlocked phone from amazon and tried to upload it to the phone via ABD tools. In the end, I always get the same errors: Not-signed and can't install it in the phone.

I'm going to be honest: I'm desperate.

In conlcusion:

1) No OS in a fire phone.

2) No custom TWRP.

3) I just have recovery mode

4) Been trying to install through ADB tools without any success the stock OTA update (the last one, since I had the 4.6.6 version)

Anything that can help will be well received.

Thanks in advance
[Amazon Fire Phone] mechasnyper:
Hello,

Have you tried ADB sideload when you go into your phone's recovery? And if you did, what did it say when you tried installing it? Try using this to sideload your phone.
[Amazon Fire Phone] lordofra:
Thanks for your answer @mechasnyper but I have tried that out as well

Hey, thanks for the answer. I really appreciate the time for doing it.

Yes, I have tried the ADB Sideload. The phone it's identified through the CMD (I get to see the serial) and then try the ADB Sideload. It doesn't work with bin files. It says unable to load. I tried also with the zip files that are posted here in the forums, being able to load then at 100% but the cell phone says "invalid signature", and for this couldn't install it over the fire phone.
[Amazon Fire Phone] mechasnyper:
Try sideloading using this file. https://www.androidfilehost.com/?fid=24052804347783512 I found this somewhere else and this is the file I used when I screwed up my ROM installation.
[Amazon Fire Phone] lordofra:
When I get home I'll try using that file that you have posted.

I'll update the results.
[Amazon Fire Phone] mechasnyper:
Success?
[Amazon Fire Phone] lordofra:
Sorry for the delay. Been talking with centurylink because since yesterday I have no Internet service (Answering from the phone). No, no success at all.
[Amazon Fire Phone] Kramar111:
Your need free RAM on computer bigger than .bin size.
[Amazon Fire Phone] lordofra:
Hey, thanks for the answer.

I'm doing it on my laptop that has 8 Gb of ram. Just in case, I'm going to try it on my brother's laptop that has 16 gb of ram to test this out. But I doubt this will make a difference, since I've tried already many .bin files (all of them are unable to load an their size its 1.2 GB max. Many zip files as well where I have obtained 100% load but the firephone aborts the installation due to signature verification failure.
[Amazon Fire Phone] mechasnyper:
This is really strange. I have screwed up installing Cyanogenmod onto my phone, yet I was able to revert back to the stock ROM with just the stock recovery. I will have to look more into this. I will post again soon for updates. Have you wiped the data and cache?

EDIT: I am not sure if this will work, but try using this bin file. http://androidhost.org/o120v
[Amazon Fire Phone] Kramar111:
[MENTION=7373084]lordofra[/MENTION]

Try (with quotes)

adb sideload "full_path_and_name_of_the_bin.bin"
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ductoan0295:
My tablet already installed cm12 and twrp 2.8.7.0. After fully charged the tablets become slow and said something i cannot clearly remember "can't find sdcard" so decided to boot to twrp and it stuck at twrp blue screen. I've tried to normal boot again and it brought me bootloop (after stay at blue android robot's face 5 min). I used KFHD system.img restore tools but it sends back an errors about "write protection'. I've tried to replace recovery with fastboot command and it said success (fastboot -i 0x1949 flash recovery) but i think it brought no change to my tablets cause it stuck at blue twrp title again. Please help me now!!!!

https://drive.google.com/file/d/0B8LasUq_e49bTS1aakQ5bENnYWM/view?usp=sharing

https://drive.google.com/file/d/0B8LasUq_e49bS0UtcEUzTGQ1RzA/view?usp=sharing
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ductoan0295:
Nobody knows my problem? More details? plz help
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ellabankss:
[MENTION=6916147]ductoan0295[/MENTION] Were you able to solve the "write partition" thing?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] ductoan0295:
No i cannot fix this. I think the only way to fix is replacement of the eMMC chip on mainboard (this mean dead sdcard cause the error). I've not tried because i can't buy the same chip in my country and not sure if the replacement will work or not.
[Thinkpad Tablet General] mohsenator:
sim network disabled & imei brobem after flash official kitkat firmware yoga 2 1050L!

please help me if you can.juast i want a backup from your tablet

hi everyone

my yoga2 1050l lost imei after flashing rom and set imei to general imei!

no sim card detect

when i go to SETTING/...MORE/Cellular Networks is gray and completely disabled!(kitkat and lollipop)

so

no 3g

no lte

now my rom is kitkat.

please help me what to do

now my imei is: 0049999010640000

if you have lenovo yoga2 1050L please send this backup of your important factory partitions to me:o

with this method (IntelAndroid-FBRL-07-24-2015)in xda forum http://xdaforums.com/android/development/intel-android-devices-root-temp-cwm-t2975096

you can backup from important section of tablet that i think!

in "IntelAndroid-FBRL-07-24-2015" after you type ACCEPT to begin then select "1"(twrp_hdpi_landscape.zip)then if on kitkat select "T3" and when install is complet go to recovery>>>swipe to allow modification>>backup>>and you see "select partitions to backup" just select this partitions: ESP-BOOT-RECOVERY-FASTBOOT-FACTORY-CONFIG and another again back up of ESP-FACTORY-CONFIG

please send backup files to my email for my try and test.

mohsenator777@gmail.com
[Thinkpad Tablet General] mohsenator:
nobody want to help me? :/
[Thinkpad Tablet General] dieselz:
Did you solve the issue?
[Thinkpad Tablet General] mohsenator:
unfortunately no body give me that backup yet :(
[Thinkpad Tablet General] QuietLife:
Are you still need this backup?
[Sony Xperia E3] redevpramod:
Were you able to do it ?
[Remix OS for PC] Q8-V08:
Anyone else notice the nvidia nouveau gpu driver reports back as opengl es 2.0 where as the Intel one reports back as opengl es 3.0 it's my understanding 3.2 will be the last version before vulkan.
[Remix OS for PC] or29544:
Pfff...my GTX 960 is not even detected in the current beta.

Oh well