I installed "chainfire3d" on my phone which is running on jellybean,
when it self-reboot for installing library for "chainfire" it get stuck in android logo
after searching on net i figured out the way of disabling it (but works only one adb shell)
which is :
Code:
cd/system/lib/
sh cf3d_uninstall.sh
.
but the problems are:
Not able to get into recovery mode! As bootloader is locked ?
.
I already "wiped Data/cache"
using :
Code:
fastboot -w
it did wipe all data and cache but / still stuck in android logo ()
.
Ques are,.. :
1. How to get into recovery mode!
2. How to unlock bootloader!
3. Is it possible to get into adb shell using fastboot ?
4. Is their any command for rebooting into recovery mode via fastboot ????
My device is Iconbit Mercury q4 (Rooted)
SOLVED
.
(Device must be rooted, because we need to run ADB SHELL commands !)
.
Steps:
1. Install ADB on your Windows PC
2. Install ADB Drivers ( your device must be Detected by computer, otherwise you wont able to proceed!! )
----->remove battery and then put in again<----------
----->your device reboot itself (i guess)<--------
------>& then it will stuck in Android logo<------------------
(but the ,main thing is YOU CAN STILL ABLE TO USE ADB )
3. Connect your device with PC & then press (SHIFT+mouseRightClick) or simply open cmd ; )
type these command in command prompt :
4. adb devices (hit enter)
1234 iconbit <---- it looks somthing like that.. // If this command not work for you, try to install ADB drivers first !! //
5. su <--- ( this command gives you superuser permission )
----------> now # will appear <--------------
6. cd system <------- Change Directory to system
7. cd lib <------- Change Directory to lib
8. sh cf3d_uninstall.sh <----- it will delete Chainfire3D
------->your device reboot itself<--------------
9. Go to application Uninstall "Chainfire3D"
0. Cheers \../,
.
.
Command:
Code:
adb devices
su
cd system
cd lib
sh cf3d_uninstall.sh
Open the CMD command line, type CD "to address after you unpack" such as CD C: \ Users \ Root_EMUI + 3.1
Enter the following command: adb devices
adb reboot bootloader
fastboot flash recovery nogui_noflash.img{Pull the data line at this moment Manual according to the power off and then long press on the volume According to the power supply into the black boot rec you no wrong is all black Reconnect the data line at this moment}
:adb push UPDATE-SuperSU-v2.46.zip /su.zip
{ Hit the} adb shell{ enter first and then playing}/sbin/recovery -- update_package = / su. Zip{ if successful successful opportunity to restart automatically to the normal boot To continue to play,If there is no success Is there are some computer phone assistant in the uninstall}
:adb reboot bootloader{This step into white Replace the official 3.1 rec back}
:fastboot flash recovery stock_lp_h6.img
{Pay attention to The full text don't more Spaces at the end of special can be copied to knock}
where is the file to download?
https://mega.co.nz/#fm/2g1jUJJK
Link directs to personal mega folder, this is not the link we are looking for
Okay, I have seen many people using the unofficial TWRP on their device, and that's a little dangerous because it may be malicious, and you might not even know that.
I am not saying it is, but it can be.
Now, back to the topic here,
HOW TO INSTALL TWRP[2] AND GET ROOT ACCESS[3] and moreHere goes..
Before anything, you need to get ADB and FASTBOOT programs on your PC and get your drivers installed so you can communicate with the device through your computer.
To Download ADB and fastboot program, you can download this file (not my upload)
Extract it anywhere you want(and remember that location).
(lets say "C:\workspace\ADB" and I will use this path for this guide).Typically, the driver for ADB will install the first time you connect your device to your computer and:
Internet is available
USB Debugging is enabled on your phone
But the FASTBOOT driver would probably not be available yet. to get fastboot drivers, follow these steps:
Turn on and Unlock your device and connect it to PC via the USB cable.
Open CMD and execute "cd C:\workspace\ADB".(or you can open C:\workspace\ADB in file explorer and type CMD in the address bar to open CMD directly there.
Type "adb devices".
Now, your phone will ask something(permission to allow ADB access on the connected PC)allow it. After you allow it, the CMD will show a list of attached devices and the mode they are attached in, your device should show "device" for now.
If it does not, there is some problem, search on internet or ask for help here
Now type "adb reboot bootloader".
now your Phone will shutdown and open in a different state. It will say Fastboot on the screen.
Now the driver is installing or is already installed, to check, type this:
"adb devices" and it should show a list and your device's mode should change to "fastboot".
That's it for the ADB and FASTBOOT. You have the necessary things to continue.
Continue to next post for TWRP and the post next to it for ROOT ACCESS.
Now, we will talk about how to install TWRP
@DroidThug has been kind enough to get Official support of TWRP for this device.
Head over to this thread to download the official image file of the TWRP Recovery and keep it on your computer, this is the very first step you need to take.
Here is the thread: https://forum.xda-developers.com/leeco-le-1s/development/official-twrp-t3527566
If you are lazy enough to go through the thread, which i suggest you to visit, here is the direct link to the download page: https://dl.twrp.me/x3/
And here is the direct download link of the v3.0.3(latest as of 31st Jan, 2017): https://dl.twrp.me/x3/twrp-3.0.3-0-x3.img
Once you have the recovery image, you need to flash it through fastboot.
If you are following this guide from start, you should already be in fastboot and have CMD open on your PC in adb folder.
Now, a few things you might want to follow strictly if you are unsure how to do it:
Copy the recovery image file to "C:\workspace\ADB" (adb folder).
Rename that file to "twrp.img"
Now you need to execute this command from CMD to flash the file:
"fastboot flash recovery twrp.img" and press enter.
This will take a few seconds and will will be over soon.
Now you need to reboot directly into RECOVERY, because if you will boot to the system first, the Device will replace your newly flashed recovery with the stock recovery and all this will be wasted. But if you reboot to recovery first, it will patch those things up and will stay.
So, to reboot to recovery, you need to use the key combo to get into the recovery,
Press and hold "Volume UP" and "Power" Buttons till the screen goes off(from fastboot mode) and is lit up again and then leave the power key and 2-3 seconds later, leave the Volume key too.
You will enter into recovery mode and it will ask you "if you want to keep the System partition to read only or not?"
I'd recommend keeping it to read only unless you know what you are doing.
There you have it!
You have successfully installed TWRP on your device!
GET ROOT ACCESS
Okay, So you have the RECOVERY installed already
Now go to this page and download the latest "Recovery Flashable ZIP" from there. (Here is the latest one as on 31st Jan, 2017).
You can do this in two ways through Phone(with TWRP already present) and through PC.
Through PhoneAll you need to do is flash it through the recovery and thats it, you will have root access!
Here are the steps to flash ZIPs from Recovery:
Get the zip file you want to flash(the one downloaded above) and place it somewhere in the Phone's internal storage.
Reboot to recovery(Power off and then hold "Vol UP" and "Power" keys till the screen is lit up.).
Tap on "Install".
Navigate to the ZIP file you placed in your phone's internal storage.
Select it and swipe to flash it.
The last step might take a few seconds and will be done then.
After its done, that't it!
Reboot to system and you have ROOT ACCESS!
Through PCOkay, you would still need to reboot to recovery, but you can follow this guide if you don't want to copy the zip file on your phone for whatever reason you may have.
Here are the steps:
Enter recovery.
Select "Advanced->ADB Sideload" and swipe to start sideload.
Now connect your phone to PC.
Now open CMD in ADB folder.
Check if your device is detected by typing "adb devices". It should show a device with sideload state.
Now type "adb sideload " and drag the zip file into the cmd window.
OR
you can copy the zip to the adb folder and rename it to supersu.zip and write "adb sideload supersu.zip" in the CMD.
Now Press enter.
After this, in a few seconds, it will be over and you can reboot to system(it might automatically reboot to system too).
And that's it! There you have it!
You have ROOT ACCESS on your device!
5. Now the driver is installing or is already installed, to check, type this:
"adb devices" and it should show a list and your device's mode should change to "fastboot".
Click to expand...
Click to collapse
If the phone is on fastboot mode, "adb devices" supposed to not give any output. "fastboot devices" will show the device and mode as fastboot.
You will enter into recovery mode and it will ask you "if you want to keep the System partition to read only or not?"
I'd recommend keeping it to read only unless you know what you are doing.
Click to expand...
Click to collapse
My screen is broken (that's only white light and no digitiser). I dont have any other Le 1S to get idea.
1. Are you sure Vol Up + Power will enter into Recovery? Mine is 5.5.014S.
2. I want to make my system partition as writable. Can you tell how to achieve with hardware keys like Vol Up or down & power.
3. After step 2. Can I flash SuperSu from PC without enabling sideload. While on custom recovery , "adb devices" will show mode as recovery. So flashing supersu from here. Not sure if this is correct. On my Moto G falcon. whenever I go into TWRP, adb recovery and MTP works.
Also can you check whats the combination Vol Up+Vol Dn+Power. When it starts I can connect to adb but all partitions are read only and not allowing to make any change to device. Not sure if its due to encryption.
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb devices
List of devices attached
0123456789ABCDEF device
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb shell
[email protected]_HK:/ $ cat /data/misc/adb/adb_keys
/system/bin/sh: cat: /data/misc/adb/adb_keys: Permission denied
1|[email protected]_HK:/ $ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
[email protected]_HK:/ $ su
/system/bin/sh: su: not found
[email protected]_HK:/ $ cd
[email protected]_HK:/data $ pwd
/data
[email protected]_HK:/ $ exit
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb reboot bootloader
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>fastboot devices
0123456789ABCDEF fastboot
**
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb devices
List of devices attached
0123456789ABCDEF device
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb install mirror.apk
[100%] /data/local/tmp/mirror.apk
Error: java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IServiceManager.getService(java.lang.String)' on a null object reference
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb shell am start -n com.android.settings/.wifi.WifiSettings
java.lang.NullPointerException: Attempt to invoke interface method 'android.os.IBinder android.os.IServiceManager.getService(java.lang.String)' on a null object reference
at android.os.ServiceManager.getService(ServiceManager.java:55)
at android.app.ActivityManagerNative$1.create(ActivityManagerNative.java:2494)
at android.app.ActivityManagerNative$1.create(ActivityManagerNative.java:2492)
at android.util.Singleton.get(Singleton.java:34)
at android.app.ActivityManagerNative.getDefault(ActivityManagerNative.java:88)
at com.android.commands.am.Am.onRun(Am.java:295)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:99)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:250)
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb shell dumpsys wifi
adb shell dumpsys wifi^C
C:\Users\Mkn\Downloads\Le1s drivers\minimal_adb_fastboot_1.4.1_portable>adb shell
[email protected]_HK:/ $ ls -ld sdcard
lrwxrwxrwx root root 2017-03-21 11:12 sdcard -> /storage/sdcard0
[email protected]_HK:/ $ cd /storage/sdcard0
/system/bin/sh: cd: /storage/sdcard0: Permission denied
2|[email protected]_HK:/ $ ls -ld
drwxr-xr-x root root 2017-03-21 11:12 .
[email protected]_HK:/ $ ls -ld /storage/sdcard0
d--------- system system 2017-03-21 11:12 sdcard0
[email protected]_HK:/ $
Update:
I some how managed to side load. My Phone got bootlop after installing twrp. Then flashed userdata by following http://forum.le.com/in/index.php?th...op-restart-solution-letv-le1s-x507-x509.1155/ . Now its factory reset as I can see the screenshot from PC.
Still interested in knowing what's that Vol Up+Vol Down + Power.
If any one have le 1s related problem and solution or any one want to try new rom or kernal asap then all of u are welcome in our group on telegram so plz join with us
Requriemt
1. Download telegram from play store
2. Just click below link
https://telegram.me/LeSuperGroup
Thanks all of u
Hello!
It's here!
NOTE: Rookies do not use.
NOTE: By doing this, you agree that your device resetting, getting bricked, or something goes wrong. Is not my fault. I will however, do everything in my power to help you fix it. In this case, a fix should be relatively easy.
NOTE: Only use on ZV9
TO CHECK IF ZV9: Open settings, about phone, software info, the last thing should say software version: LS751ZV9
Now... On to the thing everyone has been waiting for.
A BOOTLOADER UNLOCK!
I'm not going to go through the mumbo-jumbo you all came here for one thing. How? So here it goes:
Download the LG Drivers.
Download: https://www.androidfilehost.com/?fid=24052804347799389
Download aboot.zip from this thread.
IMPORTANT: Extract aboot.zip to reveal aboot.img
Got it? Good.
On your WINDOWS OS: Open a command prompt in that folder. Put your LG Volt 2 into Download mode. (Hold volume up and plug in) GO CMD
navigate to the folder you downloaded, and run ports.bat The com number of the one that says "LGDIAG (etc...)" Longest one, is your com port. Take note!
Or:
Got it? Good!
On your WINDOWS OS: Open a command prompt in that folder. Put your LG Volt 2 into Download mode. (Hold volume up and plug in) GO to Device Manager, and under COM ports, check your devices COM port.
On command prompt, type these commands.
Move aboot.img to that folder.
In your CMD:
Push_File.exe \\.\COM# aboot.img /tmp/aboot.img
[Enter]
Send_Command.exe \\.\COM#
[Enter]
ls /tmp
[Enter]
NOTE: [IT SHOULD SAY FAIL]
ls /tmp
[Enter]
NOE: [YOU SHOULD SEE aboot.img]
mount -uw
[Enter]
mount -o remount,rw /
[Enter]
dd if=/tmp/aboot.img of=/dev/block/mmcblk0p5
[Enter]
LEAVE
[Enter]
Unplug the phone, it should reboot into your normal OS (It might take 5 mins. Let it be.)
Enjoy your bootloader unlock!
Please do not try this unless you have a G1 from the uk, it may work on devices from europe but i'm not sure so do so at your own risk
Thought i'd make this quick guide as I just got a G1 and have been looking through tonnes of guides and trying to hunt down files, this method is a bit of a mix between some of the older methods of getting root. The only reason I had to do it like this is because I was not able to install any apps via the web browser because they wouldn't download.
0. Start with device powered off
1. Copy DREAIMG.NBH from HappyNewYearUK.zip to sd card
2. Hold camera and power to boot into spl and then then flash the nbh
3. Reboot device after flashing
4. Once booted turn device off, remove sim card and reboot
5. At the no sim screen slide keyboard open and type <enter>setprop persist.service.adb.enable 1<enter>
6. Power off, put simcard back in the device and reboot
7. On pc run "adb shell" then enter "am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
8. Once settings has opened connect to wifi then go back to setup and complete setup steps
9. Install androot via adb "adb install androot.apk"
10. Power down device and put signed-kila_uk-ota-116470-prereq.TC5-RC7.7a5a0178.zip on sd card as update.zip
11. Hold home and end call button to boot into recovery
12. Press alt + l then alt + s to install the update
13. Press home+back after flashing and let the device reboot (do not touch it until back on android as it may do multiple flashes after exiting recovery)
14. Power down device and repeat from step 10 to 13 with signed-kila_eu-ota-146733.53218c9e(full update).zip
If you just wanted to get root to be able to install a recovery you can stop here, if you want to get up to the newest stock fw 1.6 follow the rest
15. Power down device and repeat from step 10 to 13 with signed-CRB17-from-TMI-RC9-eu.17667e06(inkrementalni update).zip (may not be necessary i dont remember lmao)
16. Power down device and repeat from step 10 to 13 with signed-kila_eu-CRB43-from-CRB17.1638e1b4.zip
17. Power down device and repeat from step 10 to 13 with signed-kila_eu-CRC1-from-CRB43-FIX2.1c36f92b.zip
18. Power down device and repeat from step 10 to 13 with signed-kila_eu-CRC37-from-CRC1.404fe17f.zip
19. Power down device and repeat from step 10 to 13 with signed-kila_eu-DRC92-from-CRC37.a7b90b4e.zip
20. Once the updates zips have both been installed you can reboot then get root using the Universal androot app
Installing Recovery
1. Copy the flash_image binary from flash_image.zip to sdcard
2. Copy recovery-RA-dream-v1.7.0.img to sdcard as recovery.img
3. From either adb shell or terminal emulator on the device do
su
mount -o remount, rw /system
cat /sdcard/flash_image > /system/bin/flash_image
chmod 777 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
Files are available here https://mega.nz/folder/wWolDQzC#Jb1HiYeyimFtlFUhIBlUqA
Later found this link which also has the files https://code.google.com/archive/p/official-android-firmware/downloads
reserved
reserved~