How to install cwm/custom recovery from android terminal - Motorola Atrix HD

$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
# reboot recovery
THANKS SKEEVYDUDE FOR THE PROPER COMMAND & EPINTER FOR THE RECOVERY
And anyone else I forgot
Edit: to add the correct android terminal
Command & instructions
Disclaimer: if you **** up its not my fault
This Will work if done properly
Requirements: android
A BRAIN
Terminal emulator
Recovery.img (see epinter/skeevydude posts)
Download recovery of your choice place on root of sdcard
Open terminal and enter this command
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
# reboot recovery
Your done congratulations you now have a recovery
Problems? : triple check your commands I'm NOT a Dev and cannot provide support as this is a fairly basic process for anyone expert or beginning always remember android is Linux and thus terminal has more power than you realize and so does google good luck!
Sent from my MB886 using Tapatalk 2

I would just use fastboot commands, is the same as on windows.
fastboot devices
fastboot flash recovery recovery.img

No computer guess I'll have to find out
Sent from my MB886 using Tapatalk 2

Franzferdinan51 said:
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
# reboot recovery
Will this command work to install custom recovery from Android terminal
Sent from my MB886 using Tapatalk 2
Click to expand...
Click to collapse
no
use
Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
32 is the recovery partition
then yes
also, Q & A forum

Once again thanks skeevy for saving the day
Sent from my MB886 using Tapatalk 2

BTW is successful thanks to your zip skeevy I took then recovery. IMG used the adb command quick painless can't believe I forgot I could do that
Sent from my MB886 using Tapatalk 2

Franzferdinan51 said:
BTW is successful thanks to your zip skeevy I took then recovery. IMG used the adb command quick painless can't believe I forgot I could do that
Sent from my MB886 using Tapatalk 2
Click to expand...
Click to collapse
Hi, can you please explain the steps you followed to install recovery. Do we put the recovery image file in SD card and use any terminal emulator app to key in the codes? TIA

I placed the recovery. I'm on root of sdcard used the command that skeevy told me NOT the one from my Op using basic terminal emulator from play store was so simple I could've smacked my selfnfor forgetting that Android is Linux and can do from just terminal
Sent from my VTAB1008 using Tapatalk 2

Franzferdinan51 said:
I placed the recovery. I'm on root of sdcard used the command that skeevy told me NOT the one from my Op using basic terminal emulator from play store was so simple I could've smacked my selfnfor forgetting that Android is Linux and can do from just terminal
Sent from my VTAB1008 using Tapatalk 2
Click to expand...
Click to collapse
Maybe you should edit the OP with the correct command..
It is a nifty way of doing it

Hmm yeah given me a second
Sent from my MB886 using Tapatalk 2

Franzferdinan51 said:
Hmm yeah given me a second
Sent from my MB886 using Tapatalk 2
Click to expand...
Click to collapse
http://batakang.com/MB886.php
That list has been invaluable to me. I've based all my recovery/bootloader zips off of that information. If you're into system modding and tweaking, you'll love it.
//Glad ya got it working

Good to know thanks for the info.
Sent from my MB886 using xda premium

Thanks . I flashed recovery by copy-pasting your command in terminal emulator. Works great. Already did a backup for flashing ROMs :thumbup:

skeevydude said:
http://batakang.com/MB886.php
That list has been invaluable to me. I've based all my recovery/bootloader zips off of that information. If you're into system modding and tweaking, you'll love it.
//Glad ya got it working
Click to expand...
Click to collapse
Thanks that list u gave me is cool yeah I always like doing things the mobile way I use my phone basically as my computer so I like to learn these things plus I love tweaking and tinkering so it ends up as things like this kind of funny if I used my original command I'd have flashed a recovery to modem and well we could all guess what would happen then
Sent from my MB886 using Tapatalk 2

you put the zip on the ext SD or internal SD?

^^ Internal sd card.

Franzferdinan51 said:
I placed the recovery. I'm on root of sdcard used the command that skeevy told me NOT the one from my Op using basic terminal emulator from play store was so simple I could've smacked my selfnfor forgetting that Android is Linux and can do from just terminal
Sent from my VTAB1008 using Tapatalk 2
Click to expand...
Click to collapse
which image is the safest ??? pleas advise thanks
---------- Post added at 09:45 AM ---------- Previous post was at 09:16 AM ----------
skeevydude said:
no
use
Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
32 is the recovery partition
then yes
also, Q & A forum
Click to expand...
Click to collapse
sorry to bug and i know all androids are basically the same i just cant afford to mess up and ive been looking for the proper CWM image as i want Custom Recovery but i am lost i went threw some of your post/threads but not sure which one and or where as far as what CWM image i should use when trying to flash it threw the Terminal Please ADVISE

sdwyz74 said:
which image is the safest ??? pleas advise thanks
---------- Post added at 09:45 AM ---------- Previous post was at 09:16 AM ----------
sorry to bug and i know all androids are basically the same i just cant afford to mess up and ive been looking for the proper CWM image as i want Custom Recovery but i am lost i went threw some of your post/threads but not sure which one and or where as far as what CWM image i should use when trying to flash it threw the Terminal Please ADVISE
Click to expand...
Click to collapse
Go here and download image file under Method 3.
http://forum.xda-developers.com/showthread.php?t=

