Edited OPSystemUI.apk and now I think my system is bricked. - Android Q&A, Help & Troubleshooting

I have a OnePlus 3T running Nougat 7.1.2 and OxygenOS. I simply edited the carrier_label in the extended status_bar.xml in the opsystemui.apk, and then replaced the old opsystemui.apk. I changed the permissions to rw-r-r (that's correct, right? I'm not really sure, little new at this). Now when I boot my phone, I just get a black screen. But if I hold the power button the options for power and reboot still show up. I'm guessing I need to replace the opsystemui.apk with the old one or fix the permissions, right?
I used twrp and superuser to root my phone, and I can still access the boot/recovery menus. So I can still access the phone using terminal and adb shell, can anyone give me step by step directions on how I can fix my phone? Or at least point me in the right direction? the systemui was located in system/priv-app/opsystemui/opsystemui.apk but it doesn't show up in the system/ folder when i type "ls" or "cd priv-app".
Edit: Oops, just found out you have to mount the system/ folder in rw mode, I can access the priv-app folder now. How do I reset the permissions, and what should i set them too?
Edit2: I set the permissions to 755 (rwxr-xr-r). Still not working...

Can anyone help?

iLaysChipz said:
Can anyone help?
Click to expand...
Click to collapse
Try deleting any folder in /data/data that has systemui in it also on MM there's a file in /data/user/system/0/permission.xml or something similar see if that's on nougat and try deleting it also you prob shouldn't modify any apk with out being deodexed
Sent from my LGLS676 using Tapatalk
Edit and permissions should be set to 644 on apk directory's are 755

Related

[REQ] HTC Sense 3.0 LWP

