Custom rom without gui - Nexus 4 Q&A, Help & Troubleshooting

Hi,
I recently broke the screen. Phone's display is working while the touch panel isnt. I was able to recover all the data via adb pull.
I want to use this device for computational purposes. Any suggestions for a ROM which is prerooted ?(i dont need a gui either).
Remember, if su via adb pops put a dialog box on the screen, i wont be able to accept it since touch isnt working.
Current rom : Stock 4.4.4 (rooted)
Recovery : twrp
Bootloader : unlocked
Much thanks.

You can use that phone from your computer like normal
http://forum.xda-developers.com/showthread.php?t=2786395
I had nexus 4 in the same condition. Bad thing that no one posted this info in my thread (not on this site) So i tried to change digitizer and broke LCD too

Related

[Q] Rooting Nexus 10 in a blind mode

Hello guys, I need your assistance.
I have broken the screen of my Nexus 10 and decided to use it as a laptop with external display connected via HDMI and bluetooth mouse.
Everything is ok except the fact that Nexus 10 is laggy via HDMI. So I`m planning to reduce resolution of Nexus 10 using toggle_hdmi.sh script to offload the SOC and ease the pain. Unfortunately script requires device to be rooted. There are a lot of guides how to root Nexus 10 but all of them assume that user can interact with tablet via screen, which is broken in my case. The most scariest part of the rooting process is initial setup after bootloader unlocked when tablet requires wireless connection to be established.
So guys could you assist and help me by answering the questions:
1. After unlocking bootloader Nexus 10 will be starting as if it were the first time it boots up. Will HDMI output work during initial setup ? This is most important question. Please guys, let me know if you have tried.
2. Is it possible to install SuperSU remotely (from PC) ? Obviously I can not do much work during fastboot mode. If not, can anybody provide the exact instructions how to install it in my case (like wait about 15 seconds, then press volume down button twice, then .... and so on) ?
Currently I`m on:
Android: 4.4.2
Kernel: 3.4.39-g5b5c8df [email protected]
Build: KOT49H
If your touch doesn't work you won't be able to unlock bootloader as you need to confirm from tablet, I do not know of a method to root your n10 without at least touching the screen a couple of times.
Maybe there is some utility or root kit that allows for this but as I don't use them I can't say for sure, you may just consider fixing the screen
Best of luck!
Sent from my Nexus 7 using XDA Premium 4 mobile app
demkantor said:
If your touch doesn't work you won't be able to unlock bootloader as you need to confirm from tablet, I do not know of a method to root your n10 without at least touching the screen a couple of times.
Maybe there is some utility or root kit that allows for this but as I don't use them I can't say for sure, you may just consider fixing the screen
Best of luck!
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I`d like to clarify the situation:
+ The touch screen (sensitive surface) is fully functional. I can perform touches, gestures, sweep and so on. Display matrix is broken but still I can see color lines which gives me overall idea about what is going on during the startup phase when HDMI mirroring is not activated. BTW, Nexus rooting toolkit does not require screen touch during bootloader unlock. One have to press 'volume up' and power button to confirm bootloader unlock.
+ Unlocking the bootloader is not the hardest task. I`m afraid I could stuck in bootlooping or initial tablet setup when tablet requires user name, county and so on.
Will tablet mirror the screen via HDMI during initial setup after bootloader unlocked? Can anybody check this out ?
If digitizer is working than you should be good, most often I don't recommend a toolkit but maybe this situation calls for it, up to you
But I would do these things, Google search
Android factory images
And download and extract the latest for manta
Then download the latest twrp.img for manta as well
Now to bootloader
fastboot oem unlock
I believe there to be a conformation on the screen in the lower middle but if you say not than so be it
This will wipe partitions so now use fastboot to flash the factory images (and flash bootloader if you believe you have an older one)
fastboot flash system system.img
fastboot flash data userdata.img
fastboot flash cache cache.img
now flash twrp
fastboot flash recovery nameofrecovery.img
And now you can boot into twrp and use adb sideload to flash su.zip or even better you could have skipped flashing the system,cache etc from fastboot if you just flash a custom ROM (maybe slimkat and gapps)
You will need to guess your navigation in twrp to get to advanced and adb sideload, but once pressed you do the rest in adb
Now it may be worth a shot to use droid explorer or android commander to screen cast your recovery, haven't tried on a n10 but this may work easily here
Once in to either a custom ROM or stock rooted you can skip all setup for now (find a YouTube video on setting up android on a n10 to guess about where to press next)
Once in os, you will need to get into settings and turn on developer options to turn on adb, then there will probably be a confirmation on tablet for this
With adb fully functioning you will have many options for screen cast and could just push the app you need with adb so you wouldn't need to attempt to setup market without a screen
If this isn't all too clear just reask, writing quickly as I just have a short break between classes now
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app