crossxn said:
Go here and download image file under Method 3.
http://forum.xda-developers.com/showthread.php?t=
Click to expand...
Click to collapse
thanks but the link is dead or invalid
---------- Post added at 11:14 AM ---------- Previous post was at 10:37 AM ----------
skeevydude said:
no
Code:
su
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
32 is the recovery partition
then yes
also, Q & A forum
Click to expand...
Click to collapse
do i us the dd or start from the if
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p32
either way i tried and it says e cant open something
---------- Post added at 11:59 AM ---------- Previous post was at 11:14 AM ----------
say CANNOT OPEN FOR READ: NO SUCH FILE OR DIRECTORY
please advise thanks

can someone Please Take a few minutes to help me as i been trying for days now and its just giving the same error ??? READ MY ABOVE POST AND THATS THE ERROR I GET THANKS TO ALL

Related

[Outdated, New Tool Created] Disable & Remove CIQ After Bootloader Unlock

!!!!UPDATE!!!
I have created a tool that makes this process 100% easier!
http://forum.xda-developers.com/showpost.php?p=21566003&postcount=1
Proceed to use the following manual guide as reference but I suggest using the tool I created for an easier experience.
=======================================================================
First if you havent already, Unlock the Vivid Bootloader on HTCdev.com!
>>>>>Follow These directions step by step dont rush or skip any steps. Take your time with this removal. It involves deleting certain files from the system folder!<<<<<
***You need root, Look for ZERGRUSH's root method on the forums***
Update the root SU binary! ( can be done in the superuser settings menu )
Go to the marketplace and look for NoBloat Free
***Look for two entries***
HtcIQAgent (com.htc.android.iqagent)
IQRD (com.htc.android.iqrd)
Click to expand...
Click to collapse
Remove them or Backup and Remove them
Go to your terminal
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd system/bin
rm iqd
rm iqfd
cd system/lib
rm libhtciqagent.so
rm libciq_client.so
rm libciq_htc.so
cd system/etc
rm iqprofile.pro
Click to expand...
Click to collapse
close your terminal session
reboot
Enjoy!
Update : This seems to be complete for now, all CIQ libraries and apps removed. Supercurios CIQ app detects that only the log remains, its useless but you can delete this too. thanks khhawkins for opening up my eyes to something i blinked over.
Update #2: You will detect two linux kernel drivers t__param_str_ciq_info & t__param_ciq_info, these two load up from the stock kernel and cant do anything after CIQ has been removed. This is normal and you will not see CIQ resurface on your device
Update #3: If youre score is 150 on Supercurios CIQ detector app you are clear!
Update #4: Dont skip any steps!
RIP CIQ on the Vivid....
What about /system/bin/iqfd? Is that related too?
Thanks for this
Sent from my HTC PH39100 using xda premium
kxhawkins said:
What about /system/bin/iqfd? Is that related too?
Thanks for this
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
According to supercurios app for detecting CIQ, the IQD file in /system/bin remains after deletion of the main CIQ files. Youll see in the logcat regarding CIQ "Unable to start service Intent", after you killed the two main running apps. There are two linux drivers that stop running after you ill iqd. But even if they are on, they are basically stranded, youre CIQ free either way.
Thanks for pointing this out KHhawkins, Im updating the post to instruct how to remove the iqd file and the iqfd file
Mission Accomplished
I have searched for Zergrushs root but haven't had any luck. Can some one post the link?
capman231 said:
I have searched for Zergrushs root but haven't had any luck. Can some one post the link?
Click to expand...
Click to collapse
Search for the HTC supertool
there also happens to be an entry in /system/build.prop
ro.ril.ciq=1
dont know if changing it to 0 would have any effect.
Pirateghost said:
there also happens to be an entry in /system/build.prop
ro.ril.ciq=1
dont know if changing it to 0 would have any effect.
Click to expand...
Click to collapse
No effect, I see no more ciq activity on logcat. I wanted to tinker with the build.prop file and initially remove it, but its an unnecessary step. Similar to the orphaned kernel drivers
Sent from my HTC PH39100 using xda premium
My device has no system\pro directory at all.
Otherwise the only discrepancy I found was the file htciqagent.so was also libhtciqagent.so.
---------- Post added at 03:07 PM ---------- Previous post was at 02:44 PM ----------
FYI - My Voodoo CarrierIQ score is 150 after following your directions. The applicaiton labeled my device as "Carrier IQ elements found - however it seems inactive".
ifiweresolucky said:
My device has no system\pro directory at all...
Click to expand...
Click to collapse
Before
Code:
cd system\pro
rm iqprofile.pro
Issue:
Code:
find / -name iqprofile.pro
to locate the iqprofile.pro file.
Then, "cd" to that location, and issue
Code:
rm iqprofile.pro
Thanks, was in system\etc\
Fixed all entries
Any performance increase after removing CIQ?
ifiweresolucky said:
My device has no system\pro directory at all.
Otherwise the only discrepancy I found was the file htciqagent.so was also libhtciqagent.so.
---------- Post added at 03:07 PM ---------- Previous post was at 02:44 PM ----------
FYI - My Voodoo CarrierIQ score is 150 after following your directions. The applicaiton labeled my device as "Carrier IQ elements found - however it seems inactive".
Click to expand...
Click to collapse
Youre in the clear, the last "150" come from the linux kernel drivers which are actually part of the kernel.
Okay. Noob question here. When you say go to terminal. What does that mean? Terminal emulator on the phone? Or a terminal on the PC? And if on the PC what do I use?
I have unlocked the bootloader
He means a DOS prompt (Windows) or terminal window (Linux). Then navigate to where you have ADB (assuming you dont have environmental variables set up) and execute the commands.
backtothemac said:
Okay. Noob question here. When you say go to terminal. What does that mean? Terminal emulator on the phone? Or a terminal on the PC? And if on the PC what do I use?
I have unlocked the bootloader
Click to expand...
Click to collapse
On your Mac use the terminal app with adb. On a PC use command prompt with adb.
Sent from my HTC PH39100 using xda premium
I am missing something. I can open the shell. Enter SU and then then next step in the process fails. I am close. lol
backtothemac said:
I am missing something. I can open the shell. Enter SU and then then next step in the process fails. I am close. lol
Click to expand...
Click to collapse
Root first!
I did. I am missing something small I am sure. But I am definitely missing it.

