K so I've been trying to figure out how to change the annoying "verizon wireless" carrier name off my lock screen and notification bar...and heres how to do it..
as for the file... download the zip file in post #8 and extract it to your "C:\android-sdk-windows\tools\" directory.
Then open it up in notepad and edit the part that says "Verizon Wireless" to anything you want.
for those that aren't too familiar with adb: (you must install android SDK, you'll find links to do this in the Droid Eris Android Development and Hacking section)
1. connect your phone to compter, enable usb debugging and open up command prompt. (don't mount SD card)
2. in command prompt, type "cd C:\android-sdk-windows\tools\" then enter...(now you have moved to working within your "tools" folder, where your adb program resides...
3. Type "adb remount"
4. Any file you want to push to your phone, you must put into the "tools" folder on your computer...then use the following command...
"adb push "filename" "directory on your phone"
(example... adb push YouTube.apk /system/apps)
5. To push the edited carrier file, use the following command..
adb push eri.xml /data/
6. To finish the process, reboot by using this command...
adb reboot
Now when you pull your notification bar down, your carrier name will be changed..
to do this, you need to edit eri.xml in framework-res.apk
Use google
can u do that for at&t?
Framework43 said:
to do this, you need to edit eri.xml in framework-res.apk
Use google
Click to expand...
Click to collapse
Googled and found which file to edit. When I search it in hex, I dont see Verizon Wireless in it. Am I missing something?
EDIT: I dont think this applies for the Eris but it does for the Droid. Just looking around a lil bit and a few others have said this. Anyone know the exact file for Eris?
after speaking with Jamezelle on IRC, this seems to NOT be possible to change, as it is set by radio.
ugh Eris has to be tough. doesn't it...I was hoping to change Verizon wireless to like Subway
Sent from my Eris using the XDA mobile application powered by Tapatalk
Could we flash the radio with a custom firmware to allow us to change the carrier name?
I would like to change the carrier name to "xda" or "HTC Eris"
Carrier logo change!!!!
Check post #1 for the fix...
Thank you so much for this tutorial! I totally crashed my phone and wasted a couple hourse trying to edit framework-res.apk. Had to go back to a Nandroid. Sure wish I'd found this first. But, at least I got some good experience editing apks.
Thanks again!
Thanks for the fix. It worked.
vash8806 said:
K so I've been trying to figure out how to change the annoying "verizon wireless" carrier name off my lock screen and notification bar...and heres how to do it..
as for the file... download the zip file in post #8 and extract it to your "C:\android-sdk-windows\tools\" directory.
Then open it up in notepad and edit the part that says "Verizon Wireless" to anything you want.
for those that aren't too familiar with adb: (you must install android SDK, you'll find links to do this in the Droid Eris Android Development and Hacking section)
1. connect your phone to compter, enable usb debugging and open up command prompt. (don't mount SD card)
2. in command prompt, type "cd C:\android-sdk-windows\tools\" then enter...(now you have moved to working within your "tools" folder, where your adb program resides...
3. Type "adb remount"
4. Any file you want to push to your phone, you must put into the "tools" folder on your computer...then use the following command...
"adb push "filename" "directory on your phone"
(example... adb push YouTube.apk /system/apps)
5. To push the edited carrier file, use the following command..
adb push eri.xml /data/
6. To finish the process, reboot by using this command...
adb reboot
Now when you pull your notification bar down, your carrier name will be changed..
Click to expand...
Click to collapse
Couldn't one move the edited eri.zip file to the right folder via terminal on the phone?
meanm50 said:
Couldn't one move the edited eri.zip file to the right folder via terminal on the phone?
Click to expand...
Click to collapse
Well..for 1... your eri.xml file exists on the phone as ".xml"...so if you unzip first, then move to phone via terminal...go for it!
gohamstergo said:
after speaking with Jamezelle on IRC, this seems to NOT be possible to change, as it is set by radio.
Click to expand...
Click to collapse
Are you high? I'm sorry..but I've tried this on Froyo..as well as 2.1 roms... I have never had a problem with changing it... as I keep mine as "username: vash"
Hmmmm, I pushed, pushed and re-pushed and I can't change that diabolical 'VZW' text. Just trying to change it to a simple 'My Android' for now...
Followed the instructions in the OP to the letter (and spaces!) I managed to root my phone the 'hard' way by myself and have tinkered with some ROMs although I'm back at 'stock' 2.1 now, but my build number has 'test keys.'
Any ideas?
bill
Worked like a charm. Thanks!
Works great, was a great guide. Thanks a lot!
I just open eri.xml in root explorer (must select r/w in the app so you can modify system settings) and changed the carrier name with the keypad on my phone. Changes are displayed after the next reboot.
Sent from my FroyoEris using XDA App
Use root explorer. Mount r/w data then long press eri.XML. Edit with keyboard, save and reboot.
Sent from my FroyoEris using XDA App
xtrSENSE
I have tried this approach on xtrSENSE and it does not work. I have used this method on cyogenmods and it works great but on this rom does not work. If you have any suggestions please let me know. I am working on something to help people out.
You should be able to change it in the phone itself with QPST or EPST.
Related
had some help with this eariler
thought i had it fixed
just needed to change battery icon ..
where do i go
i have the new pics that i neede to put in the framework-res but where do i put them
which folder
jager987 said:
had some help with this eariler
thought i had it fixed
just needed to change battery icon ..
where do i go
i have the new pics that i neede to put in the framework-res but where do i put them
which folder
Click to expand...
Click to collapse
drawable-hdpi....?
under stat_sys_battery_
i know that but i dont know how to get to it...when i do the pull it doesnt pull it to the platform tools like it suppose to
and then how do i push it back
just not working
jager987 said:
i know that but i dont know how to get to it...when i do the pull it doesnt pull it to the platform tools like it suppose to
and then how do i push it back
just not working
Click to expand...
Click to collapse
1. When you're in command prompt, make sure you're in your platform-tools folder.
2. Type "adb devices" and make sure that the screen is not blank underneath 'list of attached devices'
3. Type "adb pull /system/framework/framework-res.apk"
4. The file will now be in your platform-tools folder, and ready for you to make your batter edits.
5. When you're done with everything go back to the same location in command prompt and type "adb push framework-res.apk /system/framework/framework-res.apk
exactly i know
devices list my device and i do the pull exactly like that
but nothing in my platform-tools
you can specify where the file will pull to, ex. adb pull /system/app/APK_NAME.apk C:\Users\USERNAME\Desktop\APK_NAME.apk
just replace USERNAME with your Account name for your computer. And replace APK_NAME.apk with the name of the apk you are pulling. FYI this will put the file on your desktop.
do your edits, then compile and reverse the command to push it back.
if it's on your desktop do: adb push C:\Users\USERNAME\Desktop\APK_NAME.apk /system/app/APK_NAME.apk
This is of course if you are using Windows 7. Hope this helps.
Before you push your file back to your phone, run "adb remount" to remount the system, just in case.
thanks ill give that a try
any thoughts as to y this isnt working tho
jager987 said:
thanks ill give that a try
any thoughts as to y this isnt working tho
Click to expand...
Click to collapse
It could be a couple of things... what directory is your command window showing?
showing the path to my platform-tools
and as far as the other part goes
igot it to pull to desktop but when i go to push it back
it just gives me alot of help options
post your full push command you are using.
netwokz said:
you can specify where the file will pull to, ex. adb pull /system/app/APK_NAME.apk C:\Users\USERNAME\Desktop\APK_NAME.apk
just replace USERNAME with your Account name for your computer. And replace APK_NAME.apk with the name of the apk you are pulling. FYI this will put the file on your desktop.
do your edits, then compile and reverse the command to push it back.
if it's on your desktop do: adb push C:\Users\USERNAME\Desktop\APK_NAME.apk /system/app/APK_NAME.apk
This is of course if you are using Windows 7. Hope this helps.
Before you push your file back to your phone, run "adb remount" to remount the system, just in case.
Click to expand...
Click to collapse
Oh yeah, I forgot about that one. Important if you're not in recovery
adb push C:\Users\JROCK\Desktop\system/framework/framework-res.apk /system/app/system/framework/framework-res.apk
now it pushes it but doesnt do anything
suppose to make status bar go away
jager987 said:
adb push C:\Users\JROCK\Desktop\system/framework/framework-res.apk /system/app/system/framework/framework-res.apk
Click to expand...
Click to collapse
Looks to me you added extra stuff. try this:
adb push C:\Users\JROCK\Desktop\framework-res.apk /system/framework/
says cannot stat then lists what you put...there is not such file or directory
for some reason i have to put the /system/framework/framework-res.apk for it to work
but now its pushing it and nothing happening
Stupid question, but are you rebooting your phone after you push?
i was told to so yea
Yeah you should be. What exactly are the changes your making? I really haven't messed with changing the icons to much, so I don't know how much more help I can be.
Sent from another Dimension!
just changing the battery icon to a gears of war one a friend of mine was using
did you ever get everything pulled and the icons replaced
Is there a way to get this without rooting/custom rom? Much appreciated if someone could give me step-by-step instructions as I'm still a noob.
BestInGalaxy said:
Is there a way to get this without rooting/custom rom? Much appreciated if someone could give me step-by-step instructions as I'm still a noob.
Click to expand...
Click to collapse
You need to be rooted and deodexed at a minimum. Stock roms out there that just deodex and root with no other changes. Reason is you need CWM to flash the modified framework-res which would be easiest since your not used to all of this. Also deodexed is a must in order to theme roms.
Here is rough instructions if your on stock rom with root and is deodexed:
First download APK Multi Tool and extract it to a folder on your desktop
Download APK Multi Tool
Download Notepad++ google for the download
Download this update.zip from my ICS theme.
Open the Multi Tool folder and open folder Place-apk-for-modding-here.
Next open the ZIP for the rooted/deodexed ROM your running. Browse to System > Framework and drag framework-res.apk from the ZIP to the Place-apk-for-modding-here folder.
Now in go one folder to the main folder of Multi-tool and click script.bat at the bottom of the folder. It will open a cmd prompt click continue to bring up the menu.
Type in option 25 and hit enter.
Type in 1 hit enter(you've selected framework-res)
Now type in 9 and hit enter to decompile. Give it a few minutes when your back at main menu and its waiting for input minimize the cmd prompt(do not close it).
Open projects folder then browse in this order framework-res.apk > res > values. In values folder open bools.xml with notepad++.
With bools.xml opened in Notepad++ browse to Line 16: it should look like this:
<bool name="config_animateScreenLights">true</bool>
Click to expand...
Click to collapse
Change from true to false and save XML.
Now open Multi apk cmd prompt type in 11 and hit enter. Give it a few you will be asked if its a system apk input Y then hit enter. Next screen input Y and hit enter. Let it do its thing and you will see a small paragraph stating pretty much delete what you've changed and delete resources.arsc if you've edited an XML.
Anyhow dont hit any keys leave that paragraph up for the moment. Minimize cmd prompt then get to main folder of Apk multi tool you will see a keep folder. Inside the folder delete only Resources.arsc then pull back up CMD prompt. Hit any key let it finish up.
Now minimize cmd prompt and go back into Place-apk-for-modding-here folder you will see unsignedframework-res.apk.
Delete original framework-res.apk and rename the unsignedframework-res.apk to framework-res.apk.
Open the ZIP package you downloaded from my theme browse to System > framework.
You will see only framework-res.apk in there drag the modded one you just did into there and then drag this zip to your SDCARD and flash from CWM.
What in the world... my head hurts LOL. Um what does deodexed mean and how do I know I'm "deodexed"?
BestInGalaxy said:
What in the world... my head hurts LOL. Um what does deodexed mean and how do I know I'm "deodexed"?
Click to expand...
Click to collapse
Google sir. That is a step by step I typed up. I recommend ignoring it until you learn more about the phone though.
Sent from my SAMSUNG-SGH-I777 using xda premium
K, I'm willing to learn. Uh, let's start with baby steps, lol. If I root my device, will I be able to update to ICS 4.0 when it becomes available?
In short, yes. There are other threads that answer that fully.
You will always be able to take your phone 'back' to stock like it was when you first got it, to be able to install ICS from At&t.
Though you will be able to install ICS before it is released from At&t by installing a custom rom. It's not a possibility, it's a fact. Just be patient.
Sent from my SAMSUNG-SGH-I777 using XDA App
jivy26 said:
You need to be rooted and deodexed at a minimum. Stock roms out there that just deodex and root with no other changes. Reason is you need CWM to flash the modified framework-res which would be easiest since your not used to all of this. Also deodexed is a must in order to theme roms.
Here is rough instructions if your on stock rom with root and is deodexed:
First download APK Multi Tool and extract it to a folder on your desktop
Download APK Multi Tool
Download Notepad++ google for the download
Download this update.zip from my ICS theme.
Open the Multi Tool folder and open folder Place-apk-for-modding-here.
Next open the ZIP for the rooted/deodexed ROM your running. Browse to System > Framework and drag framework-res.apk from the ZIP to the Place-apk-for-modding-here folder.
Now in go one folder to the main folder of Multi-tool and click script.bat at the bottom of the folder. It will open a cmd prompt click continue to bring up the menu.
Type in option 25 and hit enter.
Type in 1 hit enter(you've selected framework-res)
Now type in 9 and hit enter to decompile. Give it a few minutes when your back at main menu and its waiting for input minimize the cmd prompt(do not close it).
Open projects folder then browse in this order framework-res.apk > res > values. In values folder open bools.xml with notepad++.
With bools.xml opened in Notepad++ browse to Line 16: it should look like this:
Change from true to false and save XML.
Now open Multi apk cmd prompt type in 11 and hit enter. Give it a few you will be asked if its a system apk input Y then hit enter. Next screen input Y and hit enter. Let it do its thing and you will see a small paragraph stating pretty much delete what you've changed and delete resources.arsc if you've edited an XML.
Anyhow dont hit any keys leave that paragraph up for the moment. Minimize cmd prompt then get to main folder of Apk multi tool you will see a keep folder. Inside the folder delete only Resources.arsc then pull back up CMD prompt. Hit any key let it finish up.
Now minimize cmd prompt and go back into Place-apk-for-modding-here folder you will see unsignedframework-res.apk.
Delete original framework-res.apk and rename the unsignedframework-res.apk to framework-res.apk.
Open the ZIP package you downloaded from my theme browse to System > framework.
You will see only framework-res.apk in there drag the modded one you just did into there and then drag this zip to your SDCARD and flash from CWM.
Click to expand...
Click to collapse
Wow that's one hell of a step by step, and here I was Modding apks in 7zip
sent from the Dark Obelisk.
You're good Jivy26
hey there Jivy.. i'm a Sensation noob, but all was going too well with your step by step process parameter, untill i got the following error
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
'java' is not recognized as an internal or external command,
operable program or batch file.
am i missing something?????
d.durrani said:
hey there Jivy.. i'm a Sensation noob, but all was going too well with your step by step process parameter, untill i got the following error
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
'java' is not recognized as an internal or external command,
operable program or batch file.
am i missing something?????
Click to expand...
Click to collapse
Do you have java installed on your computer?
Sent from my GT-I9100 using Tapatalk
How to modify your framework-res.apk
There are plenty of "How-to's" out there that I've seen for modifying the framework-res.apk. I've tried probably 20 of them...all resulted in getting stuck in a bootloop. Finally figured out a method that works.
Here goes:
THIS IS FOR LINUX BASED USERS
Go to www.jokersax.com and grab my tool.zip under Th3Bill Mods
Extract it in your HOME folder
Inside it you will find 2 versions of apktool. There is a good reason for that, which you will see later.
You also need a good xml editor like Editra (available in most distros packages)
Need an archive manager as well (I recommend File Roller)
[COLOR="green"[B][U]]Initial Setup:[/U][/B][/COLOR][/SIZE]
[SIZE="3"]1) Open your Home folder and select to show hidden files
2) Open your .bashrc file
3) Add the following lines to the bottom of the file
export PATH=${PATH}:~/bin
export PATH=${PATH}:~/tool/reg
export PATH=${PATH}:~/tool/ics
Then save the file
4) Open your .profile file
5) Add the following line to the bottom of the file
PATH="$HOME/tool/ics:$HOME/tool/reg:$PATH"
Then save the file.
Now, on to editing
1) Navigate to the framework folder that your framework-res.apk is in.
2) Open a terminal
3) Type in "reg if framework-res.apk" no quotations and press Enter
4) Type in "reg d framework-res.apk" no quotations and press Enter Now minimize terminal (you'll use it later)
5) You should see in your file manager the folder called framework-res. This is your decompiled framework-res.apk
6) Make your edits. be careful....this file controls a TON of things in your system, and you can make some major problems for yourself if you edit things incorrectly.
7) Once your edits are done, go back to your terminal session
8) Type in the following "ics b framework-res" no quotations (where *username* is your account username) and press Enter.
9) It should recompile correctly. You'll have a framework-res.apk in the /framework-res/dist folder. DO NOT USE THIS ONE WILL CAUSE BOOTLOOPS!!
10) Open it with an archive manager and extract the resources.arsc as well as any files you edited in the xml folder.
11) Go back to your ORIGINAL framework-res.apk and open (not extract) it in your archive program
12) Add in the files you extracted from the edited framework-res.apk, placing them in the appropriate folders
13) You're done!
Cheers!
P.S. If you get a recompile error that mentions plurals, you have some work to do. Go to the values folders one at a time and look for the plurals.xml files. You will see a bunch of entries....scroll all the way down till you see a section that looks like this:
<plurals name="matches_found">
<item quantity="other">%d of %d</item>
<item quantity="one">1 match</item>
you need to edit this section to look like this:
<plurals name="matches_found">
<item quantity="other">%1$d of %2$d</item>
<item quantity="one">1 match</item>
This must be done for EACH plural.xml file...placing 1$ behind the first % and 2$ behind the second one. Save each as you go. Then recompile, and you should be good to go.
HOW TO LOGCAT PROPERLY
Here's how to logcat so that a dev can actually help fix your issue
SETUP
1) Download Android SDK from HERE
2) Place it directly in your HOME folder
3) Extract the file there and rename the folder android-sdk
4) Go to the platform-tools folder and double-click android
5) Download at least the tools and platform-tools. You can download other stuff, but that's unnecessary for this exercise.
6) Close SDK when it's done
Now to LOGCAT
1) Navigate to the /platform-tools folder.
2) Open a terminal
3) Type in either A or B depending on your system
A) (works on Ubuntu derivatives)
sudo ./adb kill-server
sudo ./adb start-server
B) (Suse, Fedora, etc)
su
(enter your password)
./adb kill-server
./adb-start-server
Now, the server should be running....leave it open!
4) Plug your phone into the PC (making sure that if it's ON, that you have android debugging enabled...or the proper edit in build.prop listed below)
5) If your phone is OFF(meaning you can't get it to boot from a rom/mod you did), follow A). If your phone is ON (meanint working but has a FC somewhere), follow B)
A) Type into the terminal the following
./adb logcat -C
and press enter. Should say waiting for device. Turn on your phone. When it gets to a section where you see a large amount of red pass by on the screen (like 8-10 lines), go to step 6
B) Be sure to turn off ALL apps that are NOT related to your FC (this makes it nice and neat for us to read the logcat)
Open terminal and type in the following
./adb logcat -C
and press enter. You should see it start to log stuff...it'll be going by really fast...don't worry about that right now.
NOW, do whatever it is that fcs (open the app, process, etc) and wait for it to FC. When it does, go to step 6
6) With the Terminal being your primary window in the PC, Press Ctrl +Z. This will stop the logcat output
7) Search through the logcat for the section with all the red (you'll see a bunch of E's). Don't cut this up on us...we may need some of the other info
8) Select about 30-40 lines ABOVE the red error section through about 10-20 lines AFTER the error section
9) Paste this into Pastebin. Please don't send us this in an e-mail...it just looks a hot mess that way.
10) Link to the Dev.
CHEERS!
Blank flashable zip
For all of you out there wanting to flash an app or framework file, here is a flashable zip that is blank. It contains instructions inside it, so PLEASE
READ THE FILE LABELED "READ ME FIRST!!!!"
This will make a simple process of flashing the items you want to flash.
CHECK POST 8 FOR CORRECTED INFORMATION
Any questions...ask me
Could we use this to turn our phones into a space/time bending machine??
Lol jk. Thanks for the information and flash able zip!!!
Sent from my MB855 using XDA
tsdeaton said:
Could we use this to turn our phones into a space/time bending machine??
Lol jk. Thanks for the information and flash able zip!!!
Sent from my MB855 using XDA
Click to expand...
Click to collapse
Don't I wish...or an intelligence enhancer...LOL
Glad to share
th3bill said:
don't i wish...or an intelligence enhancer...lol
glad to share
Click to expand...
Click to collapse
lmao! +1476930593
Bad ass thread buddy thanks for the how to's and blank flash zips these will surely come in handy....
MIUI/ICS for the Photon
http://forum.xda-developers.com/showthread.php?t=1536161
For deodexed I'm guessing.
Th3Bill said:
For all of you out there wanting to flash an app or framework file, here is a flashable zip that is blank. It contains instructions inside it, so PLEASE
READ THE FILE LABELED "READ ME FIRST!!!!"
This will make a simple process of flashing the items you want to flash.
If you wish to flash other items, you simply need to make sure that the item you want is in the folder it would be in within your phone, so if you want something to go into /system/lib, make sure that you create a folder /lib inside the /system folder in the zip and put the file inside that folder.
Any questions...ask me
Click to expand...
Click to collapse
Also, I should add that I forgot something in the explanation for this file. Wherever you are putting the file you're flashing (app, framework), you will need to adjust the permissions portion of the updater-script to show that file. Otherwise, you will set your entire /system to those permissions and you will get wonderful boot-loops
So, for app Music.apk, that line would look like:
set_perm(0, 0, 0755, 0644, "/system/app/music.apk");
Here is the updated file with the corrected instructions inside it Sorry for any issues fellas!
Blank CWM2.zip
Go to the site to download the file
Cheers!
TOOLS
Who doesn't love tools?
I've seen a lot of confusion over which versions to use for decompiling. Magic values being off with the current version of Android being pushed to 4.0.4.
Here's a helpful little tool kit. Disclaimer: It's for Linux based systems(save for the Androidsuite). I will try to find all these for Windows at some point, but with MIUI for Photon and Atrix, CNA for Photon, and Kitchen Sinks for both Photon and Atrix, I'm spread a little thin for some of these how-tos. I will post more soon once Kitchen Sink is Beta.
Tool.zip
Go to the site and download the file.
There's a small file inside with an explanation of each tool. NOTE: I put that Android suite works in Wine. It does not. It will OPEN and look like it might work, but does not recompile or decompile anything. It's a windows only wonder...LOL
Is there any way you'd be able to write up a How-To on how to use Diff/Patch in the laments terms, with Android specific type files directions cuz I'm trying to figure it out but since all the info I find is for applying it to everything other than Android. I'm on a mac and have it all setup correctly but I fk shyt up cuz I lose a step or something.
By the way, thanks for this How to also. Awesome.
MoPhoACTV Initiative
moonzbabysh said:
Is there any way you'd be able to write up a How-To on how to use Diff/Patch in the laments terms, with Android specific type files directions cuz I'm trying to figure it out but since all the info I find is for applying it to everything other than Android. I'm on a mac and have it all setup correctly but I fk shyt up cuz I lose a step or something.
By the way, thanks for this How to also. Awesome.
MoPhoACTV Initiative
Click to expand...
Click to collapse
What are you trying to do? You looking to do rom porting? Try to change some features? Change colors in a menu? Need a bit more info. Depending on what you're wanting to do will determine what the steps will be.
Idiots guide to porting ROMs for Photon, now THAT would be great. Sure it'd be a PITA and 3/4 to make though lol, great work on keeping up this how-to thread and all your ROM work!
w0lf215 said:
Idiots guide to porting ROMs for Photon, now THAT would be great. Sure it'd be a PITA and 3/4 to make though lol, great work on keeping up this how-to thread and all your ROM work!
Click to expand...
Click to collapse
<<<[----RECOGNIZED CONTRIBUTOR now
I feel bad that I haven't written more "how to's" in a while, but with 6 downloads I'm currently doing (MIUI Photon, MIUI Atrix, CNA Photon, Kitchen Sink Photon, Kitchen Sink Atrix, TabletUI Photon), I'm being spread pretty thin....LOL. It's all good. I love doing this stuff.
I promise to write more of these as I get a chance. I like to have more people help with stuff.
Th3Bill said:
<<<[----RECOGNIZED CONTRIBUTOR now
I feel bad that I haven't written more "how to's" in a while, but with 6 downloads I'm currently doing (MIUI Photon, MIUI Atrix, CNA Photon, Kitchen Sink Photon, Kitchen Sink Atrix, TabletUI Photon), I'm being spread pretty thin....LOL. It's all good. I love doing this stuff.
I promise to write more of these as I get a chance. I like to have more people help with stuff.
Click to expand...
Click to collapse
I noticed that a little while ago, Congrats on the new title thats whats up.
btw check your pm
moonzbabysh said:
I noticed that a little while ago, Congrats on the new title thats whats up.
btw check your pm
Click to expand...
Click to collapse
Check yours...got a book in there for ya...LOL
Updated OP How Tos.....Framework-res edit and Logcatting
Th3Bill said:
Updated OP How Tos.....Framework-res edit and Logcatting
Click to expand...
Click to collapse
Just setting up on pc. Ready to try this. You may be hearing from me! LOL
So my friend was playing around with my T-Prime awhile back when he shows me he has entered the incorrect pattern so many times that it will only allow me to sign in with my Google account to regain access to it. Im like okay, no big deal, ill just sign in change the password and no problem.. Well, I have tried that and it will not accept my log in information.. I know the username (email) and password is right. I can log in from my computer just fine and I haven't changed the password for that account since I've had the tablet. I do not know what else to do..? I have tried putting just the first part of my username, tried entering null into the password box. didn't work.. I believe it might have something to do with the wifi not being on, but i cant turn it on because my tablet is locked! Is there anyway i can use ADB or something to turn wifi on or to let me reset the lock screen so i can enter my unlock pattern? I do know what the unlock pattern is. I would really like to not have to factory reset and wipe all the data and loose everything.. Thanks in advance!
You can use adb if you had usb debugging e.nabled and then you can remove some file which keeps the lockscreen info.I can't remember the file name but you can google it.If uou can't find anything the only thing you can do is hard reset.
Sent from my Optimus Me using xda premium
yup
but rember if you try to whipe data/cash in recovery mode u still have to enter your lockscreen password
as mentioned try hardreset via buttons at startup
hope u get done fast =)
nerot said:
You can use adb if you had usb debugging e.nabled and then you can remove some file which keeps the lockscreen info.I can't remember the file name but you can google it.If uou can't find anything the only thing you can do is hard reset.
Click to expand...
Click to collapse
I do have debugging enabled and I'm not really good with ADB, but I have tried accessing the file in: data/data/com.android.providers.settings/databases/settings.db
Now on my OG Droid, when I navigate to this file using Root Explorer, it allows me to open and view the settings.db file with its internal viewer, where I can see an entry called "secure". When you open that, the most notable entry is the one called "lockscreen.lockedoutpermanently" and its value is of course 0 being "false", because this is on my Droid. but its likely the value of 1 means "true", which is what i assume to be the case on my T-Prime. This all seems like a promising lead, meaning, in theory, all I would have to do is be able to get that file from the tablet and change the value to 0.. however, using ADB when I navigate to that folder, I cannot pull the settings.db file because it says permission denied. Any ideas on what might cause that? I might not be using ADB correctly, or its because it's a system file. I found some instructions awhile ago saying you could use ADB and call a program called sqlite3 to edit the file that way and return the value to 0, but when I tried that it could not locate a program called sqlite3.. Also, I have tried hard resetting with volume down and power multiple times.. no luck.. So I'm out of knowledge and ideas..
Ryco26 said:
I do have debugging enabled and I'm not really good with ADB, but I have tried accessing the file in: data/data/com.android.providers.settings/databases/settings.db
Now on my OG Droid, when I navigate to this file using Root Explorer, it allows me to open and view the settings.db file with its internal viewer, where I can see an entry called "secure". When you open that, the most notable entry is the one called "lockscreen.lockedoutpermanently" and its value is of course 0 being "false", because this is on my Droid. but its likely the value of 1 means "true", which is what i assume to be the case on my T-Prime. This all seems like a promising lead, meaning, in theory, all I would have to do is be able to get that file from the tablet and change the value to 0.. however, using ADB when I navigate to that folder, I cannot pull the settings.db file because it says permission denied. Any ideas on what might cause that? I might not be using ADB correctly, or its because it's a system file. I found some instructions awhile ago saying you could use ADB and call a program called sqlite3 to edit the file that way and return the value to 0, but when I tried that it could not locate a program called sqlite3.. Also, I have tried hard resetting with volume down and power multiple times.. no luck.. So I'm out of knowledge and ideas..
Click to expand...
Click to collapse
Hmm try typing
su
*adb pull command*
if it doesn't work download Qt ADB and use that its a windows software.Afte lr you download it get the file and upload it here.I might be able to help you then,edit it reupload it so that you can push it back and see.
Sent from my Optimus Me using xda premium
nerot said:
Hmm try typing
su
*adb pull command*
if it doesn't work download Qt ADB and use that its a windows software.Afte lr you download it get the file and upload it here.I might be able to help you then,edit it reupload it so that you can push it back and see.
Click to expand...
Click to collapse
This is what I have tried doing so far:
using ADB and typing:
adb shell
[email protected]:/ $ su
[email protected]:/ # adb pull data/data/com.android.providers.settings/databases/settings.db C:\Users\Ryan\Desktop
and it returns "error device not found"
I have tried:
adb pull data/data/com.android.providers.settings/databases/settings.db C:\Users\Ryan\Desktop
and it returns "failed to copy 'data/data/com.android.providers.settings/databases/settings.db' to 'C:\Users\Ryan\Desktop/settings.db': Permission denied"
here's what it shows:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If i just try to pull the whole data folder, it returns:
"pull: building file list... 0 files pulled. 0 files skipped."
I dont know whats wrong here.. it does not want me to have access to the data folder in any way I try to pull from there.. maybe I'm missing something.. like I said I'm not very good with ADB.
So then I tried using QtADB like you recommended, which looked really promising! and it does work great for a lot of things. I'm happy to now have it if I need it.. except when I try to use it to navigate into the data folder it shows nothing!
See the screen shots:
and
Any ideas what to do?
Dude. Go on your comp. Go to the play store and look for no luck screen. There's an app that disables your lock screen in instances like this. It tells you to download it to your phone, then to find another app to download. Do that from your comp and you're golden
Sent from my 8-Core LG Galaxy S7
Alphaneus said:
Dude. Go on your comp. Go to the play store and look for no luck screen. There's an app that disables your lock screen in instances like this. It tells you to download it to your phone, then to find another app to download. Do that from your comp and you're golden
Click to expand...
Click to collapse
You do realize I wont be able to set the app up, or even download it to the tablet..? The tablet is locked, I cannot unlock it to set the app up, and the wifi is not on, so no internet connection.
I may be missing something here, but I am honestly open to any ideas.
Ryco26 said:
This is what I have tried doing so far:
using ADB and typing:
adb shell
[email protected]:/ $ su
[email protected]:/ # adb pull data/data/com.android.providers.settings/databases/settings.db C:\Users\Ryan\Desktop
and it returns "error device not found"
I have tried:
adb pull data/data/com.android.providers.settings/databases/settings.db C:\Users\Ryan\Desktop
and it returns "failed to copy 'data/data/com.android.providers.settings/databases/settings.db' to 'C:\Users\Ryan\Desktop/settings.db': Permission denied"
here's what it shows: http://oi47.tinypic.com/mcum8z.jpg
If i just try to pull the whole data folder, it returns:
"pull: building file list... 0 files pulled. 0 files skipped."
I dont know whats wrong here.. it does not want me to have access to the data folder in any way I try to pull from there.. maybe I'm missing something.. like I said I'm not very good with ADB.
So then I tried using QtADB like you recommended, which looked really promising! and it does work great for a lot of things. I'm happy to now have it if I need it.. except when I try to use it to navigate into the data folder it shows nothing!
See the screen shots:
http://oi47.tinypic.com/9sc7c8.jpg
and
http://oi49.tinypic.com/f1hycw.jpg
Any ideas what to do?
Click to expand...
Click to collapse
Hmm there must be some sort of protection.Are you rooted? If not thwn I really don't know what else you could do.The only thing that you can do is go to the place where you bought it and explain the situation and hope they will take it for repair.
Sent from my Optimus Me using xda premium
nerot said:
Hmm there must be some sort of protection.Are you rooted? If not thwn I really don't know what else you could do.The only thing that you can do is go to the place where you bought it and explain the situation and hope they will take it for repair.
Click to expand...
Click to collapse
Yes, I am rooted.. and I did figure out what was wrong! I had to change the permissions of each folder and the settings.db file to allow "other" to read, write and execute.
I used ls -l to see what was there and what permissions they currently had and took note. So here's what I had to do.
> adb shell
$ ls -l
gives you this:
(This is after I had already changed the permissions)
So I then took note of all the permissions of the folders that were in the path of data/data/com.android.providers.settings/databases/settings.db
I then read up on changing permissions and came across this site: http://ss64.com/bash/chmod.html
Very useful.
So I then did:
$ su
# chmod 777 data/
and it worked. I could now see the data/ folder in QtADB
So, finally some progress!
I did the same thing for the remaining folders using chmod and changed whatever the existing permissions were by adding only read, write and execute to the "other" category. This works perfectly on my Droid. and after all that I can use adb and pull the settings.db file right to my desktop or wherever. I then found an SQLite program to open and edit the file on my computer. http://sourceforge.net/projects/sqlitebrowser/
This all works perfectly and now I'm thinking all I have to do is do all of this to my T-Prime, pull the file, edit the database file, push back to device, go back and change permissions back to the way they were, reboot and I'm good to go.
However, I make it into the databases/ folder and discover there are 3 files in there.
1) settings.db
2) settings.db-shm
3) settings.db-wal
There was only one on my droid. And the main database file seems to kind of depend on the others. So I pull it and try to open it with the program I mentioned earlier and it is empty. there is nothing in it to edit. the file size is 39Kb, which is slightly larger than the 34Kb file I pulled from my Droid, yet its empty. I don't know how to edit it at this point. I believe it uses the other 2 files somehow.
I would like someone else, preferably with a Transformer Prime, to try this, pull the file and upload and link it so I can see if it will open for me and contain anything. They don't seem to contain any personal or device specific information in them, just settings. if it's from another Prime and opens for me, what the heck, i'll push it onto mine and give it a shot. All I have now is a $630 paperweight and headache.
You could try using your phone to edit it using an editor from the market, then push the file back to your tab.
I had something like this happen to me once when trying to import contacts to a freshly reset device.
What worked for me was disabling 2 step verification in Gmail.
Theonew said:
You could try using your phone to edit it using an editor from the market, then push the file back to your tab.
Click to expand...
Click to collapse
I thought of that too and I tried doing that. It says: "An error occurred while opening the database. database disk image is malformed: , while compiling: SELECT * FROM sqlite_master WHERE type in('table','view') ORDER BY name"
Whatever that means.. I don't know.
Thanks for the suggestion though.
Try using SQLite Editor from the market.
Theonew said:
Try using SQLite Editor from the market.
Click to expand...
Click to collapse
That is what I'm using in the previous post. I navigate to it through Root Explorer and it opens it with that. it opens all the other ones just fine though..
Ryco26 said:
That is what I'm using in the previous post. I navigate to it through Root Explorer and it opens it with that. it opens all the other ones just fine though..
Click to expand...
Click to collapse
That is weird. I tried it with the one from my tab and it opened it perfectly. Have you tried another editor in that case?
Theonew said:
That is weird. I tried it with the one from my tab and it opened it perfectly. Have you tried another editor in that case?
Click to expand...
Click to collapse
Yeah, I have tried the one on my computer, SQLite Editor, like you had mentioned and another from the market, i forget which one, but all with no luck. It's like because its locked, the file is blank.. but i think it could also be because of the other 2 files. The ones called settings.db-shm and settings.db-wal. What do you think? Do you have a T-Prime?
Ryco26 said:
Yeah, I have tried the one on my computer, SQLite Editor, like you had mentioned and another from the market, i forget which one, but all with no luck. It's like because its locked, the file is blank.. but i think it could also be because of the other 2 files. The ones called settings.db-shm and settings.db-wal. What do you think? Do you have a T-Prime?
Click to expand...
Click to collapse
No, I do not have a Prime (waiting for something else to come along ). You could try pulling all files and placing them in a folder, then using an editor to see if that works.
Theonew said:
No, I do not have a Prime (waiting for something else to come along ). You could try pulling all files and placing them in a folder, then using an editor to see if that works.
Click to expand...
Click to collapse
Oh ha okay. I shoulda waited for the TF700t.. anyway thats what i have done, is pull all files and put them into a folder.. it doesn't seem to make a difference because the -shm and -wal make them unreadable to average editors as database files. I can zip them and link them to you if you think you can figure something out?
Ryco26 said:
Oh ha okay. I shoulda waited for the TF700t.. anyway thats what i have done, is pull all files and put them into a folder.. it doesn't seem to make a difference because the -shm and -wal make them unreadable to average editors as database files. I can zip them and link them to you if you think you can figure something out?
Click to expand...
Click to collapse
Go ahead .
A quick question. How does one disable the CD ROM pop-up that appears when connecting the phone? I tried using the same code as on the original Incredible (##7764726), and while it does take me to the same feature editor and I can select CD ROM option and do "disable", it reverts to "enabled" immediately.
Thanks in advance!
PS If anyone knows how to move apps onto an external SD Card?
Boris1M said:
A quick question. How does one disable the CD ROM pop-up that appears when connecting the phone? I tried using the same code as on the original Incredible (##7764726), and while it does take me to the same feature editor and I can select CD ROM option and do "disable", it reverts to "enabled" immediately.
Thanks in advance!
PS If anyone knows how to move apps onto an external SD Card?
Click to expand...
Click to collapse
you ll need root and access to /system/
nitsuj17 said:
you ll need root and access to /system/
Click to expand...
Click to collapse
I do have that. Would you happen to have instructions how to get rid of it?
Thanks!
Don't have the phone in front of me right now, but i believe you navigate to \system\etc and cdrom.iso is in there, just delete it, or rename it (your choice).
If you don't have an app like rootexplorer you can also do it in TWRP's file manager. Just make sure you mount "system" first or you wont see the folder.
*Madmoose* said:
Don't have the phone in front of me right now, but i believe you navigate to \system\etc and cdrom.iso is in there, just delete it, or rename it (your choice).
If you don't have an app like rootexplorer you can also do it in TWRP's file manager. Just make sure you mount "system" first or you wont see the folder.
Click to expand...
Click to collapse
This worked for me:
Dial ##PROGRAM#
Press Call
Enter six zeros for the password
Go to Feature Settings
Disable CD ROM
Back out
ceayuso said:
This worked for me:
Dial ##PROGRAM#
Press Call
Enter six zeros for the password
Go to Feature Settings
Disable CD ROM
Back out
Click to expand...
Click to collapse
hmmm ##PROGRAM# does nothing for me.
The ##PROGRAM## worked for me and gave me the menu, but no matter how many times i set the cdrom to disabled it never changes, just remains enabled.
Void4ever
ceayuso said:
This worked for me:
Dial ##PROGRAM#
Press Call
Enter six zeros for the password
Go to Feature Settings
Disable CD ROM
Back out
Click to expand...
Click to collapse
I'm with void4ever. Dialing the ## code was the first thing I did, just like on old Inc. I see the menu, but the change to CD ROM setting does not stick. It reverts to Enabled as soon as I hit OK on the selector...
you go to system/etc/ and remove (or re-name to .bak) CDROM.ISO
*Madmoose* said:
Don't have the phone in front of me right now, but i believe you navigate to \system\etc and cdrom.iso is in there, just delete it, or rename it (your choice).
If you don't have an app like rootexplorer you can also do it in TWRP's file manager. Just make sure you mount "system" first or you wont see the folder.
Click to expand...
Click to collapse
Thanks! That worked. Not quite the way I like to make config changes, but as long as it works.