[Q] Screen cracked and unresponsive but display still visible. Need help getting data

Hi guys,
I recently dropped my Nexus 4 on the floor today and the screen cracked. As a result, the screen is completely unresponsive now but I am able to see its display when I press the power button. Could you guys help me/point me in the right direction regarding how to get the data I have on the phone (music, photos etc.) please.
My Nexus is unrooted/stock version. I tried connected it to my laptop via USB, but all it does it charge. I think I might have the USB debugging option enabled (as I remember enabling it before sometime ago). I'm running the latest firmware (5.0.1 I believe). Also the bootloader is locked.
Any help would be much appreciated.
Thanks
EDIT: I should note that I have a Password (PIN) for the lock screen.
I installed android sdk and tried to enter commands, but it didn't work. When I typed in 'adb devices', no serial came up (I checked sdk manager for the google usb driver, and it says it's installed). Also, when I tried typing in anything i.e. 'adb shell' it said error no devices found. I was attempting to follow a guide to set up adb for any other steps required to get my data from the internal storage. Bear in mind, I don't have much knowledge on these tools, all I'm doing is following any guides. Please can you help me how to get my photos or the contents of the sdcard.
The pin is not letting you boot into the os and that's why adb isn't working. Can you get into the bootloader? If so boot into twrp then try adb
fastboot boot twrp.img. Where twrp.img is the full file name.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
The pin is not letting you boot into the os and that's why adb isn't working. Can you get into the bootloader? If so boot into twrp then try adb
fastboot boot twrp.img. Where twrp.img is the full file name.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for responding. I can enter the bootloader (if that's the Volume Down + power button menu). Quick google search shows that twrp is for customer recovery. Bear in mind that I haven't unlocked the bootloader or installed anything like recoveries before (it is basically a stock N4). Would I need to install it? If so, please could you direct me to a tutorial or guide me step-by-step on what to do as I don't have too many ideas on what to do to get the data from the phone.
Just to clarify: My N4 is completely stock, Bootloader is locked (says 'LOCK STATE - locked' in bootloader menu) and it is unrooted. I remember having the USB debugging option enabled the last time I was in the dev menu on the phone.
oracle93 said:
Thanks for responding. I can enter the bootloader (if that's the Volume Down + power button menu). Quick google search shows that twrp is for customer recovery. Bear in mind that I haven't unlocked the bootloader or installed anything like recoveries before (it is basically a stock N4). Would I need to install it? If so, please could you direct me to a tutorial or guide me step-by-step on what to do as I don't have too many ideas on what to do to get the data from the phone.
Just to clarify: My N4 is completely stock, Bootloader is locked (says 'LOCK STATE - locked' in bootloader menu) and it is unrooted. I remember having the USB debugging option enabled the last time I was in the dev menu on the phone.
Click to expand...
Click to collapse
We'll you've got a problem. You'll have to unlock the bootloader to run fastboot commands and that'll completely wipe your device. And with the pin and an unresponsive screen you can't get into the os. There really isn't anything you're going to be able to do to save your files. Sorry about that.
Edit, just one more thought, are you still on 4.4.4? If so there may be a hope. Shoot, you'll need to boot into the os though. So my idea isn't going to work.
jd1639 said:
We'll you've got a problem. You'll have to unlock the bootloader to run fastboot commands and that'll completely wipe your device. And with the pin and an unresponsive screen you can't get into the os. There really isn't anything you're going to be able to do to save your files. Sorry about that.
Edit, just one more thought, are you still on 4.4.4? If so there may be a hope. Shoot, you'll need to boot into the os though. So my idea isn't going to work.
Click to expand...
Click to collapse
Ah that was what I feared ... I'm running the latest firmware (5.0.1). I wouldn't really care about the phone if it weren't for a few images (should have had it backed up!).
Now I need to decide whether or not to change the screen etc. for £35 or just look in the market for a new phone. If I did buy a new screen/digitiser/frame thing, would these be suitable (where I won't need to use heat guns or glue and stuff)?
ebay (dot) co.uk/itm/LCD-Screen-Display-Touch-Digitizer-for-LG-E960-Google-Nexus-4-Frame-Replacement-/331224787829?pt=UK_Replacement_Parts_Tools&hash=item4d1e892b75
OR
ebay (dot) co.uk/itm/For-LG-E960-Google-Nexus-4-LCD-Display-Digitizer-Touch-Screen-Frame-in-Black-/331227949021?pt=UK_Replacement_Parts_Tools&hash=item4d1eb967dd
Also, if I did change it using the above, would dissembling the phone and reassembling it cause my data to be lost?
Thank you for your help
Edit: I managed to save about 80 photos which were probably in the default images folder in the SD card using AndroidLost. I'm guessing the other images which were in other folders i.e. WhatsApp Images etc. aren't recoverable using the site

[Q] I9505 Help Needed ADB

Hi, I have a S4 i9505 with a problem, screen broken and no display at all + usb debugging is disabled.
Phone: Not rooted, original software, usb debugging disabled, no display at all
What I want to achieve: restore all my photos / videos on the phone memory, no sd card
What I have attempted:
installed ADB & fastboot based on instructions from http://forum.xda-developers.com/showthread.php?t=2786395
What I need help with:
- When i try to get into recovery mode, i wasn't sure if i am indeed in there since i can't see anything, but in total there's a vibration when i turn on the phone, and another vibration when i release the power up+power+home after pressing them down for about 5 seconds.
- When in command prompt I type adb devices and there was none, and when i type adb shell it says error: device not found
I have ensured all drivers for my phone are installed (even with PdaNetA4180 & UniversalAdbDriverSetup6 from cynanogen) but the error remains. refer to attached image.
I have done extensive search on the forum but still couldn't find any ways to get usb debugging enabled on my crippled phone.
Any step by step guide would really be helpful! Thanks
Ps. Main problem = device not found in adb , usb debugging disabled, screen no display/cracked
What do you want? To recover files? To my knowledge that is not possible.
You would first need to flash a custom recovery for adb to work in recovery.
Then you would need to allow the connection on your device (which you can't do).
Yes I need to recover photos only. Nothing else.
Please kindly guide the steps on how to flash a custom recovery (w/o control of the phone's display or touch)
Thanks.
Your device is shown connected in windows
Why not use the mtp protocol and copy whatever you want
Hi, in the beginning, my phone is locked with a pattern pin.
I read the tutorials and managed to get away with the pattern pin by resetting my phone to factory settings via recovery mode i guess by watching youtube guide.
I didn't knew the photos and all will get deleted off from it, so there's nothing to transfer over when i got MTP working and able to access files inside the phone.
What do you recommend? Would fixing the screen and then using dr fone recovery works? or is there any other way to solve this without getting the phone display fixed? Thanks.
If the photos are deleted by the factory reset then i am sorry to day but you cannot recover them even if you get the screen fixed
bomby481 said:
Hi, in the beginning, my phone is locked with a pattern pin.
I read the tutorials and managed to get away with the pattern pin by resetting my phone to factory settings via recovery mode i guess by watching youtube guide.
I didn't knew the photos and all will get deleted off from it, so there's nothing to transfer over when i got MTP working and able to access files inside the phone.
What do you recommend? Would fixing the screen and then using dr fone recovery works? or is there any other way to solve this without getting the phone display fixed? Thanks.
Click to expand...
Click to collapse
Your photos are gone and there is no way to get them back.

Damaged recovery, unable to ADB debugging, bootloop

[HELP] [URGENT]
//this is the story, skip if you prefer
so i was updating my cm 12.1 rom to rr 7.1 rom
everything was fine, no real mess just bad flash so i decided to reflash the rom (dunno why i did that actually, its just my tradition). Aaaaand the ROM went flawlessly
next step is install supersu, i checked that the rom is pre-rooted so i think its easier to get supersu via playstore. Installing supersu went flawlessly (again) and i rebooted ma phone.
//then everything starts to f***ed up
my phone bootlooped (not a big deal actually, done with this sh** all the time)
like a casual day, reflash my phone. but i cant go to recovery mode its stuck at logo i think that supersu binary damaged ma recovery.img (again not a big deal but i started to worry) i connect my phone to my pc, summon my adb, and hope the best, but my devices not listed there. then i remembered i forgot to turn on usb debugging on setting oh crap!
so here is my question:
is it possible to turn on usb debugging via pc or something else? if so how.
is it possible to use adb feature without my phone being turned on its usb debugging?
is it possible to repair my recovery <== i mean reflash beside using adb. if so how :crying:
and the last one, beside my phone not listed on adb device list. it wont showed or recognized in my pc (do i need something else beside usb and adb driver?)
any help will be appreciated :good:
this is my only phone so i put my hands on you guys, you're the superhero here
if i dont have any solution, my only way is send this phone to service centre :crying:
some info:
devices : lenovo a6k plus
old rom : cm 12.1 by ED300
new rom: rr nougat v5.8.0 (i dont remember who made this rom, sorry. by the way i found the rom somewhere in xda)
supersu ver: newest per 21 Feb 2k17 (playstore)
my pc: win 8 64x <== dunno if this info useful though
old recovey: twrp (forget the version, but im pretty sure the recovery made by russian developer and it has chicken logo during startup)
battery level when i discovered i cant go to recovery mode: somewhat near 16% <== maybe helpful
if you really care to help me just tell me what do you know, i would appreciate that really, i meant that because this phone is the only way i can contact all of my super important buddy for my business.
Thanks anyway, regards Tom
Well take out the battery and return it hold volum down + power button now you should be able to use fastboot commands go to the folder where you have your adb and fastboot there paste a recovery img file you want to use.Open cmd and type fastboot flash recovery nameofyourimg.img
And now you should be able to use recovery.If not try qfil debricking method that you can find on forum.Best of luck if somthing isnt clear enough feel free to PM me.Also download new recoveries that are now officialy developed
Thanks for replying JovanSijacki
unfortunate enough, i have done that and still dope and nope.
usually i can find my device in windows device manager named android with yellow triangle, but this one is different, my computer wont recognize my phone.
will try debricking method instead, thank you dude :smile:
Thank you for those who care to reply, friend of mine who are expert developer told me how to fix this. AS LONG AS YOU ABLE TO GET INTO FASTBOOT MODE YOU ARE SAFE. Im going to make separate thread to share the tutorial *insert smiley emoji*

Broken Touchscreen, trying to install screen mirror

[Could a mod please move this post to the moto g4 plus section? I accidentally posted it here though I doubt it changes any of the solutions. Thanks anyway]
Hello, my phone recently fell screen down on the floor. The screen itself is fine but the digitizer has stopped working and I can't access my phone. I already ordered a replacement screen/digitizer assembly but I still need access to my phone in the meantime. I thought about using this screen mirroring program https://forum.xda-developers.com/showthread.php?t=2786395 but my phone is stock and non rooted (for once). I can't get my phone to show up in adb devices except in recovery sideload mode (stock recovery). It does show up in fastboot but I'm not trying to root and erase all my data, at least until I have access to my phone.
I've already been at it for two days so I'm pretty frustrated at seeing notifications on my phone and not being able to do anything.
Any help is appreciated

Categories

Resources