http://forum.xda-developers.com/showthread.php?t=977912
Does anyone know if there is a working version for the Atrix? Id love to get this to work.
Thanks.
I'm no expert, and it's not my style, but I'll give it a try and report back in a few minutes.
EDIT: I got it partially working, I installed the apk in the zip, and moved the files in the system/lib directory of the zip file to /system/lib. after that you can use the wallpaper without a force close, but it doesn't fill the screen. I'll try one more thing and include a screenshot.
you'll need to pull the files from an htc device that is qhd. I think the sensation is qhd, but I'm not sure.
Sent from my MB860 using XDA App
downtrodn said:
http://forum.xda-developers.com/showthread.php?t=977912
Does anyone know if there is a working version for the Atrix? Id love to get this to work.
Thanks.
Click to expand...
Click to collapse
What part do u like about it?
I used Alien ROM + theme + Sensual GingerBread
Looks alot like it. check them out
I just want the live wallpaper since I'm a camera man, I love the bokeh
My gf has the evo 3D tried to don't the apk but only found android live wallpaper apk.
Sent from my MB860 using Tapatalk
i pulled the files from an HTC Sensation rom and sure enough it works fine, and is the right resolution for our screens. I can't make an update.zip though, i tried a few dozen times and only get errors.
uiskibum said:
i pulled the files from an HTC Sensation rom and sure enough it works fine, and is the right resolution for our screens. I can't make an update.zip though, i tried a few dozen times and only get errors.
Click to expand...
Click to collapse
Anyway to install as a apk? I appreciate the hard work
Sent from my MB860 using Tapatalk
nope it's not as simple as an apk install. I'll write up something tomorrow and include the files in a .zip.
Sent from my MB860 using XDA App
If you stuff your phone I take no, zero, none, nada, zip, zilch responsibility for it.
The following method is for adb, you could most likely use root explorer of file expert, but you need a file manager that lets you remount system as read/write. It assumes you know how to get the files to your phone/sd-card and have the android sdk, and know how to use it. I also assume that you know how to backup, have backed up and know how to restore (nandroid, rom manager, tibu, whatever).
1. Start a windows command prompt; if you can't do this, then stop right here.
2. type 'adb shell'
3. see code block below
Code:
su (accept prompt on phone if needed)
mount -o remount,rw /dev/mmcblk0p12 /system
cd [PATH TO FILES]
cp Mode10Wallpapers.apk /system/app
chmod 644 /system/app/Mode10Wallpapers.apk
cp libicule.so /system/lib
chmod 644 /system/lib/libicule.so
cp libiculx.so /system/lib
chmod 644 /system/lib/libiculx.so
cp libmode10_alpha.so /system/lib
chmod 644 /system/lib/libmode10_alpha.so
cp libmode10_wallpapers.so /system/lib
chmod 644 /system/lib/libmode10_wallpapers.so
cp libmode10Graphics_alpha.so /system/lib
chmod 644 /system/lib/libmode10Graphics_alpha.so
You should now see the HTC Sense LWP option in your live wallpaper selector. If not reboot and see if that does it. Setting the permissions is key.
You can do the same with root explorer/file expert by copying the files to the appropriate folder (apk to /system/app and the *.so to /system/lib) and changing permissions, you just have to remount /system as read/write for the files to actually copy over.
If you stuff your phone I take no, zero, none, nada, zip, zilch responsibility for it.
First time I tried this I did a bulk chmod on /system/lib and on the next reboot
I was stuck in recovery. So as painstaking as it is the one by one method of copying and permission setting is the safest (for me at least).
THIS IS NOT CWM FLASHABLE
Thanks for this!
Im lost! when I get to "cp Mode10Wallpapers.apk /system/app" dos tells
me that there is no such file, and doesn't do anything..
I have it on my C:\ just sitting there... no special file or folder.
Anyways, what does the "CP" stand for? just curious...
Thanks!!! Looking so forward to this
ssmr2t said:
Thanks for this!
Im lost! when I get to "cp Mode10Wallpapers.apk /system/app" dos tells
me that there is no such file, and doesn't do anything..
I have it on my C:\ just sitting there... no special file or folder.
Anyways, what does the "CP" stand for? just curious...
Thanks!!! Looking so forward to this
Click to expand...
Click to collapse
.......
are the files on your phone? I had mine in /sdcard/download/htclwp. so the line of "cd [LOCATION OF FILES]" for me is cd /sdcard/download/htclwp
all the commands listed are for once you have an adb shell session running.
I'll update my post to include that bit.
cp is a linux/unix command for copy.
Hey thanks a lot, it worked. I see the LWP in my wallpaper drawer, but it FC's on me... I also checked off all permissions.
Oh well...
Is there any way to port over the "weather" LWP from the new Evo 3d? ? NOW THATS A WALLPAPER that would be sick to see on our devices!!!
ssmr2t said:
Hey thanks a lot, it worked. I see the LWP in my wallpaper drawer, but it FC's on me... I also checked off all permissions.
Oh well...
Is there any way to port over the "weather" LWP from the new Evo 3d? ? NOW THATS A WALLPAPER that would be sick to see on our devices!!!
Click to expand...
Click to collapse
if it's force closing then you should recheck the permissions on all the files (and make sure they all copied over), and try a reboot. this does work.
uiskibum said:
if it's force closing then you should recheck the permissions on all the files (and make sure they all copied over), and try a reboot. this does work.
Click to expand...
Click to collapse
You are Awesome! It worked via root explorer. I want to thank you for your time, hard work, and being a Guinea pig. as a result of a semi brick, i think thats what that was?
If you want to do any more htc wallpapers i have all the stock ones from the HTC Evo 3D. Again..............
Thank you! you rock!
uiskibum said:
if it's force closing then you should recheck the permissions on all the files (and make sure they all copied over), and try a reboot. this does work.
Click to expand...
Click to collapse
What should the permissions be?
Sent from my MB860 using XDA Premium App
I didn't set any permissions. Just copied over the files to the correct folders mounted and rebooted.
Sent from my MB860 using Tapatalk
Permissions (if set by root explorer or other) should be:
HTML:
Read Write Execute
Owner X X
Group X
Others X
uiskibum said:
Permissions (if set by root explorer or other) should be:
HTML:
Read Write Execute
Owner X X
Group X
Others X
Click to expand...
Click to collapse
Thanks, is that for all the files?
Sent from my MB860 using XDA Premium App
ssmr2t said:
Hey thanks a lot, it worked. I see the LWP in my wallpaper drawer, but it FC's on me... I also checked off all permissions.
Oh well...
Is there any way to port over the "weather" LWP from the new Evo 3d? ? NOW THATS A WALLPAPER that would be sick to see on our devices!!!
Click to expand...
Click to collapse
God, that's one annoying signature you got there, lol.
msd24200 said:
Thanks, is that for all the files?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
yes, for all the copied files.
Sent from my MB860 using XDA App

[GUIDE] Correctly using Root Explorer to manually replace modded/stock system files

Here is the correct way to use root explorer for manually replacing system files:
1. Mount the system as r/w (read/write) per the top right corner. Navigate to the file that you plan to replace (e.g., system/framework/framework.jar).
2. Copy (not move) the file and paste it somewhere on your SD card (internal or external, doesn't matter - as long as you can locate it in case you need to put it back). Rename the file you just pasted, but very subtly. For example, when renaming framework.jar, I would only throw something in front of the file name, such as "Backup - framework.jar", so I can easily distinguish it from the new file if I put them in the same spot.
3. NANDROID BACKUP!
4. Download/put on your sd card (whatever you do) the new file that you want to replace the old one with.
5. Move the new file to /system (not in a subfolder yet). Here you will change the permissions, which is crucial to avoid FCs and problems. In root explorer, you would long press the file, press permissions, and set them to whatever the old file's permissions are. This may require going to verify what they are before starting this step. For example, in a lot of cases, the permissions will be RW-R-R. In Root Explorer, this would mean checking the first two boxes on the first line and only the first box on the next two lines. In any situation, confirm that the permissions you see after you've changed them (right below the file name) match exactly what you're replacing.
6. Ensure that your new file is correctly named to exactly what it is replacing (case actually matters) and double check the permissions.
7. Move your new file to the folder, root explorer will ask if you want to replace the file. Confirm.
8. Back out of root explorer and immediately reboot.
No force closes, no problems .
It may seem like a lot to someone who doesn't do it often but for me, I actually do this method faster than any other and fly through it every time. I got tired of seeing people explain ways to use Root Explorer which result in bootloops, FCs, etc. without fail. So, I decided to put an end to it.
Great post Simba501! Thank you for this...
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Audiochild said:
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Click to expand...
Click to collapse
Toggle "Mount R/W" button at the top.
Audiochild said:
Great post Simba501! Thank you for this...
Obviously a "noob" thing I'm over-looking but when I try and paste the file I'm moving into /system it's prompting me that it's "read-only"?
Click to expand...
Click to collapse
Sounds like you need to mount \system as read-write. There is a button in the upper right corner of root explorer to mount
Sent from my SGH-I777 using XDA App
Thanks wonner and kbilly70! That was the issue
Awsome. Bookmarked!
thanks for the awesome guide. worked great for me!
Thanks, that clears things up.
I'm still wondering, though, how does one handle certificate files etc? For example, the ones found in this fix provided by zdzihu, in the META-INF folder.
kZard said:
Thanks, that clears things up.
I'm still wondering, though, how does one handle certificate files etc? For example, the ones found in this fix provided by zdzihu, in the META-INF folder.
Click to expand...
Click to collapse
Those are only for flashing purposes. Not needed if you're not flashing it. You only need to pull everything besides that folder and place them appropriately.
Using this method resulted in "app not installed" tried it with black Google search box, and just now with Mms.apk rw-r--r-- backed up old one, but method didn't work... had to nandroid last time because phone wouldn't let me install backup or market version. Looks like I'm in for it again. fudge. what went wrong?
System folder was r/w and moved apk into system/app said OK to overwrite and used hard key back button to exit root explorer. Hard key power button and selected reboot within 1-4 seconds of moving apk over system app.
Edgarhighman said:
Using this method resulted in "app not installed" tried it with black Google search box, and just now with Mms.apk rw-r--r-- backed up old one, but method didn't work... had to nandroid last time because phone wouldn't let me install backup or market version. Looks like I'm in for it again. fudge. what went wrong?
System folder was r/w and moved apk into system/app said OK to overwrite and used hard key back button to exit root explorer. Hard key power button and selected reboot within 1-4 seconds of moving apk over system app.
Click to expand...
Click to collapse
You don't install it after placing it. Placing it in the folder does install it. If you put it there, ensure the permissions are correct, and reboot, it should work.
EDIT: I don't see any mention of setting the permissions, so that was probably the issue. Again, no need to "install" it; just put it in the appropriate folder and set the permissions.
Simba501 said:
You don't install it after placing it. Placing it in the folder does install it. If you put it there, ensure the permissions are correct, and reboot, it should work.
EDIT: I don't see any mention of setting the permissions, so that was probably the issue. Again, no need to "install" it; just put it in the appropriate folder and set the permissions.
Click to expand...
Click to collapse
I did state the permissions. It's in your quote lol. Your method caused my phone to say app not installed. I had trouble getting the default app back after your method failed. Why didn't it work? I'm telling you I followed it to a T.
Sgs2, android 2.3.6, unnamed rom, December 2011 entropy kernel
Edgarhighman said:
I did state the permissions. It's in your quote lol. Your method caused my phone to say app not installed. I had trouble getting the default app back after your method failed. Why didn't it work? I'm telling you I followed it to a T.
Sgs2, android 2.3.6, unnamed rom, December 2011 entropy kernel
Click to expand...
Click to collapse
If the apk is compatible, it will work. At no point should you get an "application not installed" prompt, unless you attempted to manually install it at some point. If it wouldn't work, it just wouldn't appear in the app drawer: no prompt.
I guess this should be mentioned in the OP, but some times, clearing data of the application may be necessary after finishing. Usually a force stop at the most will allow you to see changes (which is why the steps include a reboot). You've piqued my interest. Post the files of question and I'll see if they work on my device. There was a similar issue someone else was having; I told him to redownload the apk and that was the problem. Some kind of botched file/download.
Sent from my Galaxy S II (i777)
can you edit or create new folders in the /sys directory?
mikoal said:
can you edit or create new folders in the /sys directory?
Click to expand...
Click to collapse
No. Why would you want to?
Sent from my Galaxy Tab 10.1
Simba501 said:
No. Why would you want to?
Sent from my Galaxy Tab 10.1
Click to expand...
Click to collapse
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
mikoal said:
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
Click to expand...
Click to collapse
You can edit and create new folders in that directory, but there's just no need to, unless you want to break the functionality of your phone.
mikoal said:
just wondering what the limitations of root explorer are.
is it only that folder? and why that folder?
Click to expand...
Click to collapse
Idk: that's the only one I've seen. I've created folders in other directories. At any rate, virtually every modification you'll ever make will be in /data or /system.
dsmboost said:
You can edit and create new folders in that directory, but there's just no need to, unless you want to break the functionality of your phone.
Click to expand...
Click to collapse
It fails if attempting to create it within Root Explorer. You could use other means though (on a PC, an edited ROM zip, or potentially another root file manager). But again, no real reason to: other than for development purposes, perhaps. I'm no developer though, so I can't say.
Sent from my Galaxy Tab 10.1
Simba501 said:
Idk: that's the only one I've seen. I've created folders in other directories. At any rate, virtually every modification you'll ever make will be in /data or /system.
It fails if attempting to create it within Root Explorer. You could use other means though (on a PC, an edited ROM zip, or potentially another root file manager). But again, no real reason to: other than for development purposes, perhaps. I'm no developer though, so I can't say.
Sent from my Galaxy Tab 10.1
Click to expand...
Click to collapse
Ah okay, I was referring to ES file explorer, which can modify other files in that directory.
thanks to you both!

So you want to mod your Fire HD

!!!!!!!!!THIS THREAD IS STRICTLY FOR MODS, AND MODS ONLY, THERE WILL BE NO ARGUING ON THIS THREAD!!!!!!!!!
Users, i am not dev, but i want to help.....do here is this thread.
On this thread feel free to post how-to's, non play store apps etc. So long as its mad based/related. Questions are allowed!
So lets get to it!
Sent from my MB855 using Tapatalk 2
Mod what?
Android>iOS... Android FTW!
so to load a new launcher for root users:
1. Root Your Device!
2. Using a root explorer like es file explorer or root explorer mount system R/W
3. Grab the all for whatever you want from wherever you have it, and just copy it into you /system/app/ folder
4. Re-name the "Launcher.apk" application in the /system/app/ to "Launcher1.apk"
5. Voila you can now use any launcher in the system app folder-->note you may need to reboot
Sent from my KFTT using XDA Premium HD app
craby1925 said:
so to load a new launcher for root users:
1. Root Your Device!
2. Using a root explorer like es file explorer or root explorer mount system R/W
3. Grab the all for whatever you want from wherever you have it, and just copy it into you /system/app/ folder
4. Re-name the "Launcher.apk" application in the /system/app/ to "Launcher1.apk"
5. Voila you can now use any launcher in the system app folder-->note you may need to reboot
Sent from my KFTT using XDA Premium HD app
Click to expand...
Click to collapse
There is no need to rename the launcher.apk. After another launcher is installed you will be given the choice of which launcher you want to set as default, you can change back to stock launcher by clearing the defaults of the custom launcher. Better to not change system files if you dont have to. After you move the new launcher to system/app folder change the permissions to rw-r--r--.
onemeila said:
There is no need to rename the launcher.apk. After another launcher is installed you will be given the choice of which launcher you want to set as default, you can change back to stock launcher by clearing the defaults of the custom launcher. Better to not change system files if you dont have to. After you move the new launcher to system/app folder change the permissions to rw-r--r--.
Click to expand...
Click to collapse
Would you need to rename the new launcher to anything special, or is setting these permissions and/or placing into this directory enough?
4Bn0rmL said:
Would you need to rename the new launcher to anything special, or is setting these permissions and/or placing into this directory enough?
Click to expand...
Click to collapse
Nope, I just got a special/stupid kfhd, that wouldn't work unless launcher was renamed.
Sent from my Fire HD with root!
Alright,
1st, device spoofer will cause BOOTLOOPS!!!! so don't buy!
(I learned this the hard way)
so this isn't really a mod but if you boot-looped your device by messing with build.prop than here is a quick fix:
1.Make sure you have adb set up nice for your fire by following the amazon developers @ https://developer.amazon.com/sdk/fire/getting-started.html AND that you have the orignal build.prop file
Make sure you read the entire page verbatim, especially if your a mac user, because all the answers are either on the page or in the links
2.You either will need to have temp root or have already been rooted.
3. Make sure the device is actually reaching adb, check this by waiting until the sparkly kindle fire logo comes up, and then doing adb devices
4. Down to Business: Turn on the fire and wait until you reach sparkly kindle fire logo.
5.Navigate to platform-tools folder and place your original build.prop file there
6.type
Code:
adb shell
su
mount -o remount,rw /system
mv build.prop /system/build.prop
exit
exit
reboot
7. If you already kept a backup of the original build.prop file on the device, than change the mv line to
Code:
mv /system/build.prop.bak /system/build.prop
-->and there ya go, post if you have problems
craby1925 said:
so to load a new launcher for root users:
1. Root Your Device!
2. Using a root explorer like es file explorer or root explorer mount system R/W
3. Grab the all for whatever you want from wherever you have it, and just copy it into you /system/app/ folder
4. Re-name the "Launcher.apk" application in the /system/app/ to "Launcher1.apk"
5. Voila you can now use any launcher in the system app folder-->note you may need to reboot
Sent from my KFTT using XDA Premium HD app
Click to expand...
Click to collapse
Hi,
Will this replace this awful carousel thing ? And therefore, redirect the home button ?
Sorry, i'm not a native english speaker, i don't understand the "Grab the all for whatever you want from wherever you have it".
Does it mean that i copy the new launcher's apk file to /system/app/ ? And do i have to install the new launcher ?
Thanks
iCoN3o said:
Hi,
Will this replace this awful carousel thing ? And therefore, redirect the home button ?
Sorry, i'm not a native english speaker, i don't understand the "Grab the all for whatever you want from wherever you have it".
Does it mean that i copy the new launcher's apk file to /system/app/ ? And do i have to install the new launcher ?
Thanks
Click to expand...
Click to collapse
Download a launcher from the play store
With a file manager move the apk from /data/app/ folder (It will be named differently than you are used to, usually has the company or developers name instead) to /system/app/ folder then reboot.
No need to change permissions as they are the same coming from /data/app/ folder
onemeila said:
Download a launcher from the play store
With a file manager move the apk from /data/app/ folder (It will be named differently than you are used to, usually has the company or developers name instead) to /system/app/ folder then reboot.
No need to change permissions as they are the same coming from /data/app/ folder
Click to expand...
Click to collapse
Thanks ! It worked perfectly. Goodbye carousel !!!
Sent from my KFTT using xda app-developers app
Are there any alternates to the soft button bar like a stock jb one or something? Or can we not do that because of the odex? I know it's systemui.apk I tried installing a cm9 systemui.apk on my kf2 and system/app rwrr but on reboot all I got was black screen. I backed it up and restored it with adb so I know what i'm doing... for the most part. Sorry for an y random spaces or periods... swype doesn't like furious tapping on the kf2. Needless to say, I have swype as default keyboard and launcher pro as launcher.
Well, I tried the same wpthing with a similar result. My best guess is that it works off of framework res so...until there are custom ROMs we have to wait. But, I've been toying with an idea: if the favorite button on the saftbar was rewritten to display recent apps, e.g. that it always displays 8 apps from data list x, and data list x is a list constantly updated saying the most recent app. Then the app could be themed minorly to have the window over window PNG and voila: a little bit better stock ROM. My problem is that I'm not a coder of any kind, so its a slow process.
Sent from my Fire HD with root!
fmkilo said:
Are there any alternates to the soft button bar like a stock jb one or something? Or can we not do that because of the odex? I know it's systemui.apk I tried installing a cm9 systemui.apk on my kf2 and system/app rwrr but on reboot all I got was black screen. I backed it up and restored it with adb so I know what i'm doing... for the most part. Sorry for an y random spaces or periods... swype doesn't like furious tapping on the kf2. Needless to say, I have swype as default keyboard and launcher pro as launcher.
Click to expand...
Click to collapse
I could try to edit it for you. I don't have a Kindle Fire HD, so you'll have to upload me the framework-res.apk and test it for me. Make sure you backup before you test it though.
Sent from my Kindle Fire
Has anyone figured out or tried to replace or disable stock search and get Google search to work. I've tried a few things with no luck. I would also like Google now.
For Google search, it's really tedious.
For it to work you have to rename the stock search to iforgothenameofit.apk.bak
Than you have to grab the Google search app from jelly bean gapps via goo.I'm, and push it to the system/app folder with permissions rw-r--r--
Than you have to push all the framework files, permission files, basically any other non-apk file to the folder of which it belongs.(you can get this from the whole zip file that you got from goo.I'm
MAKE SURE THAT EVERY FILE YOU PUT IN THE SYSTEM DIRECTORY HAD PERMISSION RW-R--R--
*This can actually be done with a root explorer fairly easily
Sent from my Fire HD with root!

Moved apk from /system/app to sdcard and moved back again to /system/app

I used root explorer to move some system apk & its corresponding odex file from /system/apk to sdcard. I rebooted and found that I have moved some essential app like the stock dialer (it wasn't possible to figure out from the apk name). So now the dialer was gone. I then moved them back from sdcard to /system/app using root explorer thinking that it would undo the mess.
However the apps didn't come back, for example the dialer. The phone still tells me that there is no dialer.
What do I need to do?
Maybe you copied framework or something that dialler need to work... Try put bac all files. If that doesn't help see if the dialer is inn apps.
Gregrin said:
Maybe you copied framework or something that dialler need to work... Try put bac all files. If that doesn't help see if the dialer is inn apps.
Click to expand...
Click to collapse
I didn't move anything from any other directory. I moved back each and every file to /system/app that I had moved from it earlier. Still no luck.
I didn't delete anything in this process. I don't see dialer in app drawer either.
Reboot?
Sent from my GT-N7000 using Xparent Skyblue Tapatalk 2
Markuzy said:
Reboot?
Sent from my GT-N7000 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Yes, umpteen number of times.
Fix permissions. if u copied everything back to original location, it should work. then remove ONLY unwanted apps
RavinduSha said:
Fix permissions. if u copied everything back to original location, it should work. then remove ONLY unwanted apps
Click to expand...
Click to collapse
Yes, you are so right.
The apk permissions have screwed up after all the moving. I issued ls -l command in adb shell and this is what I found out.
-rw-r--r-- 1 root root 3973 May 7 2012 HTMLViewer.apk
-rw-r--r-- 1 root root 8784 May 7 2012 HTMLViewer.odex
----rwxr-x 1 system sdcard_r 562553 Feb 9 04:31 LatinIME.apk
----rwxr-x 1 system sdcard_r 327896 Feb 9 04:31 LatinIME.odex
-rw-r--r-- 1 root root 14569 May 7 2012 LiveWallpapersPicker_gles20.apk
-rw-r--r-- 1 root root 21392 May 7 2012 LiveWallpapersPicker_gles20.odex
LatinIME.apk is the keyboard with screwed up permission.
Now how do I fix it? What command do I issue?
fix permissions in recovery. or in connectbot or another shell program:
chown root:root /system/app/*.apk /system/app/*.odex
chmod 644 /system/app/*.apk /system/app/*.odex
reboot
You can also change permissions in Root Explorer itself. Hold down on the files, choose permissions and tick the first column and the first box of the second one. Leave the rest blank and press ok. That's it. If it still doesn't show, reboot. Fixing permissions in recovery does exactly this, but for all files in /system/app, /data/app and /data/data. Every time you copy something to /system or /data, you have to set the right permissions. Either in a root explorer app, adb shell, terminal emulator or fixing permissions in recovery.
LatinIME is the stock Android keyboard btw.
Sent from my Desire HD using xda premium
calisro said:
fix permissions in recovery. or in connectbot or another shell program:
chown root:root /system/app/*.apk /system/app/*.odex
chmod 644 /system/app/*.apk /system/app/*.odex
reboot
Click to expand...
Click to collapse
Issued the above commands. They all now show the same as others and are back.
Unfortunately the dialer still doesn't appear. Which apk is the dialer? My phone has gingerbread.
sashank said:
LatinIME is the stock Android keyboard btw.
Click to expand...
Click to collapse
You are right. LatinIME is the keyboard. That too had got screwed up. But by changing permission, now its back.
However as I mentioned above the dialer is still absent. Under all applications, the dialer shows up. But not in drawer.
Is there any android application or windows tool to help identify which apk corresponds to which android application. Some apk files have no bearing to the actual application name. Hence all this mess happened.
Well if you open the apps folder in a root explorer, the icons of all the apps will show. So you can identify from there. It works this way in Solid Explorer for me. Also in system apps most of the apps are named according to what they are. Example, dialer is Phone.apk, contacts are Contacts.apk etc. For other Play Store downloaded apps, which names starting with com.xxxxx, you can see their icons too.
Dialer is Phone.apk in Gingerbread. The screenshot I've put below is of the /system/app folder in Solid Explorer. I think even Root Explorer shows icons like that.
Sent from my Desire HD using xda premium
sashank said:
Well if you open the apps folder in a root explorer, the icons of all the apps will show. So you can identify from there. It works this way in Solid Explorer for me. Also in system apps most of the apps are named according to what they are. Example, dialer is Phone.apk, contacts are Contacts.apk etc. For other Play Store downloaded apps, which names starting with com.xxxxx, you can see their icons too.
Dialer is Phone.apk in Gingerbread. The screenshot I've put below is of the /system/app folder in Solid Explorer. I think even Root Explorer shows icons like that.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
I can see two apks in my phone with dialer icon.
Phone.apk (& Phone.odex)
TelephonyProvider.apk (& TelephonyProvider.odex)
How do I get back the dialer? This is a dual sim phone and only the stock dialer gives the option to select sim before dialing. None of the market dialers provide this option.
phone.apk is the file.
I like using fix permissions from recovery. it fixes every permission within few seconds.
RavinduSha said:
phone.apk is the file.
I like using fix permissions from recovery. it fixes every permission within few seconds.
Click to expand...
Click to collapse
I have CWM v5.0.2.8. Pls let me know how to fix permissions from recovery.
ontherocks62 said:
I have CWM v5.0.2.8. Pls let me know how to fix permissions from recovery.
Click to expand...
Click to collapse
advanced section. look through. it should be self explanatory.
ontherocks62 said:
Issued the above commands. They all now show the same as others and are back.
Unfortunately the dialer still doesn't appear. Which apk is the dialer? My phone has gingerbread.
You are right. LatinIME is the keyboard. That too had got screwed up. But by changing permission, now its back.
However as I mentioned above the dialer is still absent. Under all applications, the dialer shows up. But not in drawer.
Is there any android application or windows tool to help identify which apk corresponds to which android application. Some apk files have no bearing to the actual application name. Hence all this mess happened.
Click to expand...
Click to collapse
the dialer is Phone.apk
calisro said:
advanced section. look through. it should be self explanatory.
Click to expand...
Click to collapse
Fixed permission. Still dialer doesn't appear. :crying:
ontherocks62 said:
Fixed permission. Still dialer doesn't appear. :crying:
Click to expand...
Click to collapse
reflash the rom. easy peasy. next time careful what you delete! sry guy.
if u have a backup just restore only system partition
RavinduSha said:
if u have a backup just restore only system partition
Click to expand...
Click to collapse
I have a backup. Unfotunately, I took a backup after messing up. So after re-flashing it with the backup, it boots in the messed up state.
I downloaded one gingerbread Phone.apk yesterday. I renamed the Phone.apk and Phone.odex in my phone to Phone.apk.bak & Phone.odex.bak. Then copied the downloaded Phone.apk to /system/app. Then fixed permissions via recovery and rebooted.
To my horror, not only did the dialer didn't appear, but also the phone wouldn't detect the sim cards. It would say no connection available...
So Phone.apk is affecting other stuff too. So I deleted the new Phone.apk and renamed the .bak to its original names, fixed permissions via recovery and rebooted. The phone still wouldn't detect the sim cards.
Then I went back to recovery, cleared Dalvik cache & user data, and performed clear data & factory reset. After reboot, the phone started detecting the sim cards again.
So this leads me to believe that something else other than permissions has a role to play.

[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