About flash CMW V20A

Hello,
I had posted this in Frequently Asked Questions about the LG Optimus 4x HD but got no help so I post here for a last try.
Just followed all dexter's steps in this thread to flash CMW
http://forum.xda-developers.com/showthread.php?t=2180138
but I got stuck here. Tried to read 34 pages of the thread but still couldnt solve my problem
My LG was rooted and unlocked.
Any help? thanks
Ekio
The error message says it all: no such file or directory. Change /mnt/sdcard/ to /storage/external_SD/
AlderCass said:
The error message says it all: no such file or directory. Change /mnt/sdcard/ to /storage/external_SD/
Click to expand...
Click to collapse
Tried and still not such files and directory thx anyway
ekiong said:
Tried and still not such files and directory thx anyway
Click to expand...
Click to collapse
Are u sure, u have copied the neede files to the root of ur SD-Card? Seems not... U have to unpack the zip-files for CWM and copy both files to the root of ur SD-Card... After that the commands should work...
Bogeyof said:
Are u sure, u have copied the neede files to the root of ur SD-Card? Seems not... U have to unpack the zip-files for CWM and copy both files to the root of ur SD-Card... After that the commands should work...
Click to expand...
Click to collapse
Omg I already did
Look pics
ekiong said:
Omg I already did
Look pics
Click to expand...
Click to collapse
I needed to allow SuperSU access before I be able to do it...
Pay attention to your phone, when you give the command "adb shell", if Superuser/SuperSU don't ask permition.
Its just a idea...
RuedasLocas said:
I needed to allow SuperSU access before I be able to do it...
Pay attention to your phone, when you give the command "adb shell", if Superuser/SuperSU don't ask permition.
Its just a idea...
Click to expand...
Click to collapse
I did it in recovery mode and tried it in terminal app aswell, but nothing happened with "cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1"
ekiong said:
Omg I already did
Look pics
Click to expand...
Click to collapse
Looks like the path to your SD card is different to mine. Try replacing /mnt/sdcard/ in the original command with /sdcard/ , ie:
Code:
su
cat /sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
Code:
su
cat /sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p2
sync
Also no need to get aggravated, none of us are being rewarded for helping you here but we're trying to help anyway...
*edit*
ooops didn't look at all the screenshots. The last one shows your SD card path actually is indeed the same as mine. I'm all out of ideas then.
---------- Post added at 06:48 PM ---------- Previous post was at 06:40 PM ----------
ekiong said:
I did it in recovery mode and tried it in terminal app aswell, but nothing happened with "cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1"
Click to expand...
Click to collapse
Did you do it in recovery mode from the start? When I did it it was when the phone was just switched on normally into the main OS.
ekiong said:
I did it in recovery mode and tried it in terminal app aswell, but nothing happened with "cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1"
Click to expand...
Click to collapse
AlderCass said:
Looks like the path to your SD card is different to mine. Try replacing /mnt/sdcard/ in the original command with /sdcard/ , ie:
Code:
su
cat /sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
Code:
su
cat /sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p2
sync
Also no need to get aggravated, none of us are being rewarded for helping you here but we're trying to help anyway...
*edit*
ooops didn't look at all the screenshots. The last one shows your SD card path actually is indeed the same as mine. I'm all out of ideas then.
Click to expand...
Click to collapse
Where the hell did you found that path /mnt/sdcard/....... ???
Tutorial CWM
Dude forget what they say everyone tells different way, read here what i writeto you and make the steps like me.
1. Unlock Bootloader and get SU Permissions
2. Go to PlayStore download SuperSU and than start give permisions to it to update Binary , than go to Setting in SuperSU and install in System
3. Reboot Phone
4. Copy the 2 IMG data to root from SD and rename recovery-6028.img > recovery.img & unsecure-boot-mmcblk0p2.img > boot.img
this to IMG data must be unpacked from RAR(Zip) from Dexter.
5. make sure you have Unknow Sources and USB Debug Active , and also make sure that Superuser is replaced by SuperSU after reboot
6. Go to PlayStore and Download Android Terminal Emulator
and give in Terminal
Type "su" without quotes and than accept the permissions from SuperSU after that give in
----------------------------------------------------------------------------------------------------------------------------------
cat /mnt/sdcard/recovery.img >/dev/block/mmcblk0p1
sync
IF YOU USE UNSECURE BOOT tha use this
su
cat /mnt/sdcard/boot.img >/dev/block/mmcblk0p2
sync
Hope it helps and youv got it run :laugh:
RuedasLocas said:
Where the hell did you found that path /mnt/sdcard/....... ???
Click to expand...
Click to collapse
It's in the system root for me, it's a symlink. Though it didn't work for me in the cat command, which is why I suggested using /storage/external_SD/ instead which did work for me. It looks like the OP has the files in the right places, and the hash in the command line screenshot implies that SU is working correctly, so I'm all out of ideas now.
---------- Post added at 06:57 PM ---------- Previous post was at 06:55 PM ----------
x0BlackTeresis0x said:
Dude forget what they say everyone tells different way, read here what i writeto you and make the steps like me.
Click to expand...
Click to collapse
Little bit arrogant, we're all trying to help here, so I hope for your sake your way works for the OP
AlderCass said:
Looks like the path to your SD card is different to mine. Try replacing /mnt/sdcard/ in the original command with /sdcard/
Also no need to get aggravated, none of us are being rewarded for helping you here but we're trying to help anyway...
Click to expand...
Click to collapse
Sorry man, just had a bad feeling .
--------------------------------------------------------------------------
x0BlackTeresis0x said:
Dude forget what they say everyone tells different way, read here what i writeto you and make the steps like me.
1. Unlock Bootloader and get SU Permissions
2. Go to PlayStore download SuperSU and than start give permisions to it to update Binary , than go to Setting in SuperSU and install in System
3. Reboot Phone
4. Copy the 2 IMG data to root from SD and rename recovery-6028.img > recovery.img & unsecure-boot-mmcblk0p2.img > boot.img
this to IMG data must be unpacked from RAR(Zip) from Dexter.
5. make sure you have Unknow Sources and USB Debug Active , and also make sure that Superuser is replaced by SuperSU after reboot
6. Go to PlayStore and Download Android Terminal Emulator
and give in Terminal
Type "su" without quotes and than accept the permissions from SuperSU after that give in
----------------------------------------------------------------------------------------------------------------------------------
cat /mnt/sdcard/recovery.img >/dev/block/mmcblk0p1
sync
IF YOU USE UNSECURE BOOT tha use this
su
cat /mnt/sdcard/boot.img >/dev/block/mmcblk0p2
sync
Hope it helps and youv got it run :laugh:
Click to expand...
Click to collapse
Tried and looked like I'm typing in word lol, nothing happen, still android system recovery, not CMW.
Need CWM to wipe battery status, battery goes down to 93% in 1 min after full chagring.
ekiong said:
Sorry man, just had a bad feeling .
--------------------------------------------------------------------------
Tried and looked like I'm typing in word lol, nothing happen, still android system recovery, not CMW.
Need CWM to wipe battery status, battery goes down to 93% in 1 min after full chagring.
Click to expand...
Click to collapse
Remove micro sd from the phone.
Stick to the guide, pay atention to the phone screen behavior soo, keep the screen always on, in case of SuperSU ask for permition...
Dexter_nlb said:
......
GUIDE:
1. when you are running unlocked bootloader and is rooted goto step 2.
2. download attached zip files and extract content to internal sdcard location
3. use adb shell or terminal from market and execute the commands below
4. you are now running with native CWM recovery and unsecure boot, which enable adb root at boot instantly.
5. boot into recovery, by rebooting device and hold VOL-DOWN during bootup. (from power-off = keep holding vol-down during power on)
execute these 3 commands for recovery image install
Code:
su
cat /mnt/sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
execute these 3 commands for unsecure boot image install
Code:
su
cat /mnt/sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p2
sync
or see screenshot here
do this at your own risk, and do NOT try this on old 4.0.3, which is not with unlocked bootloader, and you are required to install KDZ again.
THANKS to:
skydev - for his continued effort in finding root and giving our device full freedom with boot/recovery.
Click to expand...
Click to collapse
Copy and past the command lines from the post, like that you'll be sure that you don't miss write the path.
And like I use to say, be creative
Good luck !
RuedasLocas said:
Remove micro sd from the phone.
Stick to the guide, pay atention to the phone screen behavior soo, keep the screen always on, in case of SuperSU ask for permition...
Copy and past the command lines from the post, like that you'll be sure that you don't miss write the path.
And like I use to say, be creative
Good luck !
Click to expand...
Click to collapse
Still no such file, I give up :angel:
Thx every one
ekiong said:
Still no such file, I give up :angel:
Thx every one
Click to expand...
Click to collapse
You tried this? Only the path changes, but... I ran out of ideas.
Like I told you, be creative. Change /sdcard/ to /sdcard0/... don't know man...
"01. You must have Root access (https://mega.co.nz/#!0opzyBjS!DSoW-CaTRi49JcW58yvwCCEug4hz6VmnevdJ1prcdpE)
02. Extract both *.img files somewhere
03. Copy those files to your phone (no matter if internal or external storage, I used /sdcard/Unlocking/ so below commands will contains my directory)
04. Run terminal app on your phone or adb shell from PC while you have connected phone
05. Run those commands:
su
cat /sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
su
cat /sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p1
sync
REMEMBER!
If your folder is different than /sdcard replace it in those commands above!
Methods and necessary files are found also here: http://forum.xda-developers.com/showthread.php?t=2180138
All credits goes to Dexter_nlb from xda community."
RuedasLocas said:
You tried this? Only the path changes, but... I ran out of ideas.
Like I told you, be creative. Change /sdcard/ to /sdcard0/... don't know man...
"01. You must have Root access (https://mega.co.nz/#!0opzyBjS!DSoW-CaTRi49JcW58yvwCCEug4hz6VmnevdJ1prcdpE)
02. Extract both *.img files somewhere
03. Copy those files to your phone (no matter if internal or external storage, I used /sdcard/Unlocking/ so below commands will contains my directory)
04. Run terminal app on your phone or adb shell from PC while you have connected phone
05. Run those commands:
su
cat /sdcard/recovery-6028.img >/dev/block/mmcblk0p1
sync
su
cat /sdcard/unsecure-boot-mmcblk0p2.img >/dev/block/mmcblk0p1
sync
REMEMBER!
If your folder is different than /sdcard replace it in those commands above!
Methods and necessary files are found also here: http://forum.xda-developers.com/showthread.php?t=2180138
All credits goes to Dexter_nlb from xda community."
Click to expand...
Click to collapse
OH MY GOD I'm stupid, I copied files with ZERO byte.
sorry I used airdroid to copy them to my phone. But only their icons moved into my phone, not contents.
It works now THANKSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS :laugh:
Close thread and my stupid problem :silly:

help i've formatted my card

hi guys was messing with my one and i have wiped all my data and i can't connect phone to pc to copy a rom over..HELP
No stress buddy, just follow instructions from here and your good to go in 10-15mins :good:.
http://forum.xda-developers.com/showthread.php?t=1667929
Use odin to flash to stock then copy custom rom zip to mem card simple
jacklei said:
No stress buddy, just follow instructions from here and your good to go in 10-15mins :good:.
http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
hi dude all i find in mount is cache.data.system.usb-otg
JohnnyBlade said:
Use odin to flash to stock then copy custom rom zip to mem card simple
Click to expand...
Click to collapse
is odin only for samsung
smarty2322 said:
is odin only for samsung
Click to expand...
Click to collapse
Hi mate, I can help. You just need to set up adb properly and transfer the rom over we can do it on TeamViewer?
MacHackz said:
Hi mate, I can help. You just need to set up adb properly and transfer the rom over we can do it on TeamViewer?
Click to expand...
Click to collapse
i've downloaded team viewer
anyone please
smarty2322 said:
anyone please
Click to expand...
Click to collapse
Do you know how to use basic adb commands? How did you flash your recovery?
Sent from my HTC One using xda premium
redbull123 said:
Do you know how to use basic adb commands? How did you flash your recovery?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
i think so i'll have a look
smarty2322 said:
i think so i'll have a look
Click to expand...
Click to collapse
?? Have a look for what?
Sent from my HTC One using xda premium
redbull123 said:
?? Have a look for what?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
i'm not sure what commands i need to use
smarty2322 said:
i'm not sure what commands i need to use
Click to expand...
Click to collapse
You need to use the push command
Put a rom in your adb folder if you know where it is
Hold shift and right click on your adb folder and click open terminal/command window here
Put your phone into recovery
Command: adb devices
If your device appears then;
Command: adb push name_of_your_rom.zip /sdcard/
After a few minutes the rom should be on your sdcard.
If your device doesn't appear with adb devices then there's a problem with your adb files
Sent from my HTC One using xda premium
---------- Post added at 07:38 PM ---------- Previous post was at 07:29 PM ----------
Also, this guide is good for learning about adb...
http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Sent from my HTC One using xda premium
redbull123 said:
You need to use the push command
Put a rom in your adb folder if you know where it is
Hold shift and right click on your adb folder and click open terminal/command window here
Put your phone into recovery
Command: adb devices
If your device appears then;
Command: adb push name_of_your_rom.zip /sdcard/
After a few minutes the rom should be on your sdcard.
If your device doesn't appear with adb devices then there's a problem with your adb files
Sent from my HTC One using xda premium
---------- Post added at 07:38 PM ---------- Previous post was at 07:29 PM ----------
Also, this guide is good for learning about adb...
http://www.androidcentral.com/android-201-10-basic-terminal-commands-you-should-know
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
do i need to be in team win recovery
smarty2322 said:
do i need to be in team win recovery
Click to expand...
Click to collapse
Doesn't matter what recovery you use
Sent from my HTC One using xda premium
i think it's ****ed usb will not connect
smarty2322 said:
i think it's ****ed usb will not connect
Click to expand...
Click to collapse
Reboot your computer and try a different usb port
Try go into your bootloader menu and press fastboot it should say fastboot usb after a few seconds then open a command window from the folder again and command
fastboot devices
Did you find your adb folder?
Sent from my HTC One using xda premium
redbull123 said:
Reboot your computer and try a different usb port
Try go into your bootloader menu and press fastboot it should say fastboot usb after a few seconds then open a command window from the folder again and command
fastboot devices
Did you find your adb folder?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
got fastboot usb working,cant find adb folder
smarty2322 said:
got fastboot usb working,cant find adb folder
Click to expand...
Click to collapse
Did your device serial code show in fastboot devices?
Download these files and Extract them to a folder on your desktop called 'adb' or something simple. This will now be your folder to open the terminal window from.
http://www.androidrevolution.nl/downloader/download.php?file=mini-sdk.rar
Sent from my HTC One using xda premium
redbull123 said:
Did your device serial code show in fastboot devices?
Download these files and Extract them to a folder on your desktop called 'adb' or something simple. This will now be your folder to open the terminal window from.
http://www.androidrevolution.nl/downloader/download.php?file=mini-sdk.rar
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
ok done that

