yashsingh1/xdaforums huggingface dataset:
[Moto G General] hacorn96:
Hey, a noob here. A couple of questions.

1. You mention that we need to push the stock firmware. Can't I just flash the stock firmware through custom recovery like any other custom rom? If I wish to install CM, then also no flashing?

2. About not working sim or wifi... Am I supposed to extract the firmware zip file, go CMD and type those commands?

3. After the method is complete and say I have installed GPe. Will I be able to get a stock Lollipop OTA with all general things working? (Just to be clear)
[Moto G General] :
Don't give false hope, It won't work with lollipop bootloader (yet)!

We need to wait for mbm-ci 5.0 from Motorola.

Does work also in XP. You need to install adbdriver as mentioned in OP.

Sure, read OP better! Format /data and media first if you can't mound /data.

1. You can flash CyanogenMod or any other flashable zip...

2. Yeahh but make sure you have the fastboot.exe and adb files inside that folder also...

3. Yeah as long as your GPe rom isn´t touched or modified, everything should be okay. But remember. NEVER UPGRADE FROM 4.4.2, ONLY FLASH 4.4.4+ ROM's
[Moto G General] hacorn96:
Hey, so I have done pushing the GPe zip (the untouched version) file. I installed it. But, I am facing the encryption problem. I also did wipe "/data and /data/media" just before mounting and before flashing.

For the record, I have an XT1033 which I had converted to a GPe 4.4.2 (later 4.4.4 updated around june) which stuck on bootloop when I installed the 5.0.1 OTA yesterday through the phone. (I didn't sideload it, I through system updates in about phone).

Should I change the zip file to optimized? OR Should I install any other ROM or Firmware? Please Help.
[Moto G General] Awesomeslayerg:
Im not giving false hope. I did flash my phone to 5.0.1 and hard brocked and used this method. It still worked. Says the person who never hard bricked thier device.
[Moto G General] :
Flash this recovery and wipe again :D
[Moto G General] hacorn96:
SIM is not working and was showing this "EMERGENCY CALLS ONLY".

So I downloaded the following .xml.zip file:

GPE_4.4.4_XT1032_KTU84P.M003_CFC.xml.zip

I flashed modem and fsg files. SIM still not working. This message is no longer there: EMERGENCY CALLS ONLY

Before flashing modem and fsg files, when sim was not working I had a GPe OTA update ready in my notifications.

After flashing those files, (sim still not working) the update is not there.
[Moto G General] hacorn96:
Managed to have Lollipop working along with the SIM. Thanks a lot for helping.
[Moto G General] renatoakamur:
Did you try to disable driver signature enforcement before you install the drivers? (this happens on win8+ too)

http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/
[Moto G General] emarld2011:
Problem flashing Lollipop OTA

Thanks for this thread. You've restored some hope in being able to get Lollipop on the device.

Question is, trying to sideload GPE Lollipop OTA ends up in 'install aborted' using stock recovery, or even the recovery which GPE edition uses.

What could be it?
[Moto G General] :
Don't sideload just follow my working method.
[Moto G General] emarld2011:
Dude it's not got Flashable elements. It's a complete zip. It's an OTA!

Other method: Tired flashing by moving it to the internal memory. Didn't work.
[Moto G General] :
Okay sorry misread that, what ROM are you trying to flash?
[Moto G General] emarld2011:
Hmm... No probs!

I'm trying to flash LRX21Z.M002, which is the OTA zip for Brazilian GPE 4.4.4.

Using 'adb sideload' or 'install zip from sd card' ends up in the same 'installation aborted' error. No reason or error code is displayed.
[Moto G General] craa4zye:
Does it work just to change that awful GPE bootloader? I converted my x1033 to gpe to install 5.0.1 and it works fine, but the sound volume is awful so I decided to install 4.4.4 stock again and the screen flickering is just annoying.
[Moto G General] :
Installed that too. I don't know the sideload solution, but this is what I did:

Followed tutorial

Flashed 4.4.4 GPe stock recovery

Booted up 4.4.4 GPe

Downloaded and installed OTA official way
[Moto G General] emarld2011:
And yes,

I think you could answer this one. Would you?
[Moto G General] :
Only possible with JTAG [emoji14] but no it's not possible with software.
[Moto G General] vikaseth:
I have not flashable zip of stock 4.4.4 but i have files can u help me how I convert these files in flashable zip???? or I would download whole ROM from your provided link...because I have a limited data connection..

(I flash these files when my device is on KitKat....to lock bootloader ,and its work)
[Moto G General] :
Sorry you have to search Google, there are lots of tutorials.
[Moto G General] vikaseth:
Thanks ,,,i get it...
[Moto G General] nikoosp:
please help

hi guys

i need your help cause i dont know if i should read this post for my prob or write here for this

i had unlocked bootloader and rooted my phone (MOTO G 1ST GEN)2 months ago cause i wanted to activate cast screen by wifi and i did it !

3-4 days ago it came up to my phone a notification for update my phone to android 5.0.2 and i was so happy!

so i procced to it but my phone always crashed when the phone tried to install the update so i asked motorola chat support why my phone crashes and they said to me because you have rooted your phone so i unrooted my phone and i went again through the update!my phone this time didnt crash but before the install of update finished(the bar that loads) my phone turned off and turned on by itself you know like reboot but it didnt turned on fine ...the motorola logo didnt load and a android logo came up with a red ''!'' and a message ''no command''...i believe that my phone is empty ....has no OS and i dont know what to do...can i fix it/repair it by myself or i should go to a technician to fix that ..please guys help me i dont have money to waste..

PS: can i lock bootloader and unroot my phone so to be like it was first and dont have again problems
[Moto G General] dorwoo:
Try what the op said.
[Moto G General] mahfuz6070:
when will the help for the hard bricked devices arrive...and bro by the way my moto g xt1033 is semi bricked....
[Moto G General] st3f199:
Not sure how bricked my phone is... if that makes sense :o Tried to flash the lollipop 5.1 update, and now it's stuck at the bootloader. Any option gives a Google and padlock symbol. Can't enter recovery, and fastboot can't see the device attached by USB cable... How hopeless is that?
[Moto G General] Mangalokas:
im having troubles whit this procedement, so im trying to copy a zip file and then flash it via twrp, and when i try to copy the file into my device my computer doesnt allow because it says , cannot copy media file or something like that, pls im desperate.
[Moto G General] olegfusion:
may somebody dump bootloader and gpt files from xt1039 cid7 using dd which is on 4.4.x bootloader?

I have problems with lollipop bootloader....
[Moto G General] Fithboy:
Worked for me, thanks!
[Moto G General] killerBRs:
This fsg_gio Recover system IMEI? Thanks...
[Moto G General] Davyz:
:svetius:

Thanks for your great work.

I understand you left whatsapp + ;)

