Change LCD density? - HTC Droid DNA

Has anyone tried this yet via editing the build prop file? I want to give it a try but some phones don't play nice with changing the density.
Sent from my HTC6435LVW using xda premium

I tried. Wouldn't stick. So gave up lol. I assume that you could make a copy and upload via bootloader.
sent from my rooted DNA

That stinks. Oh well.
Sent from my HTC6435LVW using xda premium

chrisjm00 said:
That stinks. Oh well.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
I got it to work. Copy the build.prop file to your computer and make your changes there. Then reboot your phone into recovery (TWRP is what I used), mount System (in TWRP), ADB push the edited file back onto your phone, and then use the TWRP file manager to apply CHMOD 755 onto the file. Then reboot and enjoy.
That last step (CHMOD) may not be necessary. I never tried leaving that step out to confirm one way or the other.

S121Guy said:
I tried. Wouldn't stick. So gave up lol. I assume that you could make a copy and upload via bootloader.
sent from my rooted DNA
Click to expand...
Click to collapse
You can't edit it while booted in android, you need to flash it.
Sent from my HTC6435LVW using xda app-developers app

Related

[Q] new root user how to change fonts [ROM] B 0.8.4

hi i was wondering do i need to replace both droidsans.tff AND droidsans-bold.ttf
if so do i replace them with the same tff file ( the font i;m using only has one .tff file) or can't i use it
i'm running hboot1.01 using CWM
Yes, u can use the same ttf file to substitute both DroidSans and DroidSans-Bold but then ur phone shall display both regular and bold text in the same way.
-
Swyped from my legend using xda app.
Thanks a lot I was just wondering
I'm guessing to flash it I use adb push. Etc.... XD
Sent from my HTC Legend using XDA Premium App
ok i flashed them using adb push etc to /system/fonts/droid etc....
i overwrote droidsans and droidsans-bold but nothing it hasn't changed What am i doing wrong?
Have you done a reboot?
I clicked to reboot the phone since I'm on hboot 1.01 its the only way I can flash them without command prompt saying its a read only file
Sent from my HTC Legend using XDA Premium App
Are you sure you did overwrite those ttf files? Did you mount /system before adb push?
Ok I didn't do that :/ guess hats where I went wrong right? Do you need to do that ? XD if so what did I do :/ XD
Sent from my HTC Legend using XDA Premium App
Mount /system via clockwork recovery and than push the fonts via adb
Sent from my HTC Legend using XDA Premium App
Cool ok thanks one other question
Why do you have to mount it first?
Also how would I go about flashing other stuff e.g the lockscreen and widgets and what not
Sent from my HTC Legend using XDA Premium App
madcat340 said:
Why do you have to mount it first?
Click to expand...
Click to collapse
Obviously because in CWM it is not mounted by default.
Sent from my HTC Legend
Ok thanks I get it so where did I push the files previously I pushed them in cwm home screen without clicking mount system :/
Never mind It works yay thanks
Sent from my HTC Legend using XDA Premium App
madcat340 said:
Ok thanks I get it so where did I push the files previously I pushed them in cwm home screen without clicking mount system :/
Click to expand...
Click to collapse
You pushed stuff into /system directory which actually resided in initramfs. That's similar to ramdisk.
Sent from my HTC Legend
Is there any way of removing them? From there XD thanks BTW
Sent from my HTC Legend using XDA Premium App
Well, ask yourself how you remove things from RAM.
Sent from my HTC Legend
Do I just clear cache from cwm? Errmmm
Sent from my HTC Legend using XDA Premium App
well i'm guessing thats the right answer ? either that or just remove it using a file explorer :

Few questions

Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
GraphicDemon said:
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1216143
A little bit of reading goes a long, long way. This thread will tell you the current state of the art.
urcboss07 said:
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
Click to expand...
Click to collapse
Ok can you please tell me how you got terminal to process your commands. I get permission denied every time I use terminal to try and do anything with /data. I obviously need root to complete the commands using terminal to write to anything besides the sd. I would appreciate any help. Thanks in advance.
Sent from my MB855 using XDA Premium App
Ok I tried using it from phone but how u push it to data without using comp
Sent from my MB855 using XDA Premium App
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
urcboss07 said:
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
Click to expand...
Click to collapse
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
smoothone said:
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
GraphicDemon said:
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
my2cents said:
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
Click to expand...
Click to collapse
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
smoothone said:
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
my2cents said:
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
Click to expand...
Click to collapse
I was trying to use adb with my Mac and my Linux laptop but both give me "device offline" when I use adb. I'm going to try a different USB cable as I have seen this happen before and a different cable works but I find it hard to believe that i'm the only one that used stock cable and does not work
Sent from my MB855 using XDA Premium App
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
GraphicDemon said:
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Custodian said:
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
If you cannot help then just save your useless comment! Your bringing back bad memories from the EVO forum. That forum was full of bashers and flamers.
smoothone said:
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Yeah tell me about it, wish they would just make a damn step sheet it's getting ridiculous.
Sent from my MB855 using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=16904179
Sent from my MB855 using Tapatalk

