Jump to content

Problem installing custom rom via ADB shell


Recommended Posts

Guest Iksi
Posted

Hello. This is my first post on this forum.

I have serius problem with installing cm 11 and cm 10.2 custom roms on huaway g300. Ok, i'm blind user, and i can only install roms via ADB and cwm recovery with out sited assistance. I succesfuly flashed latest cwm recovery, connect phone in to recovery mode, but adb shell in recoverry dosn't work. When tipe adb shel, the output is #, and its ok, but when tipe su and press enter i give a message.

"/bin/sh, su not found. i also tryed flashing boot.img included in the rom, but the same problem. Please, any help are aprishiated

. Thanks, and best regards.

Guest rhen
Posted

I think the root is not essential for installing CWM.

Unlocked bootloader should be enough.

 

If I understand Iksi, he already installed CWM but can't get adb root shell.

 

Iksi:

Try run "adb root" command first, than "adb shell"

It should take you to the adb shell as root.

Guest Iksi
Posted

Hi all, i solved my problem with out entering su after adb shell.

But, now i have another 2 problems. 1. wich are properr command in cwm script for flashing from external sd card? For internal are example " flash istallzip /sdcard/update.zip, i tryed installzip /storage sdcard/update.zip, but no luck. 2. I found sited assistance, but when flash gapps for android 4.4.4, i got error status 7, the same situation when add all contents of gapps.zip in rom and made single update.zip, if no change update.zip flashing ok. 4. Finally, i tryad flash cm 10.2, but after flashing update.zip and gapps.zip, when phone turned on, i got a message, com.android.google plus has stopped, ok, and also accesibility service is not installed?

What i can do? Thanks, and best regards

Guest rhen
Posted (edited)

Hi all, i solved my problem with out entering su after adb shell.

But, now i have another 2 problems. 1. wich are properr command in cwm script for flashing from external sd card? For internal are example " flash istallzip /sdcard/update.zip, i tryed installzip /storage sdcard/update.zip, but no luck. 2. I found sited assistance, but when flash gapps for android 4.4.4, i got error status 7, the same situation when add all contents of gapps.zip in rom and made single update.zip, if no change update.zip flashing ok. 4. Finally, i tryad flash cm 10.2, but after flashing update.zip and gapps.zip, when phone turned on, i got a message, com.android.google plus has stopped, ok, and also accesibility service is not installed?

What i can do? Thanks, and best regards

1.

If you want to install a ROM via ADB I don't think the ROM should be on your SD card.

The path to the ROM file should point to a valid file on your computer. Anyway, the internal SD card's path is /storage/sdcard0 and the external is /storage/sdcard1.

(I've never installed any ROM via ADB, I have just done a quick resource in Google.)

 

2.

Do you use a proper version of gapps for the ROMs?

 

For the 4.4.4 (CM11) use this one: https://drive.google.com/uc?id=0Bxi5Y1_K_OXEay1RZ3o0U3FSU0E&export=download

I suggest to install the Play Services update too. You can download it here: https://drive.google.com/uc?id=0Bxi5Y1_K_OXENlg4NndTX3VPTms&export=download

 

For CM10.2 use this version: http://goo.im/gapps/gapps-jb-20130813-signed.zip

 

3.

Accessibility services is in the ROM by default. (At least in CM11, I can't remember 10.2 but it should be there too)

Edited by rhen
Guest Iksi
Posted

Hello. Ok, i installed finally cm 10.2 from external memory card, also proper gapps.zip for 4.3, with talkback included, but again accesibility service are not installed on the rom. I will try cm 11 and post rezults. Thanks and best regards.

Guest Iksi
Posted (edited)

i installed cm 11, but accesibility shortcut dos'nt workon setup scrn. Any kk carbon rom for g300? thanks and best regards. p. s. my sited assistance tell me more that accesibility exist, but talkback system service dosnt installed. Ok, i flashed gapps, with included talkback, and again talkback system service is not installed, after that, i flashd talkback.zip flashable zip archive ith talkback, but again talkback dont installed. Where is the problem. Wy cm roms don't install talkback when android is initializing? thanks again.

Edited by Iksi

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.