Regards
[Moto G General] Harshalsingh42:
I did everything mentioned above and in the command window is said okay in every step. But when I bootup my device is still stuck on the boot IMG page
[JASJAR, XDA Exec, MDA Pro General] kcfong2:
In the "non-official" imate JasJar ROM releases, there is an option under Phone Settings->Caller ID to show your caller ID to "Only My Contacts". I "downgraded" to the official Jasjar release, and now I only have two options: "No One" and "Everyone".

Anyone know how to get the third option "Only My Contacts" back (without having to flash an entirely different rom?).

Thanks!
[JASJAR, XDA Exec, MDA Pro General] r3bel:
it prolly requires the version of pocket outlook in wm6. so no luck. just don't downgrade :¬)
[JASJAR, XDA Exec, MDA Pro General] WizardGuy:
My friend has a DASH running WM5 and he has that feature. I wonder if it's a reg tweak that can enable it. I would love to have this on my official TM ROM.
[JASJAR, XDA Exec, MDA Pro General] Harry Tuttle:
caller id question

is there any app or reg hack that would let you see the operator from another mobile phone, ie a call comes in from your friend that has Cingular and it shows up as "your Friends #" and the operator from which he is using?
[Sprint Samsung Galaxy Note II] groston:
All,

I have a voicemail on my phone that I would like to archive. My phone is rooted and is running Android 4.1.2, build MA7. Voicemail is the standard Sprint app, version T.6.0.1.6.

Ideally, I would like to find the file on the phoen and transfer it. Any suggestions?

Thanks.
[Sprint Samsung Galaxy Note II] lawdawg45238:
Ah the beauty of the multi screen. .. hold down the back button until the multi screen ago drawer appears. . On the left side of your screen. .. tap the drawer to open it. . Tap and drag the voice mail app on to the main screen. . Then tap and drag the voice recorder app on to the bottom of the screen. . Starr the recorder.. the play the voice mail app.