Stock System Dump

I might get flamed, but it's okay. What are the command lines for doing a system dump on the Note. I've tried performing one, but not having much luck doing it. It could be wrong commands lines. IDK. Im trying to make a stock CWM flashable zip. I would like to start on my own rom. Please no laughing.Lol.
On A Side NOTE(Get it,NOTE)I am still looking(Google-ing)for the info. Thanks
I will send you the dd commands when I get home tonight
Sent from my SGH-I717D using xda premium
pterry30 said:
I will send you the dd commands when I get home tonight
Sent from my SGH-I717D using xda premium
Click to expand...
Click to collapse
Thank you very much.:thumbup:
bigfau said:
I might get flamed, but it's okay. What are the command lines for doing a system dump on the Note. I've tried performing one, but not having much luck doing it. It could be wrong commands lines. IDK. Im trying to make a stock CWM flashable zip. I would like to start on my own rom. Please no laughing.Lol.
On A Side NOTE(Get it,NOTE)I am still looking(Google-ing)for the info. Thanks
Click to expand...
Click to collapse
Code:
dd if=/dev/block/mmcblk0p24 of=/sdcard/system.img
there are other ways to get a dump, like simply getting the content:
Code:
tar czvf /sdcard/system.tgz /system
both commands need root, and they are quite possibly not on the device by default, so you probably need busybox
i don't really recommend the second command, because some other blocks are mounted into the system (like the modem),
so you would get unnecessary data
Thank you very much. :thumbup:
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Im getting""dd" is not recognized as an internal or external command, operable program or batch file"
Anyone have any insight as to what I am doing wrong?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
You have to type in adb first then the dd commands
Sent from my SGH-I717D using xda premium
In cmd
Sent from my SGH-I717D using xda premium
In Cmd did you switch from c.directory to Androidsdk/tools directory. Then your adb should work ?
Sent from my SGH-I717D using xda premium
pterry30 said:
In Cmd did you switch from c.directory to Androidsdk/tools directory. Then your adb should work ?
Sent from my SGH-I717D using xda premium
Click to expand...
Click to collapse
Thanks buddy. I knew I was missing something. Thank you.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
If you can't get it working pm me. I will tell you exactly what to type in to switch directors, I have it written down at home, I always forget myself
Sent from my SGH-I717D using xda premium
cd (directory of choice) lol
cd= change directories
And remember windows uses backslashes for sub directories.
How would I go about extracting apps etc,etc..?
bigfau said:
How would I go about extracting apps etc,etc..?
Click to expand...
Click to collapse
-_-
there should be a few ext4 drivers or mount tools out there,
google, download one that looks good, and mount the image,
then you should have the drive mounted, and you should be able to access/modify the data
bigfau said:
I might get flamed, but it's okay. What are the command lines for doing a system dump on the Note. I've tried performing one, but not having much luck doing it. It could be wrong commands lines. IDK. Im trying to make a stock CWM flashable zip. I would like to start on my own rom. Please no laughing.Lol.
On A Side NOTE(Get it,NOTE)I am still looking(Google-ing)for the info. Thanks
Click to expand...
Click to collapse
That woulds be tits bro !!! A stock cwm flash rom
Sent from my SGH-I717R using xda premium
matt3allen said:
That woulds be tits bro !!! A stock cwm flash rom
Sent from my SGH-I717R using xda premium
Click to expand...
Click to collapse
I'm trying.Lol.I'm stuck at trying to deodex the apks. I try to stay away command prompts.I get confused doing those.Lmao. I use tools like apk manager, AutoApk Tool, AutoDeodex Tool. I'm still trying to get my computer setup back in order.
EDIT: Only half of the apps and jar files deodexed. Any suggestion or pointers?
Bump dump
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Does anyone have an already deodexed stock rom that they would be willing to share?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2

Is it possible to flash a recovery with terminal emulator?

