SlateDroid.com: Profile changing AP - SlateDroid.com

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Profile changing AP

#1 User is offline   mrab 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 7
  • Posts: 17
  • Joined: 14-December 12

Posted 16 January 2013 - 11:22 AM

I have noticed if I use a nexus 7 profile then on some games the hero 10 downloads tegra 3 data and the games don't work properly.
Is there an ap or script file that can easily be run to change between profiles and then reboot the device, I do this at the moment by renaming 2 different build.prop files using es explorer but it would be nicer with a simple ap.
0

#2 User is offline   fuser-invent 

  • Advanced Member
  • PipPipPip
  • Group: FW Developer
  • Topics: 18
  • Posts: 1,167
  • Joined: 18-October 12

Posted 09 February 2013 - 12:34 PM

Yes, you can use a 'sed' script in a flashable zip file. Here is an example of how the script changes the NEXUS 7 fingerprint to the SGS3 fingerprint for my Crystal Clear ROM:
#!/sbin/sh

sed -i 's,ro.product.brand=Google,ro.product.brand=samsung,g' /system/build.prop
sed -i 's,ro.product.model=Nexus 7,ro.product.model=GT-I9300,g' /system/build.prop
sed -i 's,ro.product.manufacturer=Asus,ro.product.manufacturer=samsung,g' /system/build.prop
sed -i 's,ro.product.name=nakasi,ro.product.name=m0xx,g' /system/build.prop
sed -i 's,ro.product.device=grouper,ro.product.device=m0,g' /system/build.prop
sed -i 's,ro.build.fingerprint=google/nakasi/grouper:4.1.1/JRO03C/eng.grady.wang:user/test-keys,ro.build.fingerprint=samsung/m0xx/m0:4.1.1/JRO03C/eng.grady.wang:user/test-keys,g' /system/build.prop
sed -i 's,ro.build.description=nakasi-user 4.1.1 JRO03C eng.grady.wang test-keys,ro.build.description=m0xx-user 4.1.1 JRO03C eng.grady.wang test-keys,g' /system/build.prop


So as you can see its saying "change line.name.here to newline.name.here in the location /system/build.prop" which means that the first line has to already exist in your build.prop for it to be changed.
If I've helped you set-up your new tablet, unbrick your device or if you use and enjoy my ROM's Crystal Clear or Anti-Hero, please consider a donation, even if it is small it will help!
I will use the donations to pay the monthly file hosting fees and other development costs.

My Ainol Crystal "Get Started" Guide.
My [HOW TO] Unbrick Your Ainol Crystal Guide.
My custom Ainol Crystal ROM - Crystal Clear
My custom Ainol Hero ROM - ANTI-HERO

*Ainol Novo 7 Crystal - Batch 1 - Crystal Clear v1.7 ROM
*Ainol Novo 7 Crystal - Batch 2/3 - Crystal Clear v1.7 ROM
*Ainol Novo 10 Hero - Anti-Hero v1.3 ROM
*HP Touchpad 32GB - SGA's Fat'n Creamy CM9 - overclocked to 1.7GHz
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users