---------- Post added at 01:16 AM ---------- Previous post was at 01:15 AM ----------

Other option is to open the voice mail. . Tell it to share. .. upload it to your Google drive. . Then convert it with any number of free conversion programs you can find online.
[Sprint Samsung Galaxy Note II] groston:
Should have been able to figure this out on my own. :mad: Worked like a charm - thanks.
[General Questions and Answers] GeekyAkash:
Hello guys,

I want to buy a new android phone but i m confused which is suitable for me

I want to use phone for:

-Gaming little bit when i m bored.

-General social networking, whatsapp etc...

-for shoot pics. And video HD

And my budget is 400-500$

And as well as i m looking for good specifications

Reply suggestions thanks.....
[Galaxy S II Q&A, Help & Troubleshooting] maq_:
Hello everyone,

I have a Samsung Galaxy S II (I9100) with Cyanogenmod 11 (Snapshot M12) installed. Recently I dropped my phone and the screen was completely shattered. The display does not work, neither does the touch. However, the phone works fine as I can turn it on and connect it via USB to my computer and access the data on my internal memory. Although USB debugging is enabled on my phone, I am unable to do anything because the computer isn't authorised i.e. I cannot press "OK" on the authentication prompt that I would have otherwise normally seen on the screen (screenshot attached). Is there any way to bypass this prompt or a workaround for it? I basically need to get a Nandroid backup of my phone and then factory reset it.

P.S.: I tried to access my phone via a program called "Android Control" but apparently it is practically useless without the debugging privileges.

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] maq_:
Solved!

This guide assumes that USB debugging was enabled on your device before you broke it. You can enable USB debugging via recovery using:

adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot

After digging through various threads I finally managed to bypass the secure USB prompt on my Galaxy SII with a shattered screen.

For this method to work you need another device running Android 4.4.2 or above with USB debugging enabled and the same computer authorised from that device i.e. connect that device to your computer and press "OK" on the authorisation prompt that appears on screen for secure USB debugging. Let us call this device the "authorised device".

"adb_keys" is the file we need from the authorised device which is located in /data/misc/adb/

Normally you must be rooted to take the adb_keys file from the device using "Root explorer" or "ES File Explorer" but I will assume that the authorised device is unrooted. You don't need to root it. However, if your authorised device is rooted then simply copy the adb_keys file on your computer and jump directly to Step 5.

Steps:

Connect the authorised device to your computer using USB (debugging enabled) and open a command prompt with administrator privileges.

To get the "adb_keys" file, use this command:

adb pull /data/misc/adb/adb_keys <destination path>/adb_keys

For example:

adb pull /data/misc/adb/adb_keys c:/adb_keys

The above command will save the adb_keys file to the root of your C: drive. You can change the destination folder to your liking. Now the job of the authorised device is done. You can disconnect it and disable USB debugging.

Once you get a copy of adb_keys, reboot the phone with the broken screen into recovery.

Now connect the broken phone to the computer using USB.

We need to copy the adb_keys file to the broken device. Use the command below:

adb push <file location> /data/misc/adb

For example:

adb push c:/adb_keys /data/misc/adb

After the file is copied, reboot your device using "adb reboot" and voila! You can now use adb shell.

Special thanks to torankusu for this post which helped me compile this guide.

Check out this thread by k.janku1 if you want to have full control over your device even with a broken screen (requires Java Runtime Environment and Visual C++ redistributable). This tool lets you use your device through your Windows PC even if your touchscreen doesn't work or you can't see anything.

P.S.: My broken device was a Samsung Galaxy SII running Cyanogenmod 11 (M12) and my authorised device was an unrooted Moto G running stock ROM.
[Galaxy S II Q&A, Help & Troubleshooting] theonlyanil:
Thanks man. :)
[Galaxy S II Q&A, Help & Troubleshooting] speedin:
I'm (noob) trying to follow the guide which exactly fits my situation.

Status : Broken SGS7 screen with USB debugging enabled but cannot accept the computer

SGS4 backup phone where i extracted the adb_key

both are not rooted and running stock OS

Unfortunately i get stuck between step 6/7... When i reboot to recovery mode the windows does not recognize neither of the phones when conneted to USB. Therefore i cannot run the ADB command and copy the key on my broken phone (SGS7).

i can choose the "aply update From ADB" and then the computer recognizes the phone and i can find it in ADB devices "sideload" but here i cannot use the command "adb push....."

