Hi Gang
I thought I would post this for those with Euro 3G xooms who are thinking of updating to tiamat 3.2 or one of the other kernels.
This is my Build.prop that gets the 3G working without any problems after updating. I have also added my telephony files as well if needed.
Regards
Lordao
Here are the commands for pushing them.
adb push build.prop /system/build.prop
and
adb push telephony.db /data/data/com.android.providers.telephony/databases/telephony.db
adb push telephony.db-journal /data/data/com.android.providers.telephony/databases/telephony.db-journal
Regards
Lordao
Related
Hey, I've searched and I cannot find anyway to do this so I'm hoping someone can help me out.
I'm trying to remove the hidden apns that are included in my hero rom. They are of no use to me and I would like to get rid of them.
Cheers in advance for your help.
I don’t know why you want to do this…the apn config file is an xml document that is probably 1 or 2kb in size…but okay. The file you want is /system/etc/apns-conf.xml
Code:
adb remount
adb shell
cd /system/etc
cp apns-conf.xml apns-conf.xml .old
exit
adb pull /system/etc/ apns-conf.xml <directory_on_your_pc>
Now remove all the apns you don’t need and save the changes
Code:
adb push <edited_apn_conf_file> /system/etc/apns-conf.xml
It is a lot of work for 0 benefit….but hope this is what you were looking for.
THIS THREAD IS NOW OUTDATED AND I WILL NOT BE RESPONDING TO ANY COMMENTS MADE ON THIS THREAD. THE V1.X AND BELOW SERIES OF MY SCRIPTS ARE NOW A THING OF MY PAST. BAD MISTAKES THAT'LL NEVER BE MADE AGAIN. NO MORE TALK ABOUT IT, I'M MOVING ON AND HOPING YOU ALL WILL TOO.
Person: "Kif, you say that you'll never make that mistake again but do you mean it?"
Kifno: "As of today, all I have to say is from now on my answer to that question will be answered by my actions on this forum."
Person: "Okay....chicken finger licking v2.0 sounds tasty...RELEASE IT ALREADY OR OR OR....BAD THINGS WILL HAPPEN...YEAH! BAD THINGS WILL HAPPEN, KIF!"
Kifno: "Okay I guess I should release it tonight.....give me about 20 more minutes..."
Person: "Okay but if v2.0 is not uploaded and thread posted for it in 20 minutes.....bad things will happen kif....bad things "
Kifno: (Knees shaking so hard they're making a clicking sounds as they hit each other) "Okay off to work then...."
NO MORE SUPPORT FOR THIS THREAD....MOD PLEASE CLOSE IT THANKS
I am very curious about this. What exactly is this changing?
Some more details would be appreciated!
Sent from my HERO200 using XDA App
I changed the phone ring delay, frequency of the wifi scanning, dalvik vm heap size, delay of the black screen when ending a phone call, the opengles 1.1 file...well you can read about that on the other thread by dearmasfamily
I edited the OP at the top so its more informative/detailed
Not tried it yet, but I think it's pretty cool that stuff like this still comes up this late in the life of the Heroc
Yeah I got this phone for xmas its a MAJOR upgrade from a verizon flip phone from 3 years ago lol So I'm still learning how to program and stuff for the hero but I'll be here helping the heroc community for a LONG WHILE
can't you use adb commands to install these tweaks (for those who don't have root explorer)?
I have adb but I haven't tried doing it that way. If someone can post instruction on how to do it that way that would of great help and I'll credit you in the OP
Also you can look into alternatives for root explorer for editing the system files
i believe it's something like
adb remount
adb push build.prop /system/build.prop
reboot
assuming of course put the build.prop in your tools folder
To do these two steps using adb
Navigate to System/lib/egl in root explorer and mount the directory System/lib/egl in r/w mode
paste the file it should prompt you to overwrite the old file. DO SO!
just do
Code:
adb remount
adb push ./libGLES_qcom.so /system/lib/egl
adb remount
^ this is assuming you put the libGLES_qcom.so file in your SDK/tools directory (same one that contains adb - at least the older debug version)
Edit: Also OP what changes were made to the openGL ES lib?
oh wow, i must have upset something. bootloops ahoy
brokentoaster24 said:
oh wow, i must have upset something. bootloops ahoy
Click to expand...
Click to collapse
Same here, running aospMod 9.9.2
If you take a close look at this build.prop, it's completely different, is it supposed to be?
shilent said:
Same here, running aospMod 9.9.2
If you take a close look at this build.prop, it's completely different, is it supposed to be?
Click to expand...
Click to collapse
Looks to me like its aimed for 2.1
Code:
ro.build.id=ERE27
ro.build.version.sdk=7
kyouko said:
Also OP what changes were made to the openGL ES lib?
Click to expand...
Click to collapse
nothing just it is a must that you replace the openGL ES lib 1.0 with the new and working openGL ES lib 1.1 not only because you get better performance from the new openGL and the build.prop but in order to avoid problems with the build.prop you must have that done before hand
And guys this is for sense 2.1
can someone post their aosp/cm6/other roms default build.prop i'll tweak it for you and attach it so that you can avoid the bootlooping and enjoy the speed gains and battery life guys like the rest of us 2.1 sense users
kifno said:
Credit:
dearmasfamily (opengles 1.1)
LexusBrian400 (tweaks)
kifno (testing)
What did I do?
I changed the phone ring delay, frequency of the wifi scanning, dalvik vm heap size, delay of the black screen when ending a phone call for our hero cdma's Then I tested to see if they work and they do
Requirements:
- Rooted HTC Hero CDMA
- Root Explorer (or alternative) or ADB
Instructions (For Root Explorer Users):
Nandroid and backup first just incase something goes wrong (though nothing should go wrong )
Download the qcom.zip from below
Extract it somewhere safe
Copy it to the root of your sd card (example: F:/) and rename it libGLES_qcom (new).so that way you'll know this is the new opengles file
Open root explorer
Navigate to System/lib/egl in root explorer and mount the directory System/lib/egl in r/w mode
copy the libGLES_qcom.so
navigate to the /sdcard and paste it there so you can have a backup if something goes wrong
then copy the libGLES_qcom (new).so
navigate to the system/lib/egl
paste it here
delete the old libGLES_qcom.so
rename the libGLES_qcom (new).so to libGLES_qcom.so
Download the build.prop edited zip from below
extract it somewhere safe
copy the file to the root of your sd card
open root explorer
copy the file
navigate to system/
mount the directory in r/w mode
paste the file
now delete the old build.prop
long press the build (edited).prop and rename it build.prop
now exit root explorer
reboot your phone
ENJOY!
Instructions (For adb Users):
NADROID BACKUP!
connect phone via usb with usb debugging enabled
now open a command prompt
now copy and paste the following code into the command prompt
Code:
cd \AndroidSDK\tools
Then download the qcom.zip from below and extract to the C:/AndroidSDK/tools directory
copy and paste the following codes into the command prompt
Code:
adb remount
adb push ./libGLES_qcom.so /system/lib/egl
adb remount
now download the build prop (edited).zip from below and extract to the C:/AndroidSDK/tools directory as well
rename the file to build.prop
now copy and paste the following code into the command prompt
Code:
adb remount
adb push ./build.prop /system
adb remount
adb reboot
ENJOY
Testing done by me and there are NO BUGS OR FC's found
Enjoy the new smoothness in games and slightly better overall battery life and performance
Click to expand...
Click to collapse
This build.prop is for android 2.1. You can't just replace yours with this. Try just doing the libGLES_qcom.so file. I'm wondering what was changed there and if it's even compatible with 2.2 or 2.3.
As far as build.prop file you can modify your own file by changing some parameters to change heap size, wifi scanning and such.
kifno said:
can someone post their aosp/cm6/other roms default build.prop i'll tweak it for you and attach it so that you can avoid the bootlooping and enjoy the speed gains and battery life guys like the rest of us 2.1 sense users
Click to expand...
Click to collapse
kifno, i'm curious about this and definitely willing to give it a shot.
here are the build.prop files from cm6.1 stable, aosp 2.2 version 0.9.9.2, and aosp 2.3 version 0.1.2. i just pulled them directly from the ROM update.zip files.
NOW AVAILABLE FOR CM6.1 STABLE, AOSP FROYO AND GINGERBREAD USERS
I need testers for the cm6.1 stable, aosp froyo and gingerbread build.prop to let me know if there are any problems with their roms because of this. Though there shouldn't be any problems AT ALL
Some credit to the people who made the ROMs that you 'borrowed' the build.prop files from would be nice. Like, the original one that you ripped from NfiniteFX's .7 stock release (which is no longer there).
Also, why do these build.prop files set the phone as a DROIDX ?
I appreciate the effort, good luck to those who use these.
sirmx said:
Some credit to the people who made the ROMs that you 'borrowed' the build.prop files from would be nice. Like, the original one that you ripped from NfiniteFX's .7 stock release (which is no longer there).
Also, why do these build.prop files set the phone as a DROIDX ?
I appreciate the effort, good luck to those who use these
Click to expand...
Click to collapse
If you change the device name to droidx more apps in the market are open not that the ALL new apps will be compatible but SOME will be so that is just to widen the availability of apps on the market for our heros
there are more tweaks besides that too that are better
and yeah i need to find out the names of the guys who made the roms. i have to leave now but when i am on my laptop again i will give them credit first thing
edit: i just noticed how cool you are
sirmx said:
Click to expand...
Click to collapse
Hello I was recently trying to push the framework-res.apk (the UAString one) by sangreal06 and after replacing the framework-res.apk (used root explorer) I shut my Xoom off. When I turned it back on it was stuck at the Dual Core Technology image. I found out my computer still recognized the Xoom and adb commands work. I am trying to push through adb the original framework-res.apk to see if that works but, the file system is read only. How do you make the file system read/write? Any help would be appreciated.
TLDR: How do you make the file system read/write?
adb remount
Sparticuz said:
adb remount
Click to expand...
Click to collapse
Feel a little stupid now but thx! Worked perfectly.
UPDATE: If you still have problems with ad-hoc networks try euroskank's latest CM9 build. It's recognizing ad-hoc networks without problems. I've not tried Quarx builds but they should be fixed aswell
Well, I saw many people asking for it and though it's a known fix, it doesn't comes bad a tread about it.
It's a very simple fix. As CM7 has a working connectivity to adhoc nets all u have to do is to copy the file /system/bin/wpa_supplicant from a CM7 rom and replace the same file in the folder in CM9 ROM. It's an easy job if you are running a double boot CM7/CM9.
If that doesn't work, you can also try in addition to the previous step, get the file /data/misc/wifi/wpa_supplicant.conf and replace it in the same folder under CM9. I'd recommend before doing this, to connect effectively to the adhoc net. That will save the SSID in the .conf file.
If not, you can create a new connection under settings>wifi using the desired SSID and try.
For those who don't have a dual boot with CM7 here are my files and you can try something with them (there's already a SSID named wifi win, if u cant make it work, try to rename your PC SSID to wifi win)
Well, hope this can help somebody, suggestion and advises are welcome
when I tried replacing wpa_supplicant from CM7 to CM9, it didn't work.
will try with config file later on as I am on MIUI now.
Try it and tell me, it worked to me
Don't forget to open Terminal Emulator and type:
su
chmod +x /system/bin/wpa_supplicant
Hi There,
I bought an atrix 2 that is supposedly unlocked and rooted. I download a root checker and it says it is rooted. I was reading that if it is unlocked that u can use a different carrier which I have been. The phone was set up at the beginning to use T Mobile with a APN set up for this carrier and it worked fine. To save some money I switched to simple mobile which is also working fine. This might seem petty but the T Moblie APN is locked and i would like to delete it but dont know how. Can anyone help? My phone is running the currant ICS 4.0 update.
Thank you
chrisroch40 said:
Hi There,
I bought an atrix 2 that is supposedly unlocked and rooted. I download a root checker and it says it is rooted. I was reading that if it is unlocked that u can use a different carrier which I have been. The phone was set up at the beginning to use T Mobile with a APN set up for this carrier and it worked fine. To save some money I switched to simple mobile which is also working fine. This might seem petty but the T Moblie APN is locked and i would like to delete it but dont know how. Can anyone help? My phone is running the currant ICS 4.0 update.
Thank you
Click to expand...
Click to collapse
You'll need SQLite editor for this.
Using that goto settings storage (com.motorola.android.providers.settings)
Open settings.db
Search for and change dun_apn_changeble,dun_enable to 1.
Reboot.
Sent from my MB865 using xda premium
I Tried
deveshmanish said:
You'll need SQLite editor for this.
Using that goto settings storage (com.motorola.android.providers.settings)
Open settings.db
Search for and change dun_apn_changeble,dun_enable to 1.
Reboot.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
I Installed SQLite and couldnt find the file u were referring to. I found something ending with providers settings but it was empty
Update
chrisroch40 said:
I Installed SQLite and couldnt find the file u were referring to. I found something ending with providers settings but it was empty
Click to expand...
Click to collapse
Ok I found the database and changed the dun_apn_changable and the dun_enable value from 0 to 1 and rebooted and the t-mobile apn is still locked?????????
Help!!!!
Hey just to be clear before anything else what exactly do you mean the apn is locked???Have you tried adding the apn for your new carrier manually by going into settings/more/mobile Network/acces point name/new apn???
Sent from my MB865 using xda premium
Locked APN
deveshmanish said:
Hey just to be clear before anything else what exactly do you mean the apn is locked???Have you tried adding the apn for your new carrier manually by going into settings/more/mobile Network/acces point name/new apn???
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
When I got the atrix 2 it was set up for T-Mobile with a tmobile apn. This apn has a locked symbol next to it. All i can do is open it and look at it. Cant edit or delete it. I added a simple mobile apn and the phone works fine with everything I am just wondering if there is any way to unlock the t-mobile apn so I can delete it????
You can still use your new apn even if the t-mobile apn is still there
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I know that
rdhoggattjr said:
You can still use your new apn even if the t-mobile apn is still there
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
I know it works I have stated that already I just want to clean up my phone and get rid of the t mobile apn. Man I didn't think it would be this hard anybody got any suggestions. Somebody put it in the phone and locked it there has to be a way to reverse this.
Thank You
chrisroch40 said:
I know it works I have stated that already I just want to clean up my phone and get rid of the t mobile apn. Man I didn't think it would be this hard anybody got any suggestions. Somebody put it in the phone and locked it there has to be a way to reverse this.
Thank You
Click to expand...
Click to collapse
If you really must remove it, there is only one way.... I will tell you that it is a little dangerous if you mess up you will bootloop and have to fxz.
You will need the android SDK.
Your phone needs to be rooted.
You need to use adb to pull the /system/etc/apns-conf.xml file to your computer.
Code:
adb pull /system/etc/apns-conf.xml
Now you can edit it with any text editor you want, and you will need to remove the whole block that has the tmo APN.
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
And do this to set the perms and owner correctly:
Code:
adb shell
su
chmod 644 /system/etc/apns-conf.xml
chown root /system/etc/apns-conf.xml
chgrp root /system/etc/apns-conf.xml
mount -o remount, ro /system
exit
exit
Now you can also just leave it there and it will hurt nothing.
Yes some things on this phone are harder to hack, but to me that makes it a little more fun and challenging.
Editing File
jimbridgman said:
If you really must remove it, there is only one way.... I will tell you that it is a little dangerous if you mess up you will bootloop and have to fxz.
You will need the android SDK.
Your phone needs to be rooted.
You need to use adb to pull the /system/etc/apns-conf.xml file to your computer.
Code:
adb pull /system/etc/apns-conf.xml
Now you can edit it with any text editor you want, and you will need to remove the whole block that has the tmo APN.
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
And do this to set the perms and owner correctly:
Code:
adb shell
su
chmod 644 /system/etc/apns-conf.xml
chown root /system/etc/apns-conf.xml
chgrp root /system/etc/apns-conf.xml
mount -o remount, ro /system
exit
exit
Now you can also just leave it there and it will hurt nothing.
Yes some things on this phone are harder to hack, but to me that makes it a little more fun and challenging.
Click to expand...
Click to collapse
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.
Permission denied
chrisroch40 said:
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.
Click to expand...
Click to collapse
OK i deleted the block and did like u said to push back to phone but keep getting permission denied..Help!!!!
chrisroch40 said:
OK i deleted the block and did like u said to push back to phone but keep getting permission denied..Help!!!!
Click to expand...
Click to collapse
You did not follow my directions then. I gave you every step. Take another look, as you can not copy files directly to /system/etc with out root perms.
permission denied
chrisroch40 said:
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.[/QU
Ok i did like u said and deleted the block but when i try pushing back to phone i get permission denied. Please Help.
Click to expand...
Click to collapse
Ok i pulled the file and deleted the T-mobile block i figure that out but when I tried to push back to phone i get permission denied. I followed the instructions.
jimbridgman said:
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
Click to expand...
Click to collapse
So Again, you can not just push the file to /system/etc.... follow that above and it will work, I do this all the time.
I do it exactly as u posted.
jimbridgman said:
So Again, you can not just push the file to /system/etc.... follow that above and it will work, I do this all the time.
Click to expand...
Click to collapse
I do it exactly as u say changing it to read write and that part goes fine. When i try pushing the file after that I get permission denied.