install-recovery.sh or custscript not working - MTCB Software Development

Hi All
I've recently updated to a more recent stock firmware. Now - on previous versions I could put my auto-brightness script in /system/etc/install-recovery.sh, or on the root of the GPS SD card called custscript and they would work fine.
With the more recent versions, they won't auto-run. I can place the install-recovery.sh script in /system/etc/ and run it manually using root browser, but it won't auto load.
Anyone come across this?
Cheers

Related

[MOD] Hulu/WIN Flash Hack

Hey guys. So I made this hack for my old epic, then my GSII, now I'm posting it here since I know I DEFINITELY wanted unrestricted hulu access on such a nice tablet, without the extra price/"not available for devices" BS of Hulu+. This should also work for any other sites that restrict mobile devices. This hack simply changes 3 characters in the flash library file from AND to WIN, and copies my modded file over the stock/updated adobe file upon each boot.
For those who wish to learn more the original post can be found here: http://forum.xda-developers.com/showthread.php?t=114215
New install instructions
Flash via CWM OR follow the instructions above, but you must locate the files within the zip sub folders. They are in the folders they should be in if you were to unzip to the device root. You may also copy and paste with root explorer if you prefer that to ADB (I do). Just make sure you get the file permissions right (they should match other files in the same folder).
NOTE: If you have adfree or another adblock, you'll see a message to disable it, you don't need to disable it (they just want you to watch their commercials), just wait the 30 seconds or whatever it is and that black message counts as your commercial, and your show will play
Once we get a few custom kernels out there with init.d support we won't need script manager (init.d support just means it will run all scripts in the folder /system/etc/init.d) making the process a bit cleaner but for now this works. I also have a cwm flashable version but we'll have to wait a bit longer for that. For now let's just be happy Jcase got us root Enjoy!
EDIT: Updated for ICS AND JELLYBEAN and flash version 11.1.115.12 (8/9/2012) (latest..for now) LATEST VERSION IS BUILT TO BE EASIER/MORE RELIABLE FOR SOME USERS
TESTED: Confirmed on Galaxy SII on CMX. Turns out Jelly Bean (and maybe ICS) have changed the order on boot so that init.d runs BEFORE flash overwrites our hack on each boot. In other words, the flash APK is re-unpacked in its non-hacked form by adobeflashplayer on each boot somewhere after the boot animation and probably just before the homescreen is displayed. The init.d scripts we run are unfortunately run at the VERY beginning, while the OEM logo is still displayed (BEFORE the boot animation). Because of this, script manager is currently absolutely required until I can find another "entry point" to run these scripts
It is this unfortuante order that requires using script manager to run the script "on boot" later in the process.
Be sure BUSYBOX is installed or GTFO
It IS typically included in most custom roms, but still, MAKE SURE.
HOWTO Video (without using the adb method above though it still works just fine) thanks to jjdevega if you need it here http://youtu.be/rXTdIyMP_Xs
OLD install instructions below for those without CWM:
So here goes.
1. Update flash via the market to the latest version
2. Download & unzip the 2 files linked below to be pushed to /data/flash
3. adb shell mkdir /data/flash
4. adb push S98fixflash /data/flash
5. adb push libflashplayer.so /data/flash
5.5 (almost forgot) Install Busybox from the market, let it run, grant su, and have it install the latest busybox for you
6. Install Script Manager from the market
7. Open Script Manager and be sure to select to give it root access
8. Browse to /data/flash in Script Manager, select S98fixflash and select root and boot options (thus making it run on each boot, with root permissions)
9. Reboot (Press + hold power, power off)
10. Open Browser, open settings, advanced, user agent string, desktop
Thanks OP for the mod!!!
Now that we have root can anyone try vgeezy's hacked apk and see if it works? this method should allow hulu.com and is much more noob friendly.
http://forum.xda-developers.com/showthread.php?p=20598069#post20598069
Great mod already instaled it
Wysłane z mojego Transformer Prime TF201 za pomocą Tapatalk
For those saying they got this to work, how were they able to get a root adb shell on their comp to make this work? Although rooted with vipermods tool, I cannot get a root adb shell through windows, and my understanding is that it takes a modified boot-img for that to happen.
Is there a way to make this mod work from a terminal on the tablet? Thanks!
Edit: Tried opening the prime's internal storage up through windows, going to android/data and creating a 'flash' folder and moving the two files into it. Then going through script manager and setting the script to run as root at boot.
Didnt work.
However using ES to move the files to system/data/flash and setting to run at boot from there seems to have worked.
Any help?
---------- Post added at 09:05 PM ---------- Previous post was at 08:43 PM ----------
Also, is it just me or does ScriptManager constantly force close for anyone else?
mikek9 said:
For those saying they got this to work, how were they able to get a root adb shell on their comp to make this work? Although rooted with vipermods tool, I cannot get a root adb shell through windows, and my understanding is that it takes a modified boot-img for that to happen.
Is there a way to make this mod work from a terminal on the tablet? Thanks!
Edit: Tried opening the prime's internal storage up through windows, going to android/data and creating a 'flash' folder and moving the two files into it. Then going through script manager and setting the script to run as root at boot.
Didnt work.
Any help?
---------- Post added at 09:05 PM ---------- Previous post was at 08:43 PM ----------
Also, is it just me or does ScriptManager constantly force close for anyone else?
Click to expand...
Click to collapse
Connectbot can replace adb. Also, you don't need to use adb at all, you can use root explorer to place the files in the correct locations, it's just easier to write a step-by-step that way. Also, if you rooted, you could try running from that same folder as you will have the adb tool within the "one click root" folder you most likely used (or normal platform tools if you used jcase's step-by-step).
Script Manager doesn't have issues for me, it's very popular software and well made. Maybe try uninstalling/reinstalling? If not, clear cache/data for script manager and try again? Not sure...
EDIT: If you don't HAVE root, and try to OBTAIN root while running script manager, it will force close I believe. Make SURE you have root, use adfree or titanium backup to confirm maybe...
2nd Edit: Also, don't use usb transfer, that just puts it in the 'internal sd' folder. Use root explorer and back all the way out to the root directory first.
I tried this and couldn't seem to get it to work. However, for anyone looking for a quick way to watch hulu in a browser, download "flash video browser" from the market. It is $0.99 I believe and no additional tinkering is needed.
Sent from my Transformer Prime TF201 using xda premium
Moving to Themes/Apps as it is related to a Theme or an App.
jerdog said:
Moving to Themes/Apps as it is related to a Theme or an App.
Click to expand...
Click to collapse
Works for me, wasn't quite sure which. Thanks!
Worked like a charm. I just used Root explorer to make the data/flash folder. Had problems with script manager fcs but cleared data and cache from the manage applications and then it worked just fine.
Sent from my Transformer Prime TF201 using xda premium
not working after the ics update. redid the mod and used script manager post-update but not working. Used dolphin browser with uA set to desktop.
i get a blue lego block with a ? mark in the center of where the video should be.
Sent from my Transformer Prime TF201 using xda premium
Not sure about dolphin, i uploaded new files for ics (though the old ones do work). Make sure in the stock browser you check request desktop site in the menu button. Works for me.
ok trie dthe updated files. NOW WORKS PERFECTLY!!!!!!!!!!! thanks so much. also i recommend ics+ browser bc it lets u keep desktop user agent permanent.
Sent from my Transformer Prime TF201 using xda premium
For those those that don't have root and/or don't wish to mess with root/existing Flash installation an alternative is to buy/use Flash Video Browser. Works great on the Prime and was recently updated with ICS compatibility. Works great with Hulu.
Those who did this, did it affect your ability to upgrade to ICS? I'd like to try, but don't want to miss out on future OTAs.
chinly43 said:
Those who did this, did it affect your ability to upgrade to ICS? I'd like to try, but don't want to miss out on future OTAs.
Click to expand...
Click to collapse
No has nothing to do with ota. i had the mod before when i was on hc, upgraded fine to ics, redid the mod and i was good to go.
Sent from my Transformer Prime TF201 using xda premium
Thanks - I was curious, since removing built-in apps prevented the OTA I thought this might too.
ravizzle said:
No has nothing to do with ota. i had the mod before when i was on hc, upgraded fine to ics, redid the mod and i was good to go.
Sent from my Transformer Prime TF201 using xda premium
Click to expand...
Click to collapse
Any clue why the User Agent String option might be missing from Settings>Advanced?
It's odd, because when I first got the TP I hunted for it, but couldn't find it--but then stumbled across someone mentioning it online, and lo-and-behold it had appeared for some reason.
Now that I'm trying to use this hack, it's missing again. Any ideas?
I usually just press menu -> Request desktop site.
Hulu works great with this mod in desktop mode. That add message threw me off, thanks for the warning, video started 30sec later.
thanks, worked perfectly with root explorer

[Q] Neutrino v2.91 No boot animation

I would have posted this to the Neutrino rom development thread but I don't have enough post.
I have Neutrino v2.91 flashed and I have noticed that it doesn't have the neutrino boot animation. I checked the system\media folder and the bootanimation.zip is there. I thought maybe it was corrupt so I changed its name and installed another custom bootanimation.zip. That didn't work either. I flashed the boot.img from the Neutrino v2.91 zip file and that didn't fix it. I did all the wipes, permission fixes, and resets. Nothing fixed it.
I flashed AOKP and paranoid android over the weekend to test them out and their bootanimations worked fine. The neutrino bootanimation didn't work before or after that (probably because I restored a backup I had made before I flashed AOKP and paranoid android).
The bootanimation isn't going to keep me from using this rom because it is awesome but it would be nice to fix this problem.
I hope somebody has an idea on how to fix this.
Try installing the animation ZIP as /data/local/bootanimation.zip. If that happens to work, check permissions for /system/media as well as the ZIP inside it.
I copied the bootanimation.zip to data\local and it still didn't work. I set the permissions to rwx rwx rwx for the system\media folder and that didn't work either. I saw somebody stated that the boost script might remove the bootanimation. I don't know what the boost script would do to cause that. When i boot the phone the initial bootloader graphic is displayed and it says unlocked and then it vibrates and the homescreen appears. Thanks for the suggestions.
I figured it out. I saw that their was a discrepancy between the recovery system\bin and the original neutrino system\bin and I found a file called boot-dmesg. That reminded me that I had installed live-dmesg lite from the play store and then uninstalled it. I reinstalled live-dmesg lite from the play store and saw it had an uninstall option which I didn't use last time just the manage applications feature in settings. I had to use live-dmesg lite to installe the live-dmesg boot animation since the uninstall option was grayed out. I then used the uninstall option and now I have access to my bootanimation once again.

Does anyone have a fully working DSPManager on XXEMB5?

Hi!
Does anyone have a fully working DSPManager on XXEMB5?
There are so many different versions, but I can not find one that has no FC if changeing the presets. Rest seems to be working fine.
The version I used to have in XELLA and earlier seems not to be working anymore. It does not FC but has no effect at all.
Edit:
Found the solution.
I was using the file DSPmanager-v3.zip from this thread: http://forum.xda-developers.com/showthread.php?t=1636914
This is pretty much what I was using for months and it worked utill the last update to XEMB5.
So after sitting the whole night, trying out a dozen of different archives and mods, I noticed this one does not contain the /system/vendor/etc/audio_effects.conf file. I missed it, because there was already a file in my system with the same name. But now I looked inside it and found that it is a different file to the one that comes with DSPManager. So I renamed the file I had in my phone to audio_effects.conf.old (just in case) and copied /system/etc/audio_effects.conf to /system/vendor/etc/audio_effects.conf and, to my surprise, now (after a reboot) DSP manager works as it used to.
Yay!
So here the steps I did in clear:
1. Flash DSPmanager-v3.zip in CWM
2. Reboot
3. Copy /system/etc/audio_effects.conf to /system/vendor/etc/audio_effects.conf

[Q] Strange behaviour of a System App (SuspendWindow.apk)

Hi. I have 2 Mpai 809t octacore phones, almost the same specs (first one with 1gb ram and 20130303 rom version and second one with 2gb ram and rom 20130122)
The most recent rom version has the Preview window perfectly working, the oldest no. I noticed that the fault is the missing Apk SuspendWindow.apk and his Library (libhallwindowjni.so)
Copying the apk and library from one rom to the other does not the trick. The service never starts at boot. I tried almost everything, also copied all framework and system apk files from one rom to the other, nothing... the apk never starts at boot
I would like to develop an Ota update for this phone to fix this issue, so i would really like to understand the reason of this behaviour.
Any suggestion is reeeally welcomed!
Thanks in advance!!!
Claudio
pcprice76 said:
Hi. I have 2 Mpai 809t octacore phones, almost the same specs (first one with 1gb ram and 20130303 rom version and second one with 2gb ram and rom 20130122)
The most recent rom version has the Preview window perfectly working, the oldest no. I noticed that the fault is the missing Apk SuspendWindow.apk and his Library (libhallwindowjni.so)
Copying the apk and library from one rom to the other does not the trick. The service never starts at boot. I tried almost everything, also copied all framework and system apk files from one rom to the other, nothing... the apk never starts at boot
I would like to develop an Ota update for this phone to fix this issue, so i would really like to understand the reason of this behaviour.
Any suggestion is reeeally welcomed!
Thanks in advance!!!
Claudio
Click to expand...
Click to collapse
When you copied the files over to the /system/app and /system lib folder, did you also set the permissions of the apps correctly? Can't just drag and drop those kinds of apps as they need special permissions to run. The first 3 options on the left side of permissions window and the top middle one should be selected in a file manager with root access and then rebooted.
es0tericcha0s said:
When you copied the files over to the /system/app and /system lib folder, did you also set the permissions of the apps correctly? Can't just drag and drop those kinds of apps as they need special permissions to run. The first 3 options on the left side of permissions window and the top middle one should be selected in a file manager with root access and then rebooted.
Click to expand...
Click to collapse
Hi, thanks for your reply!
I thought about a permission problem... so i tried through root explorer to set correct permissions. I also installed those files in recovery with an update.zip (in this way they inherited those permissions). Nothing happaned
Is it possible that there's something in kernel that has something to do with it?
That stuff is a bit beyond my skills. Could be another lib. Could be it needs to link to something in /bin or /xbin. But seems like there is a 4.3 update from earlier this year. Might update and see if things work right on the newer version. http://www.needrom.com/mobile/mpai-809t-2/ though it doesn't say if it is for the 1 or 2 GB RAM versions or if they can use either.

[MOD] Verizon G3 HotspotMod Fully Working (Not the G2 Apk)

PLEASE READ
This mod ONLY applies to UNLIMITED USERS who DO NOT have tethering on their plan
This mod DOES NOT apply to SHARE EVERYTHING plans
I took a peak over at this thread http://forum.xda-developers.com/verizon-lg-g3/help/g3-hotspot-hack-t2812305 and saw that there were issues with using the G2 apk. I decided to take a looksy at it and see if I can replicate the functionality of the G2 apk with out having to re-apply settings to turn on tethering.
I have always had issues using root explores and database explorers messing up permissions and causing boot loops so until I have a proper recovery I use the android terminal emulator. Many people here have had plenty of success using file explores so give it a shot if you like!
Skip down to the bottom for a video walkthrough created by { owenbeals aka DroidModderX}
First things first you will need root!
0.) Start a root shell
Code:
su
1.) mount the system partition for read and write access
Code:
mount -o remount,rw /system
2.) Rename stock files HotspotProvision.apk and HotspotProvision.odex to something memorable. I use .bak and .bakdex
Code:
cd /system/app
mv HotspotProvision.apk HotspotProvision.bak
mv HotspotProvision.odex HotspotProvision.bakdex
3.) Now copy over the new file, can be the root of the extSD card which is /storage/external_SD/HotspotProvisionVzG3.apk
Code:
cp /storage/external_SD/HotspotProvisionVzG3.apk .
4.) The last thing is to change permissions to 644 (RW- R-- R-- for you file browsy types )
Code:
chmod 644 HotspotProvisionVzG3Mod.apk
5.) Now reboot and enjoy your glitch free hotspot action!
You must reboot! Do not try to "install" it, it does not function like that.
N.B.
Some users have noted that their cpu governors change to Performance while the hotspot is on and change back to On Demand when off instead of normal Interactive. This is the stock behaviour of the kernel, and not a bug introduced by this mod.
Thanks to { owenbeals aka DroidModderX} for this handy video walkthrough.
Thanks { Robshr, JayGoat } for bringing this up
Also thanks to { nrage23 } for answering a ton of questions on here
CREDIT:
Guest who started previous thread
Anonymous original creator
WACOmalt for making the original G2 thread
what was glitchy about the first hotspot app? HotspotProvision_24A_mod.apk
rp201 said:
what was glitchy about the first hotspot app? HotspotProvision_24A_mod.apk
Click to expand...
Click to collapse
You have change something every time you use it.
The modded apk works perfectly. I used root explorer to do it though. I renamed the original files, copied your apk to system/app, renamed it to HotSpotProvision.apk, fixed the permissions and rebooted.
Sent from my VS985 4G using XDA Premium HD app
Pretty cool. I'll have to give this a try when I'm bored later on today at work. Could you explain what you actually did to the hotspot apk though?
One thing though - why not just append ".bak" to the end of the existing filename/extension? That way, you don't lose the original extension so you can't forget what it was. It works fine. That's what I always do. In other words, your files would end in ".apk.bak" and ".odex.bak". The system only sees the extension after the final period.
nrage23 said:
You have change something every time you use it.
The modded apk works perfectly. I used root explorer to do it though. I renamed the original files, copied your apk to system/app, renamed it to HotSpotProvision.apk, fixed the permissions and rebooted.
Sent from my VS985 4G using XDA Premium HD app
Click to expand...
Click to collapse
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
The downloaded apk he modded is named differently from the original one in the system/app folder. After I changed the names for the original files in system/app. I changed the name of the modded apk to match the original apk in system/app. I copied the renamed modded apk to system/app, set the permissions correctly, then rebooted. I went into Settings then More... under wireless networks,Mobile HotSpot and changed the SSID and password. I can turn it on via settings or the quick setting in the notification bar.
sstapley_56 said:
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
Click to expand...
Click to collapse
I'd guess for it to work from stock menus (i.e. without starting the apk directly from a file browser app or terminal emulator) you'd have to rename it the same as the stock apk so that the path is the same for the various apps that would call it.
nrage23 said:
The downloaded apk he modded is named differently from the original one in the system/app folder. After I changed the names for the original files in system/app. I changed the name of the modded apk to match the original apk in system/app. I copied the renamed modded apk to system/app, set the permissions correctly, then rebooted. I went into Settings then More... under wireless networks,Mobile HotSpot and changed the SSID and password. I can turn it on via settings or the quick setting in the notification bar.
Click to expand...
Click to collapse
So I have renamed it exactly as the original apk was and rebooted but still no go. On reboot I get a force close of VZWAWSService. I have some of the system bloat frozen, maybe this has something to do with it.
phobos512 said:
I'd guess for it to work from stock menus (i.e. without starting the apk directly from a file browser app or terminal emulator) you'd have to rename it the same as the stock apk so that the path is the same for the various apps that would call it.
Click to expand...
Click to collapse
---------- Post added at 09:36 AM ---------- Previous post was at 09:33 AM ----------
Sweet it's working now, I had the lgmobilehotspot GUI.apk frozen and that's what was causing the issue. Thanks for the apk and tutorial guys!
sstapley_56 said:
How do you launch tethering after moving, renaming, and re-permissioning the apk? I've tried to launch from Settings app but nothing happens.
Click to expand...
Click to collapse
Did you reboot?
There should be no reason to rename the apk. When android installs applications it goes into the /data... Dir as the package name. All intents are handled via package names therefore the apk name is inconsequential.
To use you should be able to go settings > more and see all the tethering options.
To verify placement and permissions use
Code:
su
ll /system/app/Hotspot*
You should see your two backup files and the new HotspotProvisionVzG3Mod.all
Permissions should be rw-r--r--
Let me know if you still have issues.
I will post a DIY response so that people who want to learn about the modification can play along at home. Think of it as source code for this mod:good:
[email protected] said:
Did you reboot?
There should be no reason to rename the apk. When android installs applications it goes into the /data... Dir as the package name. All intents are handled via package names therefore the apk name is inconsequential.
To use you should be able to go settings > more and see all the tethering options.
To verify placement and permissions use
Code:
su
ll /system/app/Hotspot*
You should see your two backup files and the new HotspotProvisionVzG3Mod.all
Permissions should be rw-r--r--
Let me know if you still have issues.
I will post a DIY response so that people who want to learn about the modification can play along at home. Think of it as source code for this mod:good:
Click to expand...
Click to collapse
Thanks for the detailed response, I got it working now. I had previously frozen some of the bloat on the phone when I got it and one of the apps I froze was the lgemobilehotspotui.apk which is needed to work correctly. Thanks for all the help from the awesome devs here.
Nice work, thanks. I just installed it with Root Explorer, and it worked perfectly. Just have to do it to the wife's phone, now.
Well done. Working great!
Thanks! Works perfect. And now I can use the toggle on the drop down menu to activate the hotspot. Thanks so much.
Worked
Worked perfectly for me. Used ES file explorer to move the files around.
I have downloaded, changed permissions, changed the file names to .bak but when I try to install the nodded split says application not installed. I'm using root explorer. I did have the othe mod installed and deleted it first. Wondering if that is the problem
Edit...Stopped trying to install and just rebooted and it turns on just fine, and my laptop connects...the app shows it connected and listed as an approved device...yet I'm not able to actually get a a connection.
Sent from my VS985 4G using XDA Free mobile app
Thanks! Works like a champ.
works great!
I'm also getting the VZWARSService has stopped message, and when I go into settings and turn on the hotspot, nothing happens. If I go into mobile hotspot and turn it on from there, I get this message: Unfortunately, com.lge.mobilehotspot.ui has stopped. Followed the directions exactly, so I'm not sure what's going on.
Works perfectly. I used Root Explorer to rename and move everything. Thanks!
Worked like a charm the only thing is still changes the cpu governor to performance the g2 one did it to I don't know if someone is able to fix that
It's just when I turn on the hotspot afterwards I use android tuner and change it back to interactive
Does anyone else have this issue

Categories

Resources