Ii've tried updating drivers googled alot, but without luck...

what am i missing?

input very appreciated
[Galaxy S II Q&A, Help & Troubleshooting] eastdragon42:
I too am a noob who was trying to follow this guide, which also exactly fit my situation. My status was a broken Sony Xperia screen with USB debugging enabled, but I was unable to click on the "accept" button whenever I hooked my phone up to my PC. I extracted a working adb_key from my new Asus ZooXS phone; neither phone is rooted, and both are running stock Android OS.

Unfortunately, I got stuck right between Steps 7 & 8; Windows did not allow me to use the ADB Push command to copy the key onto my broken Sony Xperia. I could Pull the key from my Asus using ADB just fine, but not the other way around.

I did eventually find an alternative solution: I used an OTG device & hooked up a mouse to my Sony Xperia so that I could get past the broken screen issues & navigate to Settings > Bluetooth. I then borrowed a Bluetooth Mouse & "discovered" it with my broken Sony Xperia. I could then unplug the OTG device & re-connect my phone to my PC via USB, & then click on the screen using the Bluetooth Mouse to "accept" my computer as always being authorized to perform USB debugging. Afterwards, I was able to use Helium backup to pull off most of my important data from my phone.

Hope this helps others who are running into the same problem....
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
i don't get it - authorizing adb via adb
[Galaxy S II Q&A, Help & Troubleshooting] Silly22:
The steps maq_ posted helped me rescue my data from my broken OP3. Combined with the information from here: https://stackoverflow.com/questions...b-rsa-key-with-broken-touch-screen-on-android which indicates the files between the computer (running adb) and the key file you copy to /data/misc/adb should "match" with each other. Indeed, you might need to have been bootloader unlocked (with a custom recovery) to use adb push to copy the adb_keys file to your broken phone. For me, since my broken phone was rooted I used a terminal emulator with the 'su' command (after successfully getting the file onto my broken phone) to copy the file over to /data/misc/adb.

Some tips that might help newbs before following maq_'s steps: First, re-install another copy of adb (remember the path you installed to on your PC). Second, erase contents of c:\Users\$name\.android\ (which contains existing keys generated by adb). Third, run adb kill-server to make sure other instances of adb don't confuse things.
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
Thanks for clarifying TWRP and UNLOCKED bootloader is required.

TWRP is not available for some devices. Luckily i found a ported recovery.img for my broken tablet. Unfortunately adb shows device as offline in TWRP, adb does not work in recovery.

I finally managed installing adbkey.pub via script. does not work on dm-verity, KNOX enabled or locked devices!

1. install ODIN (Samsung) or SPFLASH tool (MTK)

2. get the firmware for your device (fw.updato.com)

3. unpack system.img

4. add your own shell script (backdoor) to /system/etc/init.d, /system/etc/install-recovery.sh or whatever

5. repack your custom system.img

6. flash system.img

7. copy RSA Key to /sdcard via MTP

My (backdoor) shell script was a watchdog looking for another shell script on /sdcard. The second shell script was copying adbkey.pub from /sdcard to /data partition. This worked without root because init scripts run with root permissions on boot.

With this method i was able to backup userdata from my broken tablet via adb. TWRP has adb backup option too, in case touch screen is broken.

I will explain in detail on request.

edit: for experts only: instead of flashing whole system.img, you can do slight modification using Tarek Galal inception Utility via ODIN, for example "Place your adb keys, configure USB debugging"

edit2: most recent version of that backdoor script can be found here

https://xdaforums.com/showthread.php?t=4111923
[Galaxy S II Q&A, Help & Troubleshooting] Dany_007:
my touch is broken and i cant select usb authorization as ok... device is not rooted...

device name is sony z3...

i have another device with 4.4 and with that device i made a backup of drm keys... now what should i do?

sorry if english is bad... helpwill be really appriciated....
[Galaxy S II Q&A, Help & Troubleshooting] gunner461:
hello, i have te same problem with my huawei p smart. does this work for huawei to?
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
no, but you can connect OTG keyboard and unlock screen. that should unlock MTP you can at least transfer pictures. even Monitor via MHL/HDMI is possible for some devices

https://dtmedia.tech/list-of-mhl-compatible-phones
[Galaxy S II Q&A, Help & Troubleshooting] locvass:
Hi

I have the same connection impact when I use adb command too. Is there any solution for this situation?