New Ubuntu port!

I want to run this on Samsung galaxy s4 i9505 jfltexx.
Anyone want to work on this?
Im willing to help in anyway i can
Sent from my GT-I9505 using xda app-developers app
Update: port is almost ready
Trying to sort a few compile errors
I would like to see this happen.
Relys said:
I would like to see this happen.
Click to expand...
Click to collapse
Me too
Sent from my GT-I9505G using Tapatalk
Awesome, can you dualboot it? And how big is the port rom?
Sent from my GT-I9505 using Tapatalk
JustSueMe said:
Update: port is almost ready
Trying to sort a few compile errors
Click to expand...
Click to collapse
Need any help?
Sent from my GT-I9505 using Tapatalk
Download link ! Alpha !
http://www.datafilehost.com/d/44a25a60
link is to download phablet
instructions:
reboot to recovery
wipe all partitions
flash phablet in above link
flash trusty-preinstalled-touch-armhf.zip [u can find on cdimages.ubuntu.com]
reboot phone to system
--
at this point youll have a black screen and no activity
plug phone into pc
grab this file : (70-jfltexx.rules) http://www.datafilehost.com/d/17d6dd77
now open terminal
$ su
$ adb push 70-jfltexx.rules /usr/lib/lxc-android-config/
$ reboot
phone will look like its doing nothing for a bit, but wait.
now it will boot back up like normal but you will have a ubuntu touch gui
BUGS:
no conectivity
no sound
edge swipe is small but works without case
camera
frame jumps to the right for some apps occasionally (unsure if thats on purpose of buggy... i vote buggy)
app crashing (maybe reason for camera crash?)
doesnt show imei
no sdcard mounted
terminal app doesnt even work so need to use adb to run commands
enjoy lol ... note alpha in title if anyone wants to complain ... also note only you are responsible for what happens to your device.
now have connectivity via reverse tether
adb root
adb shell setprop sys.usb.config rndis,adb
if you get permission error use adb server as root
ubuntu network manager will show that samsung android is connecting.
open network settings edit that connection and change auto DHCP to shared
adb shell
run this command (logged into phone)
dhclient usb0 -v
now on phone open webbrowser and you should be able to connect
just got WIFI !
haha progress
adb shell
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
now wifi will turn on
make it auto load at boot
touch /data/local/userinit.sh
add to the file :
#!/bin/bash
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
make it run
chmod +x /data/local/userinit.sh
help !
im trying to fix the gsm
here is my output
[email protected]:/# nmcli dev
DEVICE TYPE STATE
/ril_0 gsm disconnected
wlan0 802-11-wireless connected
[email protected]:/etc/NetworkManager/system-connections# ls
TALKTALK-FCF354 Three
TalkTalk--* is my WIFI
Three is my mobile 3g data
so ill try to load Three
[email protected]:/etc/NetworkManager/system-connections# nmcli con up id Three
Error: Connection activation failed: The connection was not supported by oFono.
here is the contents of Three :
[connection]
id=Three
uuid=39a02ed3-d946-45f8-9abb-81ef997add03
type=gsm
autoconnect=false
[ppp]
refuse-eap=true
refuse-chap=true
refuse-mschap=true
refuse-mschapv2=true
nobsdcomp=true
nodeflate=true
no-vj-comp=true
[ipv4]
method=auto
[serial]
baud=115200
[gsm]
number=*99#
username=three
apn=3internet
contents of TalkTalk
[connection]
id=TALKTALK-FCF354
uuid=1bcf8cdf-9152-49de-b279-7770e94e5006
type=802-11-wireless
[802-11-wireless]
ssid=TALKTALK-FCF354
mode=infrastructure
mac-address=5C:F8:A1:90:2F:FB
security=802-11-wireless-security
[802-11-wireless-security]
key-mgmt=wpa-psk
auth-alg=open
psk=Password1
[ipv4]
method=auto
[ipv6]
method=auto
Why is TalkTalk supported and Three is not ?
as i understand it it uses https://github.com/rilmodem/ofono
AND if fixed this configuration may only give 3g data connection on the THREE 3 UK newtork not calls or sms but one step at a time/
JustSueMe said:
http://www.datafilehost.com/d/44a25a60
link is to download phablet
instructions:
reboot to recovery
wipe all partitions
flash phablet in above link
flash trusty-preinstalled-touch-armhf.zip [u can find on cdimages.ubuntu.com]
reboot phone to system
--
at this point youll have a black screen and no activity
plug phone into pc
grab this file : (70-jfltexx.rules) http://www.datafilehost.com/d/17d6dd77
now open terminal
$ su
$ adb push 70-jfltexx.rules /usr/lib/lxc-android-config/
$ reboot
phone will look like its doing nothing for a bit, but wait.
now it will boot back up like normal but you will have a ubuntu touch gui
BUGS:
no conectivity
no sound
edge swipe is small but works without case
camera
frame jumps to the right for some apps occasionally (unsure if thats on purpose of buggy... i vote buggy)
app crashing (maybe reason for camera crash?)
doesnt show imei
no sdcard mounted
terminal app doesnt even work so need to use adb to run commands
enjoy lol ... note alpha in title if anyone wants to complain ... also note only you are responsible for what happens to your device.
Click to expand...
Click to collapse
Will this work with an ATT that has a locked bootloader that needs loki file for the kernel?
toxicpaulution said:
Will this work with an ATT that has a locked bootloader that needs loki file for the kernel?
Click to expand...
Click to collapse
well for one this is for jfltexx, and secondly if the boot loader is locked i doubt that could flash it as u need a new the boot.img.
if you want it on att model you ill prob need to buid depreciated ubuntu touch.
depreciaed UT boots android then ubuntu in a container
this boots ubuntu then andriod in container.
JustSueMe said:
well for one this is for jfltexx, and secondly if the boot loader is locked i doubt that could flash it as u need a new the boot.img.
if you want it on att model you ill prob need to buid depreciated ubuntu touch.
depreciaed UT boots android then ubuntu in a container
this boots ubuntu then andriod in container.
Click to expand...
Click to collapse
Well see with ATT we can boot custom roms(MDL users) as long as the kernel is already lokidokied, or you can flash the loki zip and it will bypass the ATT check and allow you to boot a custom rom, Now seeing how this is based of CM10.2(thats what the file is saying so i am just taking a guess) if I flashed the Loki zip after flashing the rom would it work? But I am doing a backup as of now and I am going to test and see if it works :3 I will report back lol
---------- Post added at 01:49 PM ---------- Previous post was at 01:03 PM ----------
toxicpaulution said:
Well see with ATT we can boot custom roms(MDL users) as long as the kernel is already lokidokied, or you can flash the loki zip and it will bypass the ATT check and allow you to boot a custom rom, Now seeing how this is based of CM10.2(thats what the file is saying so i am just taking a guess) if I flashed the Loki zip after flashing the rom would it work? But I am doing a backup as of now and I am going to test and see if it works :3 I will report back lol
Click to expand...
Click to collapse
Didn't work, Getting status 7 which would mean I would have to edit the update script so it doesn't just look for the inital phone. I will do that now and try again.
toxicpaulution said:
Well see with ATT we can boot custom roms(MDL users) as long as the kernel is already lokidokied, or you can flash the loki zip and it will bypass the ATT check and allow you to boot a custom rom, Now seeing how this is based of CM10.2(thats what the file is saying so i am just taking a guess) if I flashed the Loki zip after flashing the rom would it work? But I am doing a backup as of now and I am going to test and see if it works :3 I will report back lol
---------- Post added at 01:49 PM ---------- Previous post was at 01:03 PM ----------
Didn't work, Getting status 7 which would mean I would have to edit the update script so it doesn't just look for the inital phone. I will do that now and try again.
Click to expand...
Click to collapse
the base may be cm10 but it doesnt boot cm10. the boot.img gets flashed and it boots ubuntu , the cm part is in a container within ubuntu
i dont think att will be able to use this is the bootloader cant be flashed
JustSueMe said:
the base may be cm10 but it doesnt boot cm10. the boot.img gets flashed and it boots ubuntu , the cm part is in a container within ubuntu
i dont think att will be able to use this is the bootloader cant be flashed
Click to expand...
Click to collapse
Yeah changing the updater script didnt do the job :/ lame lol well it was work the try, I will follow this htread though seems promising.
toxicpaulution said:
Yeah changing the updater script didnt do the job :/ lame lol well it was work the try, I will follow this htread though seems promising.
Click to expand...
Click to collapse
okay it wont let me adb push the file says bash: adb: command not found
edit: im running now but the connectivity through reverse thether isnt working. btw im on the att s4
JustSueMe said:
haha progress
adb shell
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
now wifi will turn on
make it auto load at boot
touch /data/local/userinit.sh
add to the file :
#!/bin/bash
insmod /system/lib/modules/dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
make it run
chmod +x /data/local/userinit.sh
Click to expand...
Click to collapse
I have successfully ported the zip to the SGH-I337 AT&T model same as yours wifi no data after fixes. Are you having trouble with the roms sliding from the lockscreen to home trouble?
---------- Post added at 02:34 AM ---------- Previous post was at 01:59 AM ----------
Joeyxc said:
I have successfully ported the zip to the SGH-I337 AT&T model same as yours wifi no data after fixes. Are you having trouble with the roms sliding from the lockscreen to home trouble?
Click to expand...
Click to collapse
link for att or tmobile http://www.androidfilehost.com/?fid=23252070760974893
Enjoy
This is just the cm, still follow the other instructions for everything else
http://www.youtube.com/watch?v=mJLKX_QWSpc&feature=youtu.be
Joeyxc said:
I have successfully ported the zip to the SGH-I337 AT&T model same as yours wifi no data after fixes. Are you having trouble with the roms sliding from the lockscreen to home trouble?
---------- Post added at 02:34 AM ---------- Previous post was at 01:59 AM ----------
link for att or tmobile http://www.androidfilehost.com/?fid=23252070760974893
Enjoy
This is just the cm, still follow the other instructions for everything else
http://www.youtube.com/watch?v=mJLKX_QWSpc&feature=youtu.be
Click to expand...
Click to collapse
So I should flash that first and then the others as stated?
toxicpaulution said:
So I should flash that first and then the others as stated?
Click to expand...
Click to collapse
Yup! Let me know if you run into any issues don't forget to thank if it worked!
Sent from my SGH-I337 using Tapatalk
Joeyxc said:
Yup! Let me know if you run into any issues don't forget to thank if it worked!
Sent from my SGH-I337 using Tapatalk
Click to expand...
Click to collapse
Forgot you need to use the Loki file for att, I'm doing adb on my other lappy haha xD then I'll boot it
Sent from my SGH-I337 using Tapatalk

