[Q] Replacing "accounts.db" than reload it without device reboot - Possible? - Android Q&A, Help & Troubleshooting

[Q] Replacing "accounts.db" than reload it without device reboot - Possible?
Title says it.
After flashing my own, or stock Roms, I use a batch file to restore Google and Wifi settings.
I replace accounts.db, wpa_supplicant.conf and a few others.
After restoring, I reboot the device and everything works.
But can I somehow "reload" the .db files, without Reboot?

BUMP
I am looking to do the same thing. Ever figure out a solution?
---------- Post added 7th September 2013 at 12:29 AM ---------- Previous post was 6th September 2013 at 11:32 PM ----------
I am looking at how android 4.3 uses the switchUser method in the activity manager class. Maybe it does something that reloads the accounts.db file we can single out and just use. Since when a user does switch it obviously loads a different accounts.db file.

vel_tins said:
Title says it.
After flashing my own, or stock Roms, I use a batch file to restore Google and Wifi settings.
I replace accounts.db, wpa_supplicant.conf and a few others.
After restoring, I reboot the device and everything works.
But can I somehow "reload" the .db files, without Reboot?
Click to expand...
Click to collapse
Hi,
Could you please share the entire list? Below is my actual list. Still draft
I am looking to have a complete list of files to be copy by terminal and then paste+cmod when need it.
Below is the working list. Mentioning that I haven't use it so I do not know it it works after fresh install on same ROM.
Code:
/etc/init.d/inteli_plug
/etc/gps.conf
/etc/hosts
/system/usr/keylayout/cpcap-key.kl
/system/usr/keylayout/Generic.kl
/data/data/com.android.providers.telephony/databases/mmssms.db
/data/data/com.android.providers.telephony/databases/blacklist.db
/data/data/com.android.providers.telephony/databases/telephony.db
/data/system/registered_services/android.content.SyncAdapter.xml
/data/system/registered_services/android.accounts.AccountAuthenticator.xml
/data/system/sync/accounts.xml
/data/system/users/
/data/data/com.keramidas.TitaniumBackup/databases/custom
/data/data/com.keramidas.TitaniumBackup/databases/filters
/data/data/com.keramidas.TitaniumBackup/databases/schedules
/data/data/com.keramidas.TitaniumBackup/databases/sysinfo
/data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml

What about modify accounts.db . I tired to modify database on accounts.db, it's locked by another process on Android 5.0. higer. How to unlock?

Related

[Dev]Files of interest in the system

Alright, just got my hands on a system dump courtesy of loglud so I will be posting files (text files will include content that peaked my interest) here so me and other devs can see what we are able to toy with.
systemdump download link: http://dl.dropbox.com/u/15069134/SystemDump.zip
Current list:
/system/media/bnapps_icons\ <-- we can mod the app icons that come with the device so we can make it less-sucky.
/system/etc/bluetooth/blacklist.conf <-- referencing the bluetooth chip meaning we just have to find a way to activate it
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent? Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
/system/bin/bootanimation *Was told where it searches for bootanimations first so goto this thread for a new bootanimation: http://forum.xda-developers.com/showthread.php?t=1361735
Indirect said:
Alright, just got my hands on a system dump courtesy of loglud so I will be posting files (text files will include content that peaked my interest) here so me and other devs can see what we are able to toy with.
Current list:
/system/media/bnapps_icons\ <-- we can mod the app icons that come with the device so we can make it less-sucky.
/system/etc/bluetooth/blacklist.conf <-- referencing the bluetooth chip meaning we just have to find a way to activate it
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent?
Click to expand...
Click to collapse
Nice finds. Bluetooth will be intesting to test (about to do it right now).
As you know the Nook has a heavily modified framework, so I don't know if the stock settings app will work (but I'm about to find out and probably fark up my tablet).
Let me know how it goes anlog.
Indirect said:
/system/app/settings.apk <-- anyone think they can actually replace this with another gingerbread apk or decompile and discover if there is a custom intent?
Click to expand...
Click to collapse
Hmm . . . let me get a hold of it and I'll look at it tomorrow, I've already taken the rest of the week off (Diablo III beta key came in tonight).
You may not need to change out the settings.apk but just add another one to it.
I decided to hold off on swapping the settings.apk. Losing access to the real settings app with all of the Nook options might not be a good idea.
The main reason I wanted a full settings menu was to be able to get into the accounts sync settings, but I found an app to launch it.
Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
Indirect said:
A
/system/bin/bootanimation <-- It's not a .zip or anything, just a file...anyone know how we can edit this?
Click to expand...
Click to collapse
It's a binary file. This app executes bootanimation resources.
Example: on T-Mobile MyTouch 4G resources are in /system/customize//resource/htc_bootanimation.zip
You should search for bootanimation.zip and you can edit this archive
Indirect said:
Warning: It does NOT work at all. I suggest against swapping the apk's out as it causes a force close.
Click to expand...
Click to collapse
I read note, if you want edit system apps like Settings.apk you should sign them by personal keys only...
I was looking through and couldnt find a bootanimation.zip in the system so I'm checking the data folders now.
edit: What the hell, still can't find it.
Indirect said:
I was looking through and couldnt find a bootanimation.zip in the system so I'm checking the data folders now.
edit: What the hell, still can't find it.
Click to expand...
Click to collapse
I was using Absolite system to see if I could replace the bootanimation because I couldn't find it either. I did manage to make it go away and just had the splash screen. I'll look into this further today as well. I'm starting to get ideas as to which files you can and can't replace right now. Some will force an immediate reboot and get stuck in a boot loop. I also am trying to find what triggers and handles the home button menu, I am sure it is in the framework. I have framework.jar and services.jar decompiled and going through those as well. Reviewing logcats to see what I can track down. I have some other interesting stuff going as well
romified said:
I was using Absolite system to see if I could replace the bootanimation because I couldn't find it either.
Click to expand...
Click to collapse
Hmmm... Usually bootanimation is in /data/local/ or /system/media. May be it has different name?
/system/bin/bootanimation is the program that actually displays the bootanimation.
Normally it plays the contents of /system/media/bootanimation.zip, but it can also be hardcoded to play a fixed animation or designed to play a completely different format. (Such as on Samsung devices, where it only plays Samsung's QMG format until you replace the program.)
conundrum768 said:
I've already taken the rest of the week off (Diablo III beta key came in tonight).
Click to expand...
Click to collapse
conundrum768
Don't take this the wrong way, but I really hate you right now!
I tried getting in on the Diablo III beta, no luck!
Here is a file of some interest, it it looks to be encrypted because it would be of interest.
/system/recovery-from-boot.p
.p files are encrypted .m files. Not sure if anything exists out there to crack into that one, but I am sure it would tell some very interesting information and possibly allow hi-jacking the factory restore process?
Anyone familiar with .p files (pcode files) ?
---------- Post added at 12:20 PM ---------- Previous post was at 12:08 PM ----------
Also of interest are some .xem3 files under /system/lib/ducati
base_image_app_m3.xem3 --- 57 mb
base_image_sys_m3.xem3 --- 1.5 mb
I think could be system image files possibly from the little bit of research I have done. Due to the size of one of these (57 mb) and the name of the file, I was thinking maybe this is where the restore was getting it's base image from, but until I dig further I am not sure of that. The size of the file is what got my attention, much larger than other files in lib. That's half the size of CM7 in just one file.
Edit: These now look to be possibly drivers/firmware/images for Ducati and/or Pandaboard ? That's a large driver file....
The .p file is very much of interest I would think.
conundrum768 said:
Hmm . . . let me get a hold of it and I'll look at it tomorrow, I've already taken the rest of the week off (Diablo III beta key came in tonight).
Click to expand...
Click to collapse
It looks like the normal XML files are not controlling the layout and it is done through the smali files to get the custom actions and layout. A separate app to access development may be best for now, as we have been doing.
Unless someone edits the smali files of course, that's possible but will prove tedious and time consuming unless you have a lot of experience with these.
If you review the logcats from going into settings, you will see which smali files are involved.
I have almost a full system dump on an ftp so ill see about letting it be accessed.
Sent by breaking the sound barrier
Please upload full system dump from Nook Tablet
Please upload full system dump from Nook Tablet
How-to
1. Get root
2. Run terminal (enter su if symbol $ -> it will be changed to #)
3. Execute command mount
4. From list of partitions search for /system
Code:
Example: /dev/block/mmcblk0p27 /system ext4 ro,relatime
5. Dump it to sdcard with command dd
Code:
Example: dd if=/dev/block/mmcblk0p27 of=/sdcard/system.img
It dumps only system image not personal data...
I'll just upload a .zip to dropbox.
Is there a sanim.zip anywhere? If so, that's the bootani. If not, ill sink back to silence lol
Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
I looked through and there are only a few .zip files but none of them actually contained a bootanimation. It really is annoying lol. This device is such a bastardized version of android, I can't wait to get past the bootloader. lol.

[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] how to merge JRD_custres apk´s with system apk´s?!

Hello guy´s I am a user of Alcatel OT-997D ("D"ual sim)
My problem ...
I have a extra partition called "custpack" symlinked to "system"
But is not a normal symlink
example
Code:
/custpack/JRD_custres/app/Email[B]-res[/B].apk
(contains recources and xml files)
/system/app/Email.apk
(containes only xml files)
or another example
merge SystemUI-res.apk(custpack) + SystemUI.apk(system) to SystemUI.apk (system)
How can I merge all files to one apk ?!
for example
Code:
Email.apk
?!
It is possible. But I don´t know what to do :crying:
My questions are all ignored... why ? :crying:
http://forum.xda-developers.com/showpost.php?p=40174749&postcount=538
http://forum.xda-developers.com/showpost.php?p=40174479&postcount=5258
nobody knowes something about ?
MaxAndroided said:
nobody knowes something about ?
Click to expand...
Click to collapse
We all Alcatel users have the same problem with custpack partition and files. If we want to try a different ROM, custpack partition makes it problematic. I found your question trying to get a response. So far there is a proposal by user yuweng related with scatter file when porting a ROM, you can find out more searching for this post in the MT65xx porting tutorial thread. The other thing is te Ewra Project ROM, the developers there have build a ROM for Alcatel devices with MT65xx chipsets and CWM scripts to backup and restore this custpack partition... maybe they have an answer.
Bumping this dead thread to draw attention to this.
It seems like this can simply be done by moving the actual apks to the location of the symlinked ones and remove the symlink creation from the updater-script, but I'm not sure and I think I tried it before and the screen never got past the boot-animation (but that might have been because I didn't copy the framework-res.apk, not sure). I'm currently playing around with this in the kitchen.
---------- Post added at 01:37 AM ---------- Previous post was at 12:38 AM ----------
kaiserII101 said:
Bumping this dead thread to draw attention to this.
It seems like this can simply be done by moving the actual apks to the location of the symlinked ones and remove the symlink creation from the updater-script, but I'm not sure and I think I tried it before and the screen never got past the boot-animation (but that might have been because I didn't copy the framework-res.apk, not sure). I'm currently playing around with this in the kitchen.
Click to expand...
Click to collapse
custpack/JRD_Custpack/apps/*-res.apk apps contain the apps resources i.e. the graphical png files used in the app but do not contain any code for running the application..
system/app/*.apks (deodexed) contain the code for running the application but do not contain any resources for the application.
It seems like this is an incredibly fragmented way of running the system. I believe the reason it's been done was so that manufacturers (or at least in alcatel's case) could custom theme most of the default system apps, like the phone, gallery, calendar, browser etc.
Still seems stupid.
I wonder if it's just a matter of combining the deodexed system/app/apk with the contents of the custpack/JRD_custpack/apps/*-res.apk and then resigning the apk, or if perhaps there's something in the system that hardcodes it to look in the custpack folder for certain apps (i.e. phone, browser, etc.)
MaxAndroided said:
Code:
/custpack/JRD_custres/app/Email[B]-res[/B].apk
(contains recources and xml files)
/system/app/Email.apk
(containes only xml files)
Click to expand...
Click to collapse
There are no regular way for doing what you want exactly because those resource files are not symlinked but you can try workaround with symlinking. In your example executive from /system/app/Email.apk calls for /custpack/JRD_custres/app/Email-res.apk to join resources. If you merge those two files into one, you got nothing because executive from /system/app/*.apk still search for /custpack/JRD_custres/app/*-res.apk but here is an idea what you may try:
First merge those two files into one: add resources from /custpack/JRD_custres/app/Email-res.apk into /system/app/Email.apk (decompile, join, recompile, sign, zipalign, you know the drill) and afterwards create symbolic link in /custpack/JRD_custres/Email-res.apk which points toward /system/app/Email.apk.
Code:
ln -s /system/app/Email.apk /custpack/JRD_custres/app/Email-res.apk
Possible scenario: when you start Email app, executive will search for /custpack/JRD_custres/app/Email-res.apk, which is now symbolic link and will redirect this request back to original APK (back to self) where resources are now. This should make you able to use various apps for changing themes on your ROMs or something like that.

[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

[Q] Boot Animations

I tried to change my boot animations on my lg g3 on sprint and i can not get anything back.. It just boots in a black screen. I have read all i can from @sinisin but i have not made any progress. I dont care what my boot screen is as long as its not black, it just irritates me.
choatime said:
I tried to change my boot animations on my lg g3 on sprint and i can not get anything back.. It just boots in a black screen. I have read all i can from @sinisin but i have not made any progress. I dont care what my boot screen is as long as its not black, it just irritates me.
Click to expand...
Click to collapse
Ok if you don't mind telling me EXACTLY step by step what you did. Be precise, I don't mind reading. The more info the better! I had the same issue when I was making my bootanimation for this but it was because I built my animation wrong. Also did you happen to save the original bootanimations?
This ^^^^And/or also, did you delete the Power on/ Power off folders and/or sounds?
RE:
I deleted the system/media bootanimation.zip and bootanimation_sprint.zip as well as the shutdownanimation.zip and shutdownanimation_sprint.zip. Relplaced them both with several different files (at different times, obviously) to make sure it wasn't a problem with just the boot animation I was trying to use. Deleted the power on and off folders from carrier/cust. I did not delete the sounds. I do have another G3 that worse comes to worst, I will root and copy the entire folders and replace them on my g3. Should I delete the sound folders as well? Thanks
choatime said:
I deleted the system/media bootanimation.zip and bootanimation_sprint.zip as well as the shutdownanimation.zip and shutdownanimation_sprint.zip. Relplaced them both with several different files (at different times, obviously) to make sure it wasn't a problem with just the boot animation I was trying to use. Deleted the power on and off folders from carrier/cust. I did not delete the sounds. I do have another G3 that worse comes to worst, I will root and copy the entire folders and replace them on my g3. Should I delete the sound folders as well? Thanks
Click to expand...
Click to collapse
Just to cover all bases - did you change permissions? Sorry if it was implied but I don't want to assume anything. Don't delete the sounds, just leave them be because they wont interfere with the bootani. Did you flat out delete the originals without making a backup? Since you tried different bootanis it sounds like its a permission issue but if you did that properly as well I'm not sure. When I messed up my first bootani, I put the originals back, fixed permissions and it booted up with the sprint spark animation again......
HPTesla said:
Just to cover all bases - did you change permissions? Sorry if it was implied but I don't want to assume anything. Don't delete the sounds, just leave them be because they wont interfere with the bootani. Did you flat out delete the originals without making a backup? Since you tried different bootanis it sounds like its a permission issue but if you did that properly as well I'm not sure. When I messed up my first bootani, I put the originals back, fixed permissions and it booted up with the sprint spark animation again......
Click to expand...
Click to collapse
Yes i deleted them, foolishly. My permissions are set to "rw--r--r--T", My files are .zip format, i notice some people said extract them, but doesnt that defeat the purpose of the .zip name?
Sorry I'm very new to LG phones after dealing with Samsung so long. I also tried to use rom toolbox to change the boot ani to one of their gallery ones to no avail.
Is there anyway you could copy the entire folder and send it to me as well as the power on/ power off folders?
I dont know of anyway else to fix this
choatime said:
Yes i deleted them, foolishly. My permissions are set to "rw--r--r--T", My files are .zip format, i notice some people said extract them, but doesnt that defeat the purpose of the .zip name?
Sorry I'm very new to LG phones after dealing with Samsung so long. I also tried to use rom toolbox to change the boot ani to one of their gallery ones to no avail.
Is there anyway you could copy the entire folder and send it to me as well as the power on/ power off folders?
I dont know of anyway else to fix this
Click to expand...
Click to collapse
Again just to be sure does it say "644" when you change permissions? What you wrote "rw--r--r--T" Should be "-rw-r--r--T". The "T" isn't truly necessary but if you do select the T it would say 1644. Either 644 or 1644 should work.
I have a backup of the original bootanimations somewhere but my folders have all been altered. As for extracting them.....it has to be a .zip file. bootanimation.zip and bootanimation_sprint.zip. Extracted them would give you folders and a text file but your system only knows to use those two zip files in that exact location with those exact permissions as bootanimations. Also, exactly what bootanimations did you use?
---------- Post added at 04:37 PM ---------- Previous post was at 04:15 PM ----------
choatime said:
Yes i deleted them, foolishly. My permissions are set to "rw--r--r--T", My files are .zip format, i notice some people said extract them, but doesnt that defeat the purpose of the .zip name?
Sorry I'm very new to LG phones after dealing with Samsung so long. I also tried to use rom toolbox to change the boot ani to one of their gallery ones to no avail.
Is there anyway you could copy the entire folder and send it to me as well as the power on/ power off folders?
I dont know of anyway else to fix this
Click to expand...
Click to collapse
Along with that can you post a screenshot here of those files in your file explorer?
HPTesla said:
Again just to be sure does it say "644" when you change permissions? What you wrote "rw--r--r--T" Should be "-rw-r--r--T". The "T" isn't truly necessary but if you do select the T it would say 1644. Either 644 or 1644 should work.
I have a backup of the original bootanimations somewhere but my folders have all been altered. As for extracting them.....it has to be a .zip file. bootanimation.zip and bootanimation_sprint.zip. Extracted them would give you folders and a text file but your system only knows to use those two zip files in that exact location with those exact permissions as bootanimations. Also, exactly what bootanimations did you use?
---------- Post added at 04:37 PM ---------- Previous post was at 04:15 PM ----------
Along with that can you post a screenshot here of those files in your file explorer?
Click to expand...
Click to collapse
I have read this whole thread, and I am still unable to switch mine. I tried everything mentioned. I also have the Sprint G3, and I am using Root Browser. When I try to change the permissions, it tells me it fails to do so, as some devices won't allow you to change permissions. Help?!?
JoePro5 said:
I have read this whole thread, and I am still unable to switch mine. I tried everything mentioned. I also have the Sprint G3, and I am using Root Browser. When I try to change the permissions, it tells me it fails to do so, as some devices won't allow you to change permissions. Help?!?
Click to expand...
Click to collapse
Root browser won't let you change permissions? You either need to update supersu or more likely, try a different browser/file Explorer. I use solid explorer which has a free 14 day trial. Es is free though, try that.

Categories

Resources