Thank you.
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
ThanK You Senior for posting the solution.

Can you please help me in this.

I am using mediatek device

Didn't find /system/etc/init.d

Didn't find /system/etc/install-recovery.sh

But found "" install-recovery.sh "" inside /system/bin folder

Now do i have to only paste the your given rsa_copy.sh scrip in this file?

and paste the pub_keys from authorize device to /sdcard/
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
That method will most likely fail because dm-verity deny booting if any modifications detected. You can however patch boot.img with Magisk (to disable dm-verity). What android version/mediatek device you have?

Yes you can replace install-recovery.sh or add line

/system/bin/sh /path/to/rsa_copy
/system/bin/sh /path/to/99userinit_daemon

But I do not recommend this method any longer, modifications in /system should be avoided. Instead you could simply disable RSA authorization and enable usb-debugging in default.prop

https://xdaforums.com/showthread.php?t=1867446

I recommend AIK it is capable of re-signing AVBv1-signed boot.img
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
I have android 7

mt6753

init.d is n't here

placing code inside install-recovery.sh didn't work because it runs with root privileges

now i am trying to cp /system/adbkey.pub /data/misc/adb/adb_keys

and tring to modify boot.img
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
Senior Help. (I am extra noob)

I also noticed data folder inside boot.img can I directly put " adb" folder here?
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
no. data directory is just mount point. no longer required to place adb_keys, just edit default.prop with Notepad++
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
I attempted this trick with working phone's boot.img (working img) but even after repacking boot.img without edits phone stuck/hangs on boot (without animation)

Recommend me a good tool for unpacking and repacking boot.img with guide.

(I already tried with android kitchen on Linux (This one's boot.img make phone report after boot animation) and unpack/repack Tool on windows ( http://www.mediafire.com/file/nvo2popw26k4mit/IMG_Extractor_2.0.rar/file) and this one's boot.img doesn't boot phone to boot animation and hangs on initial logo)

I tried this on other working phone
[Galaxy S II Q&A, Help & Troubleshooting] alecxs:
@osm0sis may have a look into boot.img can you upload please?
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
I attempted this trick with working phone's boot.img (working img) but even after repacking boot.img without edits phone stuck/hangs on boot (without animation)

Recommend me a good tool for unpacking and repacking boot.img with guide.

(I already tried with android kitchen on Linux (This one's boot.img make phone report after boot animation) and unpack/repack Tool on windows ( http://www.mediafire.com/file/nvo2popw26k4mit/IMG_Extractor_2.0.rar/file) and this one's boot.img doesn't boot phone to boot animation and hangs on initial logo)

Yes please,

LT700 is for testing purpose workig phone.

Both phones are almost from the same manufacturer (Note: but different models) Even unmodified repacked file does make phone boot success.

Uploading both stock and magisk patched working images of both phone
[Galaxy S II Q&A, Help & Troubleshooting] osm0sis:
Easy on old devices like these.

Just set these in default.prop:

ro.adb.secure=0

ro.secure=0

ro.debuggable=1
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
the problem is even without modifying boot.img after unpacking/repacking it using Android kitchen makes phone reboot continuously:

Can you please recommend me tools for editing boot.img

magisk_patched_boot.img works fine but problem is I cannot edit it any further

P.S. I don't know if I am missing some any steps

using(https://xdaforums.com/t/kitchen-android-kitchen-v0-224-linux-mac-windows.633246/) version 0.224 on Linux

I'm creating WORKING_XXXX folder, placing boot.img inside, then using 12: unpack/repack boot option (w: to unpack boot.img) (b: repack image) imediately without modifying or even opening the folder
[Galaxy S II Q&A, Help & Troubleshooting] osm0sis:
Well you'd have to investigate why AIK didn't work. Does repackimg --original work?

You can also use magiskboot to edit the ramdisk.
[Galaxy S II Q&A, Help & Troubleshooting] ehteshamxa:
yup without modifying it

it unpacks two thing : one zimage file and one boot.img-diskram folder

While the automated modified file by magisk for rooting works fine: So the problem is with me being unable to correctly unpack/repack the img
[Galaxy S II Q&A, Help & Troubleshooting] osm0sis:
That doesn't sound like AIK at all.

This is AIK: https://xdaforums.com/t/tool-androi...kernel-ramdisk-win-android-linux-mac.2073775/

And I recommend the Linux or mobile versions over the Windows to be extra safe, but all should work.