[REQUEST] (4.4.2) NAE System, Modem nandroid/dumps

Here's what I need so that I can update things like Firmware packages, ROM files, mods, etc...
This is all assuming they didn't break our ability to root and/or use a custom recovery
This is already done:
First ensure you're on the NAE update. (Duh)
Root it
Enable USB Debugging, connect to PC with adb setup and do the following:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin
dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin
exit
adb pull /data/local/tmp/apnhlos.bin
adb pull /data/local/tmp/mdm.bin
It's possible they don't allow writing to /data/local/tmp, you might just use /sdcard instead. (so change of=/data/local/tmp/x.bin to of=/sdcard/x.bin) but being in su should grant you access to do whatever.
You'll have two files (apnhlos.bin and mdm.bin), zip those up, upload them somewhere and send them to me.
I still need this
Next for the system file(s) I need...
First ensure you're on the NAE update. (Duh)
Wipe it to full stock, no mods, no personal apps, no accounts setup, nothing.
Flash recovery
Boot to recovery and do a Nandroid backup to your external sd card.
Boot back to system and copy off the file(s) called system.ext4.img or something to the extent of that, it should be SOMEWHERE on your external sd card, TWRP stores it in the TWRP folder somewhere, CWM stores them in some clockworkmod folder somewhere I believe.
I need all the system image files from the backup, it'll be huge an upwards of 2-3GB, and it might split them into multiple files, so there might be more than one system file in that backup folder. I need them all, zip them up again and upload them somewhere and send the link to me please.
Thanks!
Also, if someone has the update file, that'd by slightly helpful as well, but the other two are more important.
OTA file name is:
8069446ccb676c347a698e64b2df33882547f017.USER_L720 _SPT_MK2_CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD .zip
ChadH42 said:
OTA file name is:
8069446ccb676c347a698e64b2df33882547f017.USER_L720 _SPT_MK2_CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD .zip
Click to expand...
Click to collapse
And the full URL: http://android.clients.google.com/p...CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD.zip
Now lets see that de-knoxed modem file. and a de-knoxed NAE ROM.
thereverend999 said:
And the full URL: http://android.clients.google.com/p...CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD.zip
Click to expand...
Click to collapse
Thanks for this, this gets a few of the firmware bits out of the way, now I just need the dumps of the modem and system...
Do you need adb on your computer, if so where can I get it for a windows computer?
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
Do you need adb on your computer, if so where can I get it for a windows computer?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That and the Samsung drivers
ADB: http://forum.xda-developers.com/showthread.php?t=2317790
Drivers: http://forum.xda-developers.com/showthread.php?t=961956
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Check post one please! ???
Sent From My Samsung Galaxy S4! ?
churchey360 said:
I'm rooted with custom recovery and adb setup on my computer but I'm not sure on how to type the commands. I got the adb shell and it recognized my phone the I typed su and Idk what to do from here any help?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The commands to type were in the OP.
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin
dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin
exit
adb pull /data/local/tmp/apnhlos.bin
adb pull /data/local/tmp/mdm.bin
Click to expand...
Click to collapse
Do I just type the whole thing at once? I tried doing just the apnhlos.bin and got this message.
Sent from my SPH-L720 using XDA Premium 4 mobile app
You hit enter after each line. In this exact order:
Type adb shell Then hit enter.
Type su Then hit enter.
Type dd if=/dev/block/platform/msm_sdcc.1/by-name/apnhlos of=/data/local/tmp/apnhlos.bin Then hit enter.
Type dd if=/dev/block/platform/msm_sdcc.1/by-name/mdm of=/data/local/tmp/mdm.bin Then hit enter.
Type exit Then hit enter.
Type adb pull /data/local/tmp/apnhlos.bin Then hit enter.
Type adb pull /data/local/tmp/mdm.bin Then hit enter.
After which, you'll follow the rest of the instructions in the OP.
I did it that way but the last 2 steps say error: device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 01:48 AM ---------- Previous post was at 01:36 AM ----------
I think it has to do with my adb interface drivers
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
I did it that way but the last 2 steps say error: device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 01:48 AM ---------- Previous post was at 01:36 AM ----------
I think it has to do with my adb interface drivers
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I thanked you for helping out. His post said try changing the lines with /sdcard added. Check first post
Sent from my SPH-L720 using Tapatalk
I'll try it that way now and see if it'll work
Sent from my SPH-L720 using XDA Premium 4 mobile app
---------- Post added at 02:12 AM ---------- Previous post was at 01:59 AM ----------
I keep getting error device not found
Sent from my SPH-L720 using XDA Premium 4 mobile app
Is this correct?
Sent from my SPH-L720 using XDA Premium 4 mobile app
Yes. There you go. Zip them and upload them so he can download them.
Sent from my SPH-L720 using Tapatalk
@Unknownforce will this work? It is the apnhlos.bin and mdm.bin in a zip file it's not a big file so I hope it was done correctly it's about all I can do i tried to help lol. https://www.dropbox.com/s/tz9u0rkq092m9qv/0.zip
Sent from my SPH-L720 using XDA Premium 4 mobile app
churchey360 said:
@Unknownforce will this work? It is the apnhlos.bin and mdm.bin in a zip file it's not a big file so I hope it was done correctly it's about all I can do i tried to help lol. https://www.dropbox.com/s/tz9u0rkq092m9qv/0.zip
Sent from my SPH-L720 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Perfect, now all I need is the system dump, if you can get me that, everyone will love you!
OK I did a factory reset and backed up the stock ROM but I didn't back it up to the external sd card I just backed it up to the device storage will that be fine or should I backup to my external sd card?
Sent from my SPH-L720 using XDA Premium 4 mobile app

Categories

Resources