Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,052 Members 45,517 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Setup rom request

Tip us?
 
morbidpete
Old
(Last edited by morbidpete; 16th June 2014 at 12:28 AM.) Reason: more thoughts
#1  
morbidpete's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: May 2009
Location: Portsmouth
Prompt [Q] Setup rom request

Morning all,
So here is the deal. Buddy of mine broke his phone last night, I gave him one of my spares and he is keeping that. I took his broken S4.

The screen si dead and the digitizer does not work
Had CWM flashed on it but stock rom when I gave him the S4 initially
I tried every possible way to get usb debugging working without the screen. edited the build.prop and default.prop
change the settings.db no luck
using adb in recovery i was able to flash cyanogenmod 10 as i read it had usb debugging enabled by default
well after the flash and booting the device (using an MHL) i still cant access an adb shell. I'm guessing i have to go through the setup process of cy mod before it kicks on maybe.

so i'm stuck here. now what I was hoping, and I know its a long shot. Could someone maybe make a nandroid of a stock rom, any rom that is rooted. but with vnc or other remote software installed and setup so I can flash and access this device.

I was also going to try to find a TV with CEC support as I heard the MHL will pass them through

If I can convince someone to upload a nandroid for me (I'll provide hosting) anyone have any ideas on controlling this thing remotely. I just need to be able to install arliberator, pair it with my cars deck via Bluetooth and i'll be good to go.

-pete

More thoughts. Having usb debugging enabled is clutch. Just realized, it wont be on my wifi so vnc wont work to well. I know droid vnc and do usb using adb. so maybe thats my best bet
iPhone 5 16GB Black&Slate
Otterbox Commuter
Zagg extreme Full body
 
morbidpete
Old
#2  
morbidpete's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: May 2009
Location: Portsmouth
making some progress

Copied the wifi settings from wpa+supplicant.conf from my brothers phone
so the S4 witht he broken screen now connects to my wifi
I installed the droid vnc apk using recovery
also installed it on another phone, setup the way I want
copied the settings folder from the /data/data frolder and copied it to the S4
chmod the folder and files to 777 and set 776 on "androidvncserver" file not sure about that step
cant get vnc to connect. but making progress
iPhone 5 16GB Black&Slate
Otterbox Commuter
Zagg extreme Full body
 
morbidpete
Old
#3  
morbidpete's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: May 2009
Location: Portsmouth
made a bit more progress
downloaded fastdroid vnc
pushed it to /data/ in recovery using adb
set 777 as i didt feel like dealing with permissions
made a super simple script to load it and placed in /data/local called userinit.sh or something like that
so it started and I was able to make a vnc connection, but it was all black and didnt accept mouse or key inputs.
i assume this is because it is no longer maintained and is many years aold
tried to do the same with droid vnc server and starting the androidvncserver file.
unfortunatly it never accepted a connection and i'm not even sure if the file starts

need more work

anyone willing to save me all the trouble and get me a nandroid with usb debugging enabled? pretty please!
iPhone 5 16GB Black&Slate
Otterbox Commuter
Zagg extreme Full body
 
morbidpete
Old
#4  
morbidpete's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 125
Join Date: May 2009
Location: Portsmouth
Final update. Working

so I ended up placing androidvncserver in /data/
chmod 777 /data/androidvncserver
placed my wpa_supplicant.conf in /data/misc/wifi
chown system.wifi wpa_supplicant.conf
made a userinit.sh and pushed to /data/local/userinit.sh
chmod 777 /data/local/userinit.sh

reboot
connected to wifi, accepted the vnc connection and mouse movement. still a black screen but with the MHL and the mouse. I was able to get ARliberator installed and connected to my appradio2 and configured everything there

done
iPhone 5 16GB Black&Slate
Otterbox Commuter
Zagg extreme Full body
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes