Related
This is just a simple build.prop mod to fix the fingerprint back to the working ERE27 one used in CM. Everything in Settings still shows FroYo, but the Market sees you as ERE27 & thus gives you your protected apps back
To install run this from the directory you unzip the file to:
ADB Method:
Code:
adb remount
adb shell rm /system/build.prop
adb push froyo.prop /system/build.prop
adb shell reboot
Then, once it reboots, go into the dialer, and type
Code:
*#*#CHECKIN#*#*
which is
Code:
*#*#2432546#*#*
for those of you who are too lazy to read the letters
A message should pop up into the status bar after a few seconds depending on your connection speed saying checkin succeeded.
Now you're good to go, open Market and download away
EDIT: Since I know some of you will wonder what this does, it just changes the ro.build.fingerprint & ro.build.description settings back to ERE27. This alone would normally be enough, but you're depending on luck to when you next check in. Dialing that code in the Dialer will force a checkin.
EDIT 2: Thanks to Shafty023 here is a method for the shell:
LINUX SHELL METHOD
Copy froyo.zip to /sdcard, then open a Terminal shell on your phone
Code:
su
mount -o remount,rw /system
cd /system
mv build.prop new.build.prop
unzip /sdcard/froyo.zip
mv froyo.prop build.prop
rm /sdcard/froyo.zip
reboot
Upon booting back up, open Dialer and type in the following code
Code:
*#*#2432546#*#*
Once you see a notification in the notification bar that says checkin succeeded you can now open Market and are done.
Nice! Trying it now.
EDIT: Working great so far. Thanks!
athereal said:
Nice! Trying it now.
EDIT: Working great so far. Thanks!
Click to expand...
Click to collapse
testing it in a few minutes too.... [UPDATE: works like a charm!]
Nice job Geniusdog254! really nice
thanks!
Thanks, works great!
Grrr... adb has been broken for me for months. Any way to fix this without adb?
Part Four said:
Grrr... adb has been broken for me for months. Any way to fix this without adb?
Click to expand...
Click to collapse
Use one of the root file explorers to unzip the file, delete the old build.prop, put the new one in, and then type the command in the dialer
Works like a charm, thanks!
Worked great, THANK YOU!!!!!
I'm getting checkin failed. should I have renamed froyo.prop to build.prop?
edit: I'm able to see protected apps though.
So what happens when apps start getting udated to take advantage of JIT? If you have ERE27 signature do you get the JIT'less version of the apps? I know Replica Island is coming with a JIT version. I'm afraid to mess with anything right now, rather be patient and give it a few days.
dudebro said:
I'm getting checkin failed. should I have renamed froyo.prop to build.prop?
edit: I'm able to see protected apps though.
Click to expand...
Click to collapse
If you inserted this line correctly, it renames and places the file in its directory as build.prop
adb push froyo.prop /system/build.prop
Mikey1022 said:
If you inserted this line correctly, it renames and places the file in its directory as build.prop
adb push froyo.prop /system/build.prop
Click to expand...
Click to collapse
yeah, I was wondering if it worked because I was getting checkin failed.
bluehaze said:
So what happens when apps start getting udated to take advantage of JIT? If you have ERE27 signature do you get the JIT'less version of the apps? I know Replica Island is coming with a JIT version. I'm afraid to mess with anything right now, rather be patient and give it a few days.
Click to expand...
Click to collapse
Apps don't have to be updated to take advantage of JIT at all. They can be optimized but they can be optimized without JIT too. There are no different versions. JIT just converts the Java/Dalvik code into native code at app launch, instead of running it through the slower virtual machine. Its like C++ vs Java on a desktop, the native code (C++) is much faster when executed.
The only thing this will lead to is when apps start showing up in the Market as 2.2+ only, but by that point Google will have updated the market to recognize the new footprint.
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
serialtoon said:
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
Click to expand...
Click to collapse
I think Twidroid Pro is protected.
What I'm wondering is, if somebody swaps out the build prop but hasn't installed flash yet, would this block them from doing so?
serialtoon said:
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
Click to expand...
Click to collapse
Pure calender widget (agenda) is a protected app taht doesnt show up in the 2.2 market
Edit: Works perfect! Thanks.
If you are having problems with the checkin, make sure your on 3g and not WiFi.
Mi|enko said:
I think Twidroid Pro is protected.
What I'm wondering is, if somebody swaps out the build prop but hasn't installed flash yet, would this block them from doing so?
Click to expand...
Click to collapse
Nope, Flash still shows up in the Market top apps for me, but I already have it installed. Technically it probably should show up only on the 2.2 Market, but Google may not be able to filter that yet since they haven't enabled the 2.2 fingerprint yet. Just theories here, don't take anything I say too seriously
Also, a perfect example of protected apps is all the Gameloft apps. Search the Market for Gameloft. They won't show up on 2.2 without this, I tried multiple times
Geniusdog254 said:
Nope, Flash still shows up in the Market top apps for me, but I already have it installed. Technically it probably should show up only on the 2.2 Market, but Google may not be able to filter that yet since they haven't enabled the 2.2 fingerprint yet. Just theories here, don't take anything I say too seriously
Also, a perfect example of protected apps is all the Gameloft apps. Search the Market for Gameloft. They won't show up on 2.2 without this, I tried multiple times
Click to expand...
Click to collapse
Yea, im not getting any of the GameLoft games.
serialtoon said:
Yea, im not getting any of the GameLoft games.
Click to expand...
Click to collapse
Even after this?
Finally we have a method to obtain root that does not involve installing the SDE and that works on at least three different firmware versions. 2.0.71, 2.1.02, 2.1.03, 2.1.08. For all the details see http://forum.xda-developers.com/showthread.php?t=928767
This program has the possibility to execute a script after root is acquired. See the readme.txt of Archangel v2.
You can create a script in /sdcard/sdcard/extraroot.sh and this will be executed as root
whenever you reboot, so you can use this to do any additional root functions you want.
If you make an error with this script which causes you a problem then you can eject your
sd card and reboot and it then will not execute.
Click to expand...
Click to collapse
NOTE: For windows users. Please use Notepad++ to edit the extraroot.sh and convert the file to unix format. In the menu choose "Format" -> "Convert to UNIX Format". This option is available with version v5.1.4 of Notepad++ it has been reported that it's not available in other versions.
Please post the firmware version, your script and a little description here.
Firmware 2.1.02, 2.1.03, 2.1.04,2.1.08 - Disable Swap
Swap is automatically enabled in these firmware versions.
Code:
swapoff /dev/block/mmcblk0p3
To verify that swap is turned off go to the Terminal Emulator and type free
Code:
/ $ free
total used free shared buffers
Mem: 243824 230972 12852 0 4332
Swap: 0 0 0
Total: 243824 230972 12852
Another way to turn off swap permanently without using the a script is to disable the swap service. This can be done from within the Terminal Emulator with the following commands
Code:
$su
#setprop persist.sys.archos.swapctl.en 0
Then reboot the device.
This only needs to be done once.
Firmware 2.0.71, 2.1.02, 2.1.03, 2.1.04, 2.1.08 - Disable ads
Disable ads. This was posted by archaism1 here http://forum.xda-developers.com/showthread.php?p=10941853#post10941853
Code:
cat <<EOF >/tmp/hosts
127.0.0.1 localhost
127.0.0.1 pagead2.googlesyndication.com pagead.l.google.com googleads.g.doubleclick.net
127.0.0.1 api.admob.com mm.admob.com r.admob.com mob.adwhirl.com cus.adwhirl.com met.adwhirl.com
EOF
mount --bind /tmp/hosts /etc/hosts
I have not tested this myself because I think the devs of applications need the ads to make some money.
Firmware 2.1.02, 2.1.03, 2.1.04, 2.1.08 - Swap on sd-card
Disable swap on internal storage and create a swap file on sd-card. The swap is 256Mb big to change the size just adjust the 256 value in the script.
ATTENTION: it can take a few minutes the first time the script is executed.
Code:
swapoff /dev/block/mmcblk0p3
if [ ! -f /sdcard/sdcard/myswap ]
then
echo "Creating swap file"
dd if=/dev/zero of=/sdcard/sdcard/myswap bs=1M count=256
mkswap /sdcard/sdcard/myswap
fi
swapon /sdcard/sdcard/myswap
And here the result of free
Code:
# free
total used free shared buffers
Mem: 243824 241432 2392 0 6232
Swap: 262136 320 261816
Total: 505960 241752 264208
WARNING: if you use a swapfile, which is described here, you can't use a usb connection to copy files without disabling the swap with the following command.
Code:
$su
#swapoff /sdcard/sdcard/myswap
Credit for this goes to http://forum.archosfans.com/viewtopic.php?f=74&t=42718
Hondaracer posted some scripts I'll include them as attachments
Advanced stuff.
Loading kernel modules.
There was a post in another thread about CifsManager here
chulri was so kind as to build the module. You can download it here.
Unzip the downloaded file and place it in a directory under /sdcard I suggest /sdcard/modules/
Add the following code to the extraroot.sh
Code:
insmod /sdcard/modules/cifs.ko
and reboot.
Now you can install CifsManager and start mapping drives.
Disable swap without using scripts
In Terminal Emulator execute following commands
Code:
$su
#setprop persist.sys.archos.swapctl.en 0
I have to create a file named extraroot.sh and and put it in /sdcard/sdcard ?
Do I need to make it executable ? (chmod +x)
Does it work only with permanent root ?
Thanks
ben.daccache said:
I have to create a file named extraroot.sh and and put it in /sdcard/sdcard ?
Do I need to make it executable ? (chmod +x)
Does it work only with permanent root ?
Thanks
Click to expand...
Click to collapse
You don't need to make it executable it's executed with sh /sdcard/sdcard/extraroot.sh
And you don't need the permanent root option either. It is also executed when you push the button.
Have tried your "Disable ads" script and it works perfect
No ads.
Why disable swap? Is there any reason?
cu
pOpY
PS: is there any way to increase the app storage size without using urkdroid?
popy2006 said:
Have tried your "Disable ads" script and it works perfect
No ads.
Click to expand...
Click to collapse
Good to know.
popy2006 said:
Why disable swap? Is there any reason?
Click to expand...
Click to collapse
There is some concern that swap on internal flash may reduce the lifetime of the flash. i just posted a way to enable swap on the sd-card . This is safer as the sdcard can be replaced the internal flash can not be replaced.
popy2006 said:
Is there any way to increase the app storage size without using urkdroid?
Click to expand...
Click to collapse
I'll look into it but i doubt it.
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
cu
pOpY
popy2006 said:
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
Click to expand...
Click to collapse
I have no idea why this was enabled by default. You have to ask Archos.
Swap
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Mod57 said:
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Click to expand...
Click to collapse
From what I can see all the commands to manage swap are present on the archos so both will probably work.
I'll get back to you.
Mod57 said:
Will Swapper for Root or Swapper 2 (for root user) do the same thing for us noob's?
Click to expand...
Click to collapse
Swapper for root is no solution as the swap file is created on the internal flash.
Swapper 2 on the other hand is working fine. But remember to place the swap on the external sd-card /sdcard/sdcard/swapfile.swp
I still placed
Code:
swapoff /dev/block/mmcblk0p3
in the extraroot.sh to be sure the internal swap was off.
Swap
Thank you.
wdl1908 said:
Originally Posted by popy2006
oh, thats a good reason to disable swap on the internal flash.
But i dont have an sdcard yet
Why then archos enables the swap default?
Click to expand...
Click to collapse
I have no idea why this was enabled by default. You have to ask Archos.
Click to expand...
Click to collapse
Probably the realization that they screwed up with only 256MB of RAM.
ARCHOS PRESIDENT: We get lots of complaints about the small RAM... what could we do?
ARCHOS ENGINEER: We can always use some of the internal flash for a swap.
ARCHOS PRESIDENT: Won't that decrease the life of the flash memory?
ARCHOS ENGINEER: Yes, but by then we'll have Gen9 out.
ARCHOS PRESIDENT: Great... go with it...
argie said:
Probably the realization that they screwed up with only 256MB of RAM.
ARCHOS PRESIDENT: We get lots of complaints about the small RAM... what could we do?
ARCHOS ENGINEER: We can always use some of the internal flash for a swap.
ARCHOS PRESIDENT: Won't that decrease the life of the flash memory?
ARCHOS ENGINEER: Yes, but by then we'll have Gen9 out.
ARCHOS PRESIDENT: Great... go with it...
Click to expand...
Click to collapse
LOL Good one.
I'v been doing some testing with swap and i'v seen not a lot of improvement.
Some tests I did.
Disable swap
install the flash plugin.
Go to the site of archosfans with the stock browser
Play the first flash video on the site.
The result is that after the video has started all apps in the background are killed off by the android memory manager and even ADW launcher is killed.
So second test
Enable swap
Go to the site of archosfans with the stock browser
Play the first flash video on the site.
Check with the command free via adb
The result is exactly the same as above and only 10Mb swap is used.
So for me swap is useless under android.
I suspect the android memory manager kicks in before the linux kernel has time to swap out the programs to free memory.
I also suspect that non of the real android apps are swapped out to those 10Mb but only the real linux programs are swapped out. I can't verify it at the moment as the top command thats installed does not show if a program is in swap or not.
Confirmation that it works on 2.1.04 from ShadowZephyr
I'm kinda lost when it comes to the extraroot.sh file. I created a sdcard folder in the sdcard, copy and pasted the script into a .txt file and renamed it to .sh. I'm guessing its wrong since nothing is happening. Could any kind soul shine a light on this?
Do these scripts work with the overclock zimage? Can i just point to the extraboot.sh in the init.rc?
smile_gerard said:
I'm kinda lost when it comes to the extraroot.sh file. I created a sdcard folder in the sdcard, copy and pasted the script into a .txt file and renamed it to .sh. I'm guessing its wrong since nothing is happening. Could any kind soul shine a light on this?
Click to expand...
Click to collapse
What do you mean when you say nothing is happening? What do you expect to happen? You won't see anything on the screen. And the script will only be run when the Archangel script tries to root the device.
liutszho said:
Do these scripts work with the overclock zimage? Can i just point to the extraboot.sh in the init.rc?
Click to expand...
Click to collapse
Why would you want these scripts to run on a fully rooted device. You can do anything you want on your device if it's fully rooted.
These scripts only make sense when used together with the Archangel root app.
Note: Please keep this thread restricted to Photon-specific issues. Atrix (and general) webtop2sd issues should be discussed in this thread instead. Threads for other devices are referenced at the top of the main webtop2sd thread.
Discuss webtop2sd here (the other thread will be kept clean for announcements, FAQs, etc.).
Before you report an issue:
Make sure it's not on the Known Issues list first!.
Basic debugging, since these are going to be questions I ask anyways:
If you hit problems with the Android webtop2sd application, you'll need to tell me the error, and give me the last few lines of adb logcat. Run this adb command, which will filter out most of the unimportant lines:
adb logcat ActivityManager:i AndroidRuntime:i webtop2sd:i *:s
Are you actually booting from your SD card? You can find this out by checking the Diagnostics tab in webtop2sd, under "Currently mounted webtops". If mmcblk1p12 isn't listed, you're not booted from your SD card. If this is the case, report what ROM you're running from.
Is the webtop configurator application showing, but not running successfully? If so, plug your device into your dock and run a terminal (either locally or adbWireless + adb shell) and run the following:
su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
python /usr/local/bin/webtop-configurator.pyc
I'll need whatever output shows up.
Tested this prior to release and can say this is what Moto should have thought of for webtop devices. Slower SD cards do cause noticable lag ofcourse so you want to have a class10. Once support for the internal memory is implimented it will eliminate the storage fragmentation and make this a "Crazy not to do this" mod.
Thanks
Dang I just realized I have a class 2 sd card. I guess it's time to upgrade.
Lokifish Marz said:
Tested this prior to release and can say this is what Moto should have thought of for webtop devices. Slower SD cards do cause noticable lag ofcourse so you want to have a class10. Once support for the internal memory is implimented it will eliminate the storage fragmentation and make this a "Crazy not to do this" mod.
Click to expand...
Click to collapse
Support for internal memory, though, will only be for /data (since attempting to create one in /mnt/sdcard causes serious issues), so unless the Photon has a significantly larger /data than the Atrix does, that may not make a significant difference.
Sogarth said:
Support for internal memory, though, will only be for /data (since attempting to create one in /mnt/sdcard causes serious issues), so unless the Photon has a significantly larger /data than the Atrix does, that may not make a significant difference.
Click to expand...
Click to collapse
I tried a /home and /usr move to /mnt/sdcard with very inconsistant results. The end result was always an rsd flash to get running again so I moved on to other things. I was hoping you had some tricks up your sleeve. Even with webtop2sd pretty much being a /sd-ext mount, this is still very usable. Considering the lack of space on /data I'm not sure if it's worth trying to bring that feature back unless /home can be move elsewhere.
I have had a couple more issues during the install and will try to duplicate and get you the logs.
Having just a tad bit of trouble with apt-get and the webtop-configurator... Are the repos down for the photon??
Code:
[email protected]:/$ python /usr/local/bin/webtop-configurator.pyc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Traceback (most recent call last):
File "./webtop-configurator.py", line 455, in <module>
File "./webtop-configurator.py", line 382, in main
File "./webtop-configurator.py", line 153, in install
SystemError: W:Failed to fetch [url]http://ca25-webtop-mirror.am.mot.com/mirror/ports.ubuntu.com/ubuntu-ports/pool/main/m/mktemp/mktemp_1.5-9_armel.deb[/url] Could not resolve 'ca25-webtop-mirror.am.mot.com'
, W:Failed to fetch [url]http://ca25-webtop-mirror.am.mot.com/mirror/ports.ubuntu.com/ubuntu-ports/pool/universe/d/debsums/debsums_2.0.40_all.deb[/url] Could not resolve 'ca25-webtop-mirror.am.mot.com'
, E:Aborting install.
If they are, does anyone have a cat output of the sources.list for the Atrix, maybe we could use that?
Edit: oh wait... only the bionic and photon are jaunty builds aren't they?
Cryp7os said:
Having just a tad bit of trouble with apt-get and the webtop-configurator... Are the repos down for the photon??
Code:
[email protected]:/$ python /usr/local/bin/webtop-configurator.pyc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Traceback (most recent call last):
File "./webtop-configurator.py", line 455, in <module>
File "./webtop-configurator.py", line 382, in main
File "./webtop-configurator.py", line 153, in install
SystemError: W:Failed to fetch [url]http://ca25-webtop-mirror.am.mot.com/mirror/ports.ubuntu.com/ubuntu-ports/pool/main/m/mktemp/mktemp_1.5-9_armel.deb[/url] Could not resolve 'ca25-webtop-mirror.am.mot.com'
, W:Failed to fetch [url]http://ca25-webtop-mirror.am.mot.com/mirror/ports.ubuntu.com/ubuntu-ports/pool/universe/d/debsums/debsums_2.0.40_all.deb[/url] Could not resolve 'ca25-webtop-mirror.am.mot.com'
, E:Aborting install.
If they are, does anyone have a cat output of the sources.list for the Atrix, maybe we could use that?
Edit: oh wait... only the bionic and photon are jaunty builds aren't they?
Click to expand...
Click to collapse
Fixing this right now. They changed the internal Motorola servers between the Atrix and Proton (which are both Jaunty - the Droid Bionic is Maverick). You should see a 2.0.1 shortly which will have a fixed webtop-configurator in it (for what little use it is ;p).
Sogarth said:
Fixing this right now. They changed the internal Motorola servers between the Atrix and Proton (which are both Jaunty - the Droid Bionic is Maverick). You should see a 2.0.1 shortly which will have a fixed webtop-configurator in it (for what little use it is ;p).
Click to expand...
Click to collapse
2.0.1 (October 9, 2011):
Tweak webtop-configurator for the Photon's sources.list.
Lxterminal not launching
Sent from my MB855 using XDA App
cybericebyte said:
Lxterminal not launching
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Did you use the webtop configurator to install it first? The lxterminal icon on the dock is a bit deceiving.
Ah sorry for got to mention webtop configurator not launching either.
Sent from my MB855 using XDA App
Hi, can simply delete the Webtop from your phone and free up space?
Just now I keep Atrix and the photon, the Atrix partition is 4GB, and 8GB for a photon. Not too much difference between the two phones is almost the same?
Updated my system to webtop2sd. Webtop works but only after I restart the phone. If I try to start it any other time the screen is just black. Running Loki webtop +
[UPDATE FOR JB.15][Custom Build Prop] Increase Performance & Battery Life of PRIME
MAJOR UPDATE: U.S. & WW. MODDED BUILD.PROP FOR NEW. 15 JELLYBEAN RELEASE ADDED. here are edited build.prop files for both the US & WW 10.4.2.15 Jelly Bean. Tweaks are listed as to what they are within the build.prop and to install just copy over using Root Explorer or similar app and then ensure permissions are set correctly. MUCH LOVE AND THANKX GO TO MR.WOOKIE FOR THIS and his constant contributions to making the prime a better device to own. I know I haven't been around as much as I don't own a prime anymore. But I can continue to update this thread as needed. Its very important that if issues arise, PLEASE TRY TO HELP ONE ANOTHER OUT. I can try to help out when I can. As always, make sure to set permissions correctly. JB build.prop Modding should be no different than previous versions. so most of the instructions in this OP/thread still apply. please post up how this mods are working for you on new JB firmware. if you notice any particular mod or line is causing problems with JB, please let us know. so it can be modified again. HAVE FUN...PRIME WILL ALWAYS BE HOME FOR ME
With the permission of the Original Developer, Seanzscreams, we bring a modified version of his mod for the 300 that now works on the Prime also. This is a custom modified build prop, that Brings Overall Performance & Battery life Improvements to the Transformer Prime. This will make your device feel more snappy and responsive overall. It should improve battery life. Other performance tweaks also will improve everyday use of Prime.Your device has to be on the latest U.S. .21 or U.S..28 firmware and rooted. If you on a ww version or other, you may need to tweak the build.prop to reflect your region version. Take a look inside the modded build.prop & see before you try it out. If you know how to edit it, give it a shot. just make sure to back up your original build.prop. If unsure, hit the link & ask the developer. It is possible to not be rooted and push this through ADB but being rooted makes it ALOT easier.
UPDATE: U.S. & WW .28 MODDED BUILD.PROP ADDED. EVERYTHING EXCEPT power collapse & wifi scanning added. some users reported issues that could be linked. same instructions on implementing this. MAKE SURE TO MAKE BACKUP OF YOUR ORIGINAL FILE. MIGHT BE BEST TO SEND IT TO SOMEPLACE OUTSIDE INTERNAL MEMORY OF PRIME. JUST TO BE ON THE SAFE SIDE.
*Users on region versions other than the US .21 or U.S. .28, read the tips at the end of this post before you attempt this. Putting this US version of build.prop in your device can cause issues if not properly edited to reflect your region.
*If you running Androwoki rom, no need to apply this tweak. the developer already added these tweaks to his ROM/build.prop.
-UPDATE: fellow member Mekrel made a .21 WW version of this for those who wish to try out. or you go the other route like mentioned in this post. the WW version is attached to this thread also.
Thanks to Hairdex for making a making a version for people running Team EOS Cornerstone build #9. only those on build #9 can use it.
-added De .21 version also
PLEASE READ IMPORTANT INFO & TIPS AT THE BOTTOM OF THIS POST IN CASE ANY POSSIBLE ISSUES ARISE.
Method described below is for rooted users as I don't really know how to do it the stock(not rooted) method through ADB. You can go to original thread and ask developer on how to push it through ADB method
Quote from developer, Seanzscreams:
" This is a modified build.prop to include all the latest ics tweaks
(from a build.prop standpoint)
forced 60fps
faster wifi connect and suplicant scan set at 100 (battery saver as well)
added deep sleep mode
added screen dithering
removed checkin back to base
kernel tweaked
dalvik mins and max set higher than stock
increased over-all fling velocity min and max now set
min at 8000 and max at 12000
a few nvidia specific graphics tweaks as well
. power collapse disable enabled
-and just a few i dont feel like explaining google is your friend"
Link to his original thread: http://forum.xda-developers.com/showthread.php?t=1641219
DISCLAIMER: I nor the original developer take responsibility if you don't follow instructions or researched first. USE AT YOUR OWN RISK. It should be a fast n simple mod. Works great on my prime. If you run into issues, we will help you the best we can. Please read the important info & tips at the bottom of this post. It could eliminate possible issues from arising.
USE ROOT EXPLORER:
this modded build.prop, which is attached to this thread, goes in /system. Make sure to back up your original build prop or add .bak to the end of it(.bak). I sent a copy of my original file to my drop box. just an extra safety precaution... You will need to change root explorer to mount as RW. after you back up the original file, paste the new modded build prop into /system. then long click on it and press permissions. the permissions need to be exactly like the original file. which is rw-r--r-- after you properly set the permissions, change root explorer back to Read only. then power down and reboot, then profit. You can reboot twice to make sure everything sticks, if you want. If you don't notice anything initially, let it cache(kind of like letting a car warm up before you drive off) just like with roms. just start using tab so it can cache.
CLARIFICATION ON SETTING PERMISSIONS IF UNSURE. your permissions for this mod build.prop should look like this: rw-r--r--
...........Read. Write
Owner. X .......... X
Group. X
Others. X
I would suggest before even applying this, open the mod build prop up in root explorer. then just take a look at it all. Then cross reference the new tweak lines added with the links I will provide now. These links show all the build prop tweaks and what they do. This is to get a better understanding of what will be improved on your device Performance & Battery Savings wise. It won't hurt for you to become more familiar with what the different lines do and it might eliminate some questions concerning what each does.
http://forum.xda-developers.com/showthread.php?t=1639104
http://forum.xda-developers.com/showthread.php?t=1510652
EXAMPLES OF SOME OF THE TWEAKS SEEN IN THIS MODDED BUILD.PROP & WHAT THEY DO OR AFFECT: Thankx to TheFrankenstain & H M Judge threads for Reference
- Allows the tablet to sleep better: This setting puts your tablet into a deeper sleep when on standby
ro.ril.disable.power.collapse=1
- Allows your wifi to scan less frequently, saving more battery
wifi.supplicant_scan_interval=100
- Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
-Increases Scrolling responsiveness
windowsmgr.max_events_per_sec=300
- Faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
-Increases quality of photo/Increases the memory cap when decoding JPEGs
ro.media.dec.jpeg.memcap=8000000
-Raises quality of JPEG images: makes JPEG Higher Quality
ro.media.enc.jpeg.quality=100
-Enable Surface dithering:Improves image quality
persist.sys.use_dithering=1
-System tweaks:
Change the Dalvik VM heap size
-dalvik.vm.heapsize=256m
-dalvik.vm.startheapsize = 8м
-makes apps load faster and frees more ram.
dalvik.vm.dexopt-flags=m=y
-Use Jit (Dalvik just-in-time compiler): faster better caching system
dalvik.vm.execution-mode=int:jit
-Disable error checking (Should speed things up a bit)
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
this has been running great for me so far. battery life seems improved and the responsiveness of the touch screen is unbelievable. it scrolls so fast n fluid it crazy. this is with the regular UI & within browsers. It also increases quality of your JPEG pictures. Im really impressed with it so far.
Do note though, once OTA update comes, it will knock all this out and a new custom build prop will have to be made. this is even if you accept the new OTA.
I will keep this thread updated to stay current with the developers original thread. As new updates come out, he will be modifying the newer build props within the update. So I will add those here as they come.
Make sure to click on the developer, Seanzscreams, original thread(http://forum.xda-developers.com/showthread.php?t=1641219) and give him thanks. You can leave feedback in this thread and original thread, if you wish. Feedback is encouraged as it will lead to better future results on this mod.
THANKS TO: Seanzscreams for Modding my Prime build prop. Now we have this MOD available to all prime owners on latest .21 firmware and rooted.
Attached to this post is a zip file with the custom build prop inside of it. The U.S. and WW version
*IMPORTANT:
If you come across a difficulty, you can ask in this thread or even better would be to ask in the developer original thread. He would know more on possible issues that may arise.
If you run into issues or caught in a bootloop or something here is how to use adb and push back your original build.prop file: Thanks to Mekrel
in regards to being for locked/unlocked users, I posted two sets of commands. Technically three scenarios exist:
Being locked
If you're locked, you're not going to have any third party kernel installed and therefore WILL have a secure kernel and therefore not able to push files to /system. That's why you need the command that involves pushing to the /sdcard and then using su via shell to copy from the /sdcard and then to /system.
Unlocked but with a kernel installed that's still secure
As above
Unlocked but with a kernel installed that's insecure
You can push directly to /system, so you don't have to push to the /sdcard first
If you're unlocked you're going to be running a secure kernel which means you're not going to be able to run adb as root, so even with root and the /system partition mount as r/w; you're not going to be able to push to system:
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
adb push build.prop /sdcard/
adb shell
su
cp /sdcard/build.prop /system
chmod 644 /system/build.prop
rm /sdcard/build.prop
exit
exit
Unlocked and with an insecure kernel:
Code:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
adb push build.prop /system
adb shell
su
chmod 644 /system/build.prop
exit
exit
In regards to remounting to read only once finished, you don't have to as you can simply reboot and the commands executed in ramdisk will remount every partition with the relevant flags. Or you could:
Code:
adb shell
su
mount -o remount,ro -t ext4 /dev/block/mmcblk0p1 /system
exit
exit
you should be good to go after this.
*TIPS for users that are not on US .21 but instead on a WW or other version: thnkx to Buxtahuda & Gage_Hero
- instead of editing this build.prop with your information, edit your build.prop with any missing lines from this one. That's going to cut down on error a lot, and even if you get the right characters and spacing, the build.prop can be finnicky as all hell.
- IF you edit the build.prop use the right tool which would be notepad++ (download) not the standard windows note pad. if you use the standard windows notepad you could end up with format and character issues
*CAUTION:
We had a user who was unlocked, boot to a black screen. He got his prime back running by doing a restore from recovery. For unlocked users who want to try this, make sure to do a full backup, including the original build.prop file. Unlock users could even edit their own build.prop & add the lines one by one until it breaks. You can download notepad + yes it is +(plus). then you can edit the build prop (properly with out screwing up the format) on the pc and move it to the tablet. I'm not sure if being unlocked conflicts with this mod. just make sure you on latest .21 or .28 firmware and rooted. Then follow instructions carefully. you can even click on the original developer link for assurance on how to install if unsure how to install or if you have any possible conflicting issues. It would be best to ask developer if this is safe for unlocked users also. Unlocked users should proceed with caution and make sure you will be OK using this.
update:Developer said being unlocked shouldn't matter. I'm still waiting to hear back on what if people are on a different version like WW or something.
You can feel free to Hit my Thanks also, if you want. For putting this guide together on my Prime solely. The Prime is my PC Make sure to give feedback here & to OG developer, Seanzscreamz and his OG thread http://forum.xda-developers.com/showthread.php?t=1641219 . He made this all work for our Primes when he didn't have to. Much thanks to him & other members who contributed critical info, tips, & feedback.
Thanks to Texstar & Andromorphone for editing U.S. .28 buildprop.
That is the one I am looking for so long. Thanks for sharing.
Sent from my HTC Desire HD using xda premium
Could you please explain how to do this without root?
okay okay.. I will try it and report back
1SiK1500 said:
Could you please explain how to do this without root?
Click to expand...
Click to collapse
you actually dont need root
but this is way easier if you do
you could adb push /system/build.prop
or you could just paste it into root explorer replacing your existing
(back up existing or rename it to build.prop.bak just for safe keeping )
then reboot
or
when it reboots and adb comes alive you may be able to push it to /system with: adb push build.prop /system
not really much more was explained. you can click on his original thread link to get more details or ask him about it. most seem to be doing this the rooted method. I haven't seen anyone confirm doing this adb way yet.
I get an error..
"There was not enough free disk space to complete the paste operation" when I tried to paste this into /system with the original .bak there
I had to remove the original file to make room
Also, I think you better expand on what -RW, -R, -R means for people - like exactly what boxes to check and uncheck
I forgot to add:
If you don't notice anything initially, let it cache(kind of like letting a car warm up before you drive off) just like with roms. just start using tab so it can cache. it'll take to the changes.
Lock-N-Load said:
I get an error..
"There was not enough free disk space to complete the paste operation" when I tried to paste this into /system with the original .bak there
I had to remove the original file to make room
Click to expand...
Click to collapse
that's strange. I still have my original file in there renamed. I never got that error. Do you still have all those modded wifi files in there also?
edit: I saw the other part you added, I gotcha
demandarin said:
that's strange. I still have my original file in there renamed. I never got that error. Do you still have all those modded wifi files in there also?
edit: I saw the other part you added, I gotcha
Click to expand...
Click to collapse
Yes I do in /bin which is in /system - suppose i should delete those.
But this implies /system looks for and checks the size of that directory and pukes if it is beyond xx size - which is kind of interesting
Also, technically speaking, aren't permissions rw-r--r-- not -RW, -R, -R
Well, I did this and it just goes to a black screen and does nothing else.
How can I get back into the system and restore the old file?
Lock-N-Load said:
Yes I do in /bin which is in /system - suppose i should delete those.
But this implies /system looks for and checks the size of that directory and pukes if it is beyond xx size - which is kind of interesting
Also, technically speaking, aren't permissions rw-r--r-- not -RW, -R, -R
Click to expand...
Click to collapse
I edited OP to reflect that.
acdcking12345 said:
Well, I did this and it just goes to a black screen and does nothing else.
How can I get back into the system and restore the old file?
Click to expand...
Click to collapse
were you rooted and on .21 firmware?
did you put the modded file into /system & set its permissions to rw-r--r--? & rename the old file? so it won't be confused with 2 files try to be activated.
demandarin said:
I edited OP to reflect that.
were you rooted and on .21 firmware?
did you put the modded file into /system & set its permissions to rw-r--r--? & rename the old file? so it won't be confused with 2 files try to be activated.
Click to expand...
Click to collapse
I did exactly that..It was also unlocked...
Not sure how to go back to the old file..
Works great! Wow I can see a big speed difference! I can't wait to see how much longer the battery lasts.. Thanks man!
Sent from my Transformer Prime TF201 using XDA Premium App
jjdevega said:
Works great! Wow I can see a big speed difference! I can't wait to see how much longer the battery lasts.. Thanks man!
Sent from my Transformer Prime TF201 using XDA Premium App
Click to expand...
Click to collapse
you see changes that quick?? guess I will test mine more tonight.
my install went fine and reboot went fine.
I believe in this mod type as I did similar mods to my OG Droid
Lock-N-Load said:
you see changes that quick?? guess I will test mine more tonight.
my install went fine and reboot went fine.
I believe in this mod type as I did similar mods to my OG Droid
Click to expand...
Click to collapse
Surprisingly did. I didn't think I would see much of a difference that quick. As soon as it rebooted and right after the lock screen swiping was fast and opening closing apps are much quicker load times
Edit: overall loading speeds are improved quite a bit
Sent from my Transformer Prime TF201 using XDA Premium App
At work and don't have my Prime with me at the moment.
I will try tonight and report to you guys.
Good to hear positive feedback.
acdcking12345 said:
I did exactly that..It was also unlocked...
Not sure how to go back to the old file..
Click to expand...
Click to collapse
I'm wondering if being unlocked messes with things. Did you make a backup of your original file? if so. you can try to adb push it in there. you should go to original developer thread and post this up. As I'm not exactly sure on the adb method on getting the prime to use the original file.
ill make sure to add to the OP that being unlocked may conflict with this. As this is the only difference between yours n mines.
so you rebooting and it just went to a black screen? any Asus logo or anything? can you get into recovery and reflash your rom or restore a backup?
Anyone with insight into how he get back using the old file from state he is in now?
I don't see a wifi scan interval on either the original or this build prop. That was one I changed from 30 seconds to 100 on my phone to cut down on the power used by wifi to go out and ping and search for signals.
On my phone is it wifi.supplicant_scan_interval = 30
A bit surprised this does not exist as it can be a good battery saver
I also see some telephony stuff in this prop that seems of no value as we dont have phones
demandarin said:
I'm wondering if being unlocked messes with things. Did you make a backup of your original file? if so. you can try to adb push it in there. you should go to original developer thread and post this up. As I'm not exactly sure on the adb method on getting the prime to use the original file.
ill make sure to add to the OP that being unlocked may conflict with this. As this is the only difference between yours n mines.
so you rebooting and it just went to a black screen? any Asus logo or anything? can you get into recovery and reflash your rom or restore a backup?
Anyone with insight into how he get back using the old file from state he is in now?
Click to expand...
Click to collapse
I just went into recovery and restoring from a 3 old backup..
Lock-N-Load said:
I don't see a wifi scan interval on either the original or this build prop. That was one I changed from 30 seconds to 100 on my phone to cut down on the power used by wifi to go out and ping and search for signals.
On my phone is it wifi.supplicant_scan_interval = 30
A bit surprised this does not exist as it can be a good battery saver
I also see some telephony stuff in this prop that seems of no value as we dont have phones
Click to expand...
Click to collapse
it there is one actual in there. you have to look closely. its set to 100. I just looked in saw it. its like the 4th line above the additional build properties. I believe this scan is lower than in stock configuration.
I noticed the phone stuff also. he said once he updates, he has more tweaks he will add. ill update this thread with the changes also.
Hi All,
Been playing around with my SGSII and noticed all the files in the /system/audio, i was hoping that you could increase the gain of the MIC in various states by tweaking the files, though i thought i may as well ask if anyone else has had any joy in tweaking these files or even attempted it?
Let me know, i will post my results if no one does first.
Ne0
alfie196 said:
Hi All,
Been playing around with my SGSII and noticed all the files in the /system/audio, i was hoping that you could increase the gain of the MIC in various states by tweaking the files, though i thought i may as well ask if anyone else has had any joy in tweaking these files or even attempted it?
Let me know, i will post my results if no one does first.
Ne0
Click to expand...
Click to collapse
be my guest and do the Honors ma8 so that others can follow
After spending a small amount of time swapping file names with no effect
Code:
D:\ROM_Dev>adb remount
remount succeeded
D:\ROM_Dev>adb shell mv /system/etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt /system/etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt
D:\ROM_Dev>adb reboot
I tried this
Code:
D:\ROM_Dev>adb remount
remount succeeded
D:\ROM_Dev>adb shell rm -r /system/etc/audio
D:\ROM_Dev>adb reboot
Still no effect on the system, all audio, both directions in a call were as they were before, so i tried a wipe to see if that made a difference. Nope!
So in conclusion running a CM7.2 ROM (built by me) editing the files or removing the /system/etc/audio directory, does not seem to alter audio settings. So it begs the question, why is it there in the first place?
May need to confirm this on a stock ROM, but seeing as the Audio Hardware libraries are proprietary and not built from source, i would assume that it wouldn't have an effect there either.