I know goo manager uses root permission to flash a recovery while the phone is on. So I was wondering if terminal emulator could do the same. I know this question is probably very noob-ish, but I'm curious.
Sent from my EVO using xda premium
You should be able to with root permission
You think you could enlighten me on the "how to"?
Sent from my EVO using xda premium
Yea its the same as when u do it via command prompt just do su at the start
Sent from my EVO using xda premium
Place the recovery on the root of your sd card. Make sure its not in any folders. Rename the recovery img "recovery.img" without the quotes. Then open up terminal. Type "su" without the quotes. Then when you receive the # sign, then type this
flash_image recovery /sdcard/recovery.img
(and press enter)
you will now get this
#
now type
reboot recovery
and you should boot into your recovery you just flashed.
#Root-Hack_Mod*Always=LTE
Ok, so what I'm trying to do is flash a stock recovery so I can take the ota. Does that sound feasible or am I just dreaming?
Sent from my EVO using xda premium
Jason021680 said:
You think you could enlighten me on the "how to"?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Be more specific next time, you asked if it was possible not how it was possible or what the relevant commands were.
My mistake
Sent from my EVO using xda premium
Jason021680 said:
My mistake
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Its cool man we all been there. But as om4 posted you should always give exact details on what it is your trying to do or wanting to do. That way you get the best feedback. Also you can use the method I posted above to flash the stock recovery. However if you type the "reboot recovery" command and boot into the stock recovery you will have to hard shut down via power button to exit/reboot I believe. Not a 100% sure as I haven't seen the stock recovery since I first got this phone.
#Root-Hack_Mod*Always=LTE
laie1472 said:
Its cool man we all been there. But as om4 posted you should always give exact details on what it is your trying to do or wanting to do. That way you get the best feedback. Also you can use the method I posted above to flash the stock recovery. However if you type the "reboot recovery" command and boot into the stock recovery you will have to hard shut down via power button to exit/reboot I believe. Not a 100% sure as I haven't seen the stock recovery since I first got this phone.
#Root-Hack_Mod*Always=LTE
Click to expand...
Click to collapse
And it has to be an .img not a .zip right?
Sent from my EVO using xda premium
Yes it has to be an image file
Any idea where I can find a stock recovery .img?
Sent from my EVO using xda premium
adb tools
I'm having trouble getting it to flash though. Keeps saying flash image not found.
Sent from my EVO using xda premium
Did you make sure it was named correctly?? "recovery.img" not "recovery.img.img" without the quotes?? Also did you make sure it's on the "root" of your sd card. As in "not in any folders" ???
#Root-Hack_Mod*Always=LTE
make sure that the file is in the right directory. Just to make sure there is no misunderstanding, you did extract the image file from the archive I linked?
laie1472 said:
Did you make sure it was named correctly?? "recovery.img" not "recovery.img.img" without the quotes?? Also did you make sure it's on the "root" of your sd card. As in "not in any folders" ???
#Root-Hack_Mod*Always=LTE
Click to expand...
Click to collapse
Yeah, I renamed it recovery.img with no quotes. Yup root of the sdcard is where its at.
Sent from my EVO using xda premium
om4 said:
make sure that the file is in the right directory. Just to make sure there is no misunderstanding, you did extract the image file from the archive I linked?
Click to expand...
Click to collapse
Yeah the one that says stock_EVO4GLTE_recovery.img. I renamed it recovery.img and moved it to the root of my sdcard. No dice... Am I typing the command right? flash_image recovery /sdcard/recovery.img
Sent from my EVO using xda premium
Sent from my EVO using xda premium
The first one I tried it with the original name and the second I renamed it recovery.img
Sent from my EVO using xda premium

What am I doing wrong

K so I dled infection. Extracted the boot.img, and put it into a ph98img.zip. I then flashed the rom.. Said install complete and I went to hboot. It doesn't ask for an update or anything.... Then stays on the white HTC screen when I try to reboot..
Sent from my ADR6425LVW using xda app-developers app
Check to make sure your ph98img.zip isn't a zip within a zip. Often times windows hides the extention so it reads ph98img.zip but it's really ph98img.zip.zip
Also you'll need an updater script so the hboot knows what the file is. You can find this by pulling it from a working ph98img.zip like one from an RUU or kernel (joelz's bamf kernel has one)
Sent from my ADR6425LVW using xda app-developers app
Thanks I'll give that a go I have the bamf kernel dled. I just used a template for the ph98img.zip and threw the boot.img in it
Sent from my ADR6425LVW using xda app-developers app
jmez900 said:
Thanks I'll give that a go I have the bamf kernel dled. I just used a template for the ph98img.zip and threw the boot.img in it
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Have it on the root of your sd card?
mjones73 said:
Have it on the root of your sd card?
Click to expand...
Click to collapse
Yeah... Idk what's wrong haha. I'm using a mac and things are a little different. Like when I dl a ROM it sends the zip to the trash leaving an unzipped folder on the the screen...
Sent from my ADR6425LVW using xda app-developers app
If you have an ADB folder set up (with fastboot) you should be able to just "fastboot flash boot.img" That would save you a lot of hassle if you remain s-on.
did you try the flux capacitor?
you can ask marty mcfly or doc brown about it...
jmez900 said:
Thanks I'll give that a go I have the bamf kernel dled. I just used a template for the ph98img.zip and threw the boot.img in it
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
make sure its all caps PH98IMG.zip
Finally got it using the command prompts.. Messing around I flashed it. My noobness to it made it a little difficult but finally got the hang of it
Sent from my ADR6425LVW using xda app-developers app

Categories

Resources