Unable to convert apps to system (GalaxyA8 Sm-a800i) - Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot

Hey guys, i quite unfortunately own a galaxy a8 (a800i). It has almost no dev support. After rooting my phone, i tried converting an app to system(through limk2sd). It did but when i rebooted my phone the app disappeared! Had to manually locate the system files (yes they were there, including the apk) and delete them.
Again,tried it with titanium backup, didnt work out.
Also tried moving the folders manually and i took care to set the correct permissions, the app just wouldnt appear.
At last, after deleting all the system app data and files again, i finally placed the apk with correct permissions in the/system/app folder and rebooted my phone. The app was there but it was force closing.
I tried doing this with 4 different apps, to no avail.
I run stock firmware.
(please note- Although a800F and A800i have same hardware, a800i will not support the others custom recovery, root methods,kernels etc.)
Any devs who might be interested in this? Id be glad.

You need to create a folder with the same name as the apk and push the folder to system app.
Then put apk in the folder with same name
Sent from my SM-G903F using Tapatalk

LastStandingDroid said:
You need to create a folder with the same name as the apk and push the folder to system app.
Then put apk in the folder with same name
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
Tried that too, been working on this since 2 days. Nothing seems to work. I have never encountered an error like this before on any other of my devices. All the pre installed system apps are odexed, and the one im trying is not, for obvious reasons. Do you think it has got something to do with the error?

abhinavparasher said:
Tried that too, been working on this since 2 days. Nothing seems to work. I have never encountered an error like this before on any other of my devices. All the pre installed system apps are odexed, and the one im trying is not, for obvious reasons. Do you think it has got something to do with the error?
Click to expand...
Click to collapse
Hmm missing Libs? Or the odex file itself?
Sent from my SM-G903F using Tapatalk

LastStandingDroid said:
Hmm missing Libs? Or the odex file itself?
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
No, the lib and the .dex file of the user app im trying to move to system is intact, all im trying to ask is that do you think the system is not accepting the converted app because it has a .dex instead of the regular .odex file which is the case with all system apps?
This assumption might be wild, but considering that i have never faced such an issue before in 10-12 android devices that i have owned in the past, it might be of some use.

abhinavparasher said:
No, the lib and the .dex file of the user app im trying to move to system is intact, all im trying to ask is that do you think the system is not accepting the converted app because it has a .dex instead of the regular .odex file which is the case with all system apps?
This assumption might be wild, but considering that i have never faced such an issue before in 10-12 android devices that i have owned in the past, it might be of some use.
Click to expand...
Click to collapse
Has nothing do do with it, if it's a "user app" as long if the app has all needed files in correct folder it should run. it should be working if it doesn't it might be any issue that the app won't run while in system/app
Sent from my SM-G903F using Tapatalk

So for now, we havnt arrive to any conclusion. All apps break if they are converted to system apps. Tried to do it via TB/Link2sd/various other tools and manually. App components are present in /system/app including the apk and lib, but the app wont appear anywhere on the phone.

abhinavparasher said:
So for now, we havnt arrive to any conclusion. All apps break if they are converted to system apps. Tried to do it via TB/Link2sd/various other tools and manually. App components are present in /system/app including the apk and lib, but the app wont appear anywhere on the phone.
Click to expand...
Click to collapse
That's because it has to be placed inside a folder with the same name as the app
Like /system/app/viper/viper.apk
It can't be /system/app/viper/base.apk
Also libs should be in
System/app/viper/lib/arm/*****.so
Hope this issue helps
Sent from my SM-G903F using Tapatalk

i did try this before. tried it again. It doesnt work. I was extremely careful with directries, app names, libs and permissions.
Like ive said iv done this countless times before on other devices, and it has always worked.
Something else i would like to mention- Thought the app shortcut doesnt appear anywhere, whenever i open the apk file (on my sd card) it says "do you want to update the app" which means the app is actually already installed. I click yes and the app is installed, app icon returns.
I open application manager and open up this app's settings. I get the option of "Uninstall updates" instead of uninstall apps which proves the first time i moved to system, the app became a system app but it disappeared. If i click uninstall updates, the app disappears again. If i try to integrate update with link2sd the app disappears any ways.
There is just no reason for this to happen! So basically im stuck with a phone which barely got a root method, doesnt have a custom recovery, has a enforcing kernel, and doesnt allow me to move apps to /system.
Do you think it might be possible to "flash" the app zip file via a custom recovery? (if we get one for a800i lol)

abhinavparasher said:
i did try this before. tried it again. It doesnt work. I was extremely careful with directries, app names, libs and permissions.
Like ive said iv done this countless times before on other devices, and it has always worked.
Something else i would like to mention- Thought the app shortcut doesnt appear anywhere, whenever i open the apk file (on my sd card) it says "do you want to update the app" which means the app is actually already installed. I click yes and the app is installed, app icon returns.
I open application manager and open up this app's settings. I get the option of "Uninstall updates" instead of uninstall apps which proves the first time i moved to system, the app became a system app but it disappeared. If i click uninstall updates, the app disappears again. If i try to integrate update with link2sd the app disappears any ways.
There is just no reason for this to happen! So basically im stuck with a phone which barely got a root method, doesnt have a custom recovery, has a enforcing kernel, and doesnt allow me to move apps to /system.
Do you think it might be possible to "flash" the app zip file via a custom recovery? (if we get one for a800i lol)
Click to expand...
Click to collapse
Well to be honest I did face same issue with Samsung s health I'm not sure what causes it, can be system related or something.
Don't you have spacex kernel which is set to permissive?
Sent from my SM-G903F using Tapatalk

The only difference is that it happens with me for every app lol.
I did hear about it but im pretty sure its for a800F. Anything related to a800F causes a bootloop in a800i. Someone on the forum tried the spacex kernel. Do you think you can make it compatible somehow?
If nothing works i might just compile a kernel with always_enforce set to false. Then i should be able to change the policy to permissive with seteneforce 0 command.

abhinavparasher said:
The only difference is that it happens with me for every app lol.
I did hear about it but im pretty sure its for a800F. Anything related to a800F causes a bootloop in a800i. Someone on the forum tried the spacex kernel. Do you think you can make it compatible somehow?
If nothing works i might just compile a kernel with always_enforce set to false. Then i should be able to change the policy to permissive with seteneforce 0 command.
Click to expand...
Click to collapse
Are you the dude that's going to test twrp?
I have built a permissive kernel for this device also.
You are welcome to try it.

Sure il try that too. Permissive kernel is something that many of us need. Infact i was gonna make it. Thanks for the effort!
You can pass me the flashable tar file. In the meanwhile, il test the recovery and get back to you.

abhinavparasher said:
Sure il try that too. Permissive kernel is something that many of us need. Infact i was gonna make it. Thanks for the effort!
You can pass me the flashable tar file. In the meanwhile, il test the recovery and get back to you.
Click to expand...
Click to collapse
Here you go, flash with odin or extract the boot.img from the archive and flash with TWRP.
SM-A800I_A800IXXU2AOL2 _boot

ashyx said:
Here you go, flash with odin or extract the boot.img from the archive and flash with TWRP.
SM-A800I_A800IXXU2AOL2 _boot
Click to expand...
Click to collapse
The kernel works perfectly! Root+ selinux set to permissive. Flashed the boot.img with the twrp recovery provided by @ashyx . The recovery as well as the kernel work with no issue whatsoever. The problem with the wifi did not occur this time. Must be related to the old kernel i flashed, it somehow changed the build.prop everytime i flashed something (Including the recovery)
Anyways, now we know that the kernel as well as the recovery works as it should.
I think you should make the post official, recovery as well as root+selinux set to permissive.
Thanks!

abhinavparasher said:
The kernel works perfectly! Root+ selinux set to permissive. Flashed the boot.img with the twrp recovery provided by @ashyx . The recovery as well as the kernel work with no issue whatsoever. The problem with the wifi did not occur this time. Must be related to the old kernel i flashed, it somehow changed the build.prop everytime i flashed something (Including the recovery)
Anyways, now we know that the kernel as well as the recovery works as it should.
I think you should make the post official, recovery as well as root+selinux set to permissive.
Thanks!
Click to expand...
Click to collapse
Released on XDA in Development section: http://forum.xda-developers.com/sam.../kernel-permissive-ll-5-11-kernel-sm-t3312817
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU

:bump:

abhinavparasher said:
:bump:
Click to expand...
Click to collapse
Tried flashing your apps with twrp?
Sent from my SM-G903F using Tapatalk

LastStandingDroid said:
Tried flashing your apps with twrp?
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
Yes, thats the only thing that works. This issue really garners my interest as i have never seen this happening before.

Related

[Q] Need help reinstalling stock Twitter app

Okay, I rooted my N1 with Universal Androot and removed the stock Froyo Twitter app without backing it up. (Shame on me.) Now, I can't update to 2.2.1 because of it (a status 7 error complaining about not finding /system/app/Twitter.apk)
I have, at the advice of some other forum posts I've read, installed Twitter from Android Market and backed it up to the sd. Renamed it Twitter.apk and used the Terminal Emulator to copy it to /system/app. That worked and the file is there, but the update still will not apply. Do I also need a .odex file? Is there any way to update at this point?
Any help would be super appreciated. THANKS!
if this is the new twitter app would you be kindly enough to share it..lol
Sent from my Nexus One
grab it from an older update like from frf91 update.. then do adb push /system/app
if you cant do that...
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
ilostchild said:
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
Click to expand...
Click to collapse
That's exactly what I did. It didn't work.
I'd love to pull the app from a FRF91 build but I have no idea how that's done.
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
danger-rat said:
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
It looks as though I can't flash the GAPPS without unlocking the bootloader and installing a new recovery, correct? I'm really not that motivated if that's the case. I appreciate the information.
OK, just download the GAPPS, then use something like estrongs file manager to unzip to a folder of choice (with estrongs, longpress and select extract).
The Twitter apk will be in the extract folder/system/app. Just click the apk to install...
Sent from my Nexus One using XDA App
BTW, if you have root, you may as well install a custom recovery (without touching the bootloader).
Easy way with ROM Manager (has Clockworkmod and Amon-Ra), or use adb if you wanna learn something...
Sent from my Nexus One using XDA App
Thanks for the tips. I'll check it out tomorrow when I can make a data transfer. I am doubtful that installing from the zip will solve much since I already loaded the app and its already in the system folder.
could someone verify whether or not the Twitter app has a corresponding odex file that I might need?
I ran into the same problem when I removed Amazon Mp3, but I was impatient so I ended up reflashing the stock rom and then updating.
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
[SOLVED]
ilostchild said:
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
Click to expand...
Click to collapse
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
68pontiac said:
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
Click to expand...
Click to collapse
No problem man.. glad you got it working.. now reroot the phone and back up all the apps from then phone.. doin adb pull /system/app

[STICKY][Patch][Rom]Malware Exploit for all pre-Gingerbread devices

Who is affected? All devices pre-gingerbread
Who should act? Users and developers using pre-gingerbread roms
How do I fix? Flash attached .zip at the bottom of this post
What if I think I was infected? Completely wipe your device, format sdard, go back to stock and re-apply rom, then flash the attached .zip (before installing any apps)
Why should I care? read below...
http://www.androidpolice.com/2011/0...your-phone-steal-your-data-and-open-backdoor/
Flash this with ClockWorkMod.... this is for any Pre Gingerbread ROM.... ie TNT anything, VEGAn 5.1.1 and below, Zpad anything, GAdam anything.
This is not necessary for any ROMS based off Gingerbread AOSP or CM7. Including VEGAn-TAB Experimentals.
Be Safe.
Even More Details here: http://www.androidpolice.com/2011/0...-android-nightmare-and-weve-got-more-details/
I checked out the zip and it just adds a blank text file (0 bytes) called profile to the /system/bin folder. So I am not sure what the fix is?
**EDIT** Nevermind it is a dummy file meant to prevent the virus. Thanks to the OP for providing this.
http://www.androidpolice.com/2011/0...your-phone-steal-your-data-and-open-backdoor/
Nasty stuff. I would say this patch is high priority and I'm already going through my own ROMs to add it in.
http://forum.xda-developers.com/showthread.php?t=977154
Link above has info on creating the file manually.
Jim
fyi -
http://www.pcworld.com/article/221213/keep_malware_off_your_android_phone_5_quick_tips.html
Lookout mobile security . In case you cannot find it via the market.
http://www.getjar.com/Lookout-Mobile-Security-with-Antivirus
Edit. I just installed the lookout app to scan my tab, everything was fine and then, i un-installed it since it was running on the background and taking 10% of the cpu..
Anyways, a nice app that can be used to do a quick scan..
I don't have a stock gtab but I'll ask anyways... how can our stock rom users be protected? Is there an alternate method?
Edit just saw the manual process. Im guess that's the way to go.
xmr405o said:
I don't have a stock gtab but I'll ask anyways... how can our stock rom users be protected? Is there an alternate method?
Edit just saw the manual process. Im guess that's the way to go.
Click to expand...
Click to collapse
I'd curious to see what all the vendors are going to do about this. Granted, they could just say that the Market is not there, but regardless the security hole is still there and needs to be plugged up.
Hi,
I hope that this isn't too offtopic, but I was trying to create /system/bin/profile using a term and su, and when i went into root explorer to make /system/bin R/W, root explorer showed the dir as R/W already, and as mounted on /dev/loop9.
Is that normal?
I haven't installed dataloop, at least intentionally, so it seems strange that /system/bin would be mounted there, plus it being R/W by default?
FYI, I use z4root to get temp root. Could that be why /system/bin is R/W?
Then again, that wouldn't explain the /dev/loop9 mount ...
Jim
jimcpl said:
Hi,
I hope that this isn't too offtopic, but I was trying to create /system/bin/profile using a term and su, and when i went into root explorer to make /system/bin R/W, root explorer showed the dir as R/W already, and as mounted on /dev/loop9.
Is that normal?
I haven't installed dataloop, at least intentionally, so it seems strange that /system/bin would be mounted there, plus it being R/W by default?
FYI, I use z4root to get temp root. Could that be why /system/bin is R/W?
Then again, that wouldn't explain the /dev/loop9 mount ...
Jim
Click to expand...
Click to collapse
Hi,
Creating the profile file manually, it wouldn't persist,i.e., it was gone after rebooting, so I installed gojimi's zip usung CWM, and that worked.
I also did a mount w/o getting temp root, and /system/bin is not on /dev/loop9, so I'm guessing that when z4root sets temp root, it might be remounting /system/bin on /dev/loop9 itself.
Jim
You would have to download one of those sketchy apps to really be affected anyways, right? Who would do that?!
Appreciate the patch. This highlights the two problems with android though, google fixed this security issue in 2.2.2, but most carriers still haven't released that update. And the market needs some oversight, not authoritarian apple like, but some.
Sent from my T-Mobile G2 using XDA App
Is it possible to sticky this thread
Mods is it possible to sticky this thread so that it is easily visible.
Thanks
Hello guys. Is there a way to find out if our tablet is infected or not?
I mean if we have installed any of the apps in the list that automatically means that we are infected or not?
If infected what is preferred to do wipe the tablet or go back to stock rom??
Is there any manual for windows 7 noobies users?
Thanks.
Doctor LeVa said:
Hello guys. Is there a way to find out if our tablet is infected or not?
I mean if we have installed any of the apps in the list that automatically means that we are infected or not?
If infected what is preferred to do wipe the tablet or go back to stock rom??
Is there any manual for windows 7 noobies users?
Thanks.
Click to expand...
Click to collapse
Please read the thread completely, it is stated you can download lookout security to run a scan to see if you are infected.
downloading.....see what happens
There is a DroidDreamKiller app that allows you to check to see if you are already infected and install the patch. There is also a beta test app that gives you other information. Just search the market for DroidDreamKiller.
To devs: Thank You
TO Everyone else DO THIS ASAP
How do I flash the zip file after downloading it?
Thanks
Start cwm using volume up while powering on.
Once menu comes up select install zip using vol buttons
Use home to select.
Navigate to where you saved zip file
Select it with home button
Once install complete reboot from cwmod
MODs Please make this a sticky . It is being overlooked.

re-compiled power.shamu.so to re-enable double tap to wake. (no root required)

This solution works for anyone that doesn't want to root their device.
however required a unlocked boot loader.
you can use TWRP file manager to replace below files. (hence not needing root).
(or someone can kindly create a flashable)
I have recomplied the power.shamu.so (replacing the missing codes from https://android.googlesource.com/device/moto/shamu/+/2084f7d0cf50baf394759d175bc28ad80cf7cace^!/ )
What this does is also re-enable the double-tap to wake.
to use,
backup a copy of
/system/lib/hw/power.shamu.so
then copy the attached power.shamu.so to /system/lib/hw/
change the permission of power.shamu.so to 0644
then boot your device. volia... you now have double tap to wake again.
Note. this has been tested with my own nexus 6.
Thanks. I think this would be better in themes n apps section though.
Thank you Sir! I'm going to remove the app and try this on Elix-R!
EDIT: Works great! Thank you again.
Which permissions are 0644?
smalltownbird said:
Which permissions are 0644?
Click to expand...
Click to collapse
User: R,W
Group: R
Other: R
Thanks that's what I thought I just wanted to make sure
Can I just flash the zip file that's in the beginning of the thread? Also would I need to re-install after wiping and flashing different roms or will it stay?
Figured it out.
No Worky on Slim
mr_clean5953 said:
No Worky on Slim
Click to expand...
Click to collapse
Working fine here. You probably never set permissions
suzook said:
Working fine here. You probably never set permissions
Click to expand...
Click to collapse
I did. And triple checked it
mr_clean5953 said:
I did. And triple checked it
Click to expand...
Click to collapse
Strange working here on beta 8
suzook said:
Strange working here on beta 8
Click to expand...
Click to collapse
I redownloaded and reloaded the file and its working fine now
Awesome
.....working like charm....
Sent from my Nexus 6 using XDA Free mobile app
Working great here!!! Thank you.
Stock ROM...
Sent from my Nexus 6 using Tapatalk
nice, although no root required makes no sense considering you have to copy and paste this to /system that requires root... or am i missing something?
BeansTown106 said:
nice, although no root required makes no sense considering you have to copy and paste this to /system that requires root... or am i missing something?
Click to expand...
Click to collapse
You can do it from recovery which has system access even if the ROM doesnt have root privileges.
What I am wondering though is if you can use fastboot to simply boot recovery without flashing it, and would you be able to do that command without unlocking the bootloader? Or does booting a custom system file require it to be unlocked?
BeansTown106 said:
nice, although no root required makes no sense considering you have to copy and paste this to /system that requires root... or am i missing something?
Click to expand...
Click to collapse
Idea is just like rooting.
You need to some how replace the power.shamu.so once, and thats it.
Some people dont like phones to be rooted, as some software are really particular with root such as 'good for ent' or banking app. Idea is so that these people can still have doible tap to wake.
Hence you require a unlocked boot loader.
Eg, i guess i can also repack the file to a flashable zip, then user can just flash from recovery.
Note, i found that your tap needs to be quite consistant (can't be too fast or slow. There is a specific window)
what about pocket detection? (proximity sensor)
antiochasylum said:
what about pocket detection? (proximity sensor)
Click to expand...
Click to collapse
Don't think there is such feature. One you Mentioned is ambient display which I choose to switch off. As I believe it might detect lots of false pick up.
Awesome! Works great!
Stock rom
Sent from my Nexus 6 using Tapatalk

What have you guys done with your rooted ZTE Blade ZMAX?

After a year since the release, the ZTE Blade Zmax is finally able to be rooted . I want to know, what have you guys done so far with your rooted devices? Any custom tweaks, used a cheat engine, etc? Have you looked into any custom ROMs that may possibly work for this phone? Comment below what you have done so far. Me personally, I tweaked my battery a lot and did a little modification to my kernel. With both magisk and xposed, I have been able to do a lot so far, but I want to do more. That is why I am curious to know cool things that you guys have done so far.
Removed SO much bloat, did the usual magisk modules, used SystemUI Tuner to make some visual changes in the statusbar, and noticed how heavily ZTE modified the system all the way down to the weather app. Currently looking into decompiling and recompiling the systemui to remove the annoying top left carrier wasn't successful in the first attempt so going at it again.
JasonSec said:
Removed SO much bloat, did the usual magisk modules, used SystemUI Tuner to make some visual changes in the statusbar, and noticed how heavily ZTE modified the system all the way down to the weather app. Currently looking into decompiling and recompiling the systemui to remove the annoying top left carrier wasn't successful in the first attempt so going at it again.
Click to expand...
Click to collapse
Interesting. What type of bloatware did you remove? ANy app specific used for that? For the last couple of days, I have been trying to change the boot animation. After may methods and attempts, it serves as no avail, so likewise to you, we both have things we are trying to accomplish. Hopefully, all goes well. Keep me updated on your status.
evtoofly said:
Interesting. What type of bloatware did you remove? ANy app specific used for that? For the last couple of days, I have been trying to change the boot animation. After may methods and attempts, it serves as no avail, so likewise to you, we both have things we are trying to accomplish. Hopefully, all goes well. Keep me updated on your status.
Click to expand...
Click to collapse
Facebook, metrozone, chrome, few other I can't remember. No app just deleted them from /system/(priv-)app via recovery.
For the bootanimation I found a megathread under Android customization, grabbed the zip for the animation I wanted, rebooted to recovery, setenforce 0 via adb, renamed the old bootanimation.zip to old.zip just in case, then pushed the zip to /system/media and rebooted.
JasonSec said:
Facebook, metrozone, chrome, few other I can't remember. No app just deleted them from /system/(priv-)app via recovery.
For the bootanimation I found a megathread under Android customization, grabbed the zip for the animation I wanted, rebooted to recovery, setenforce 0 via adb, renamed the old bootanimation.zip to old.zip just in case, then pushed the zip to /system/media and rebooted.
Click to expand...
Click to collapse
Im going to try that, hopefully, it works. Why did you remove chrome though? Do you find other browsers better? I personally have good experience with chrome. Im trying to do as much tweaks as possible with the device itself, but I done so much already, Im confused on what else there is to do
Update: Bootanimations only work with soft reboots. Im looking for a way to have my custom boot when I hard reboot my phone.
evtoofly said:
Im going to try that, hopefully, it works. Why did you remove chrome though? Do you find other browsers better? I personally have good experience with chrome. Im trying to do as much tweaks as possible with the device itself, but I done so much already, Im confused on what else there is to do
Update: Bootanimations only work with soft reboots. Im looking for a way to have my custom boot when I hard reboot my phone.
Click to expand...
Click to collapse
I find Via much faster and love the customization. Chrome removal that was less about bloat and more about something I'll never use and if I ever do decide to use it or Facebook again it's available in the play store.
Not sure what you mean about boot animations I believe they're loaded and appear each time the system is booted regardless of hard/soft boot (assuming you're not going to recovery mode obviously)
JasonSec said:
I find Via much faster and love the customization. Chrome removal that was less about bloat and more about something I'll never use and if I ever do decide to use it or Facebook again it's available in the play store.
Not sure what you mean about boot animations I believe they're loaded and appear each time the system is booted regardless of hard/soft boot (assuming you're not going to recovery mode obviously)
Click to expand...
Click to collapse
Well, I use the app quick reboot that allows me to boot into recovery, quick restart, or full restart,etc. When I quick reboot, it will show my custom boot animation I downloaded, but when I full reboot, it shows the default metropcs screen which is annoying in my opinion. Maybe because I set my phone in permissive mode using Terminal and not adb
Well anyway, I'm still going to try and fix this because I hard reboot my phone a lot and I just dont wanna see that metro pcs screen anymore. Also, am I the only blade user whose power button does not know how to function I am really about to take this phone apart because my power button seems impossible to work unless I hold it a certain way, and its been like this for a while and I just dont understand why.
Ive spent over a year trying to make a gps spoofing app work on this phone.
Root really didnt help but twrp did.
Moved the app from /data/app to /system/priv-app
then I chmodded the folder and base.apk to 777
additionally I chowned the folder and base.apk to root:root
xxMoon said:
Ive spent over a year trying to make a gps spoofing app work on this phone.
Root really didnt help but twrp did.
Moved the app from /data/app to /system/priv-app
then I chmodded the folder and base.apk to 777
additionally I chowned the folder and base.apk to root:root
Click to expand...
Click to collapse
interesting, I was just thinking about using gps spoof. Did you end up successful in it
Yup
xxMoon said:
Ive spent over a year trying to make a gps spoofing app work on this phone.
Root really didnt help but twrp did.
Moved the app from /data/app to /system/priv-app
then I chmodded the folder and base.apk to 777
additionally I chowned the folder and base.apk to root:root
Click to expand...
Click to collapse
Bro! Not sure if you read the post I made on the other thread, but actually one of my reasons for rooting was achieving a "working" Spoofing method.
Rooting and moving app to system kind of works, but there it a better way and actually works great on this phone.
Just download Smali Patcher 0.0.4.2 from this thread https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053 (Thx to F0mey)) and follow the ADB method (Options 1 and 4),
then just flash the generated magisk module,
install your prefered spoofing app (Im using Ninja's) - **Remember to clone**
set as Mock Location
Everything unchecked on Spoof App (I just leave the distance info one on Ninja's app)
Enjoy!
BlazeMz3 said:
Bro! Not sure if you read the post I made on the other thread, but actually one of my reasons for rooting was achieving a "working" Spoofing method.
Rooting and moving app to system kind of works, but there it a better way and actually works great on this phone.
Just download Smali Patcher 0.0.4.2 from this thread https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053 (Thx to F0mey)) and follow the ADB method (Options 1 and 4),
then just flash the generated magisk module,
install your prefered spoofing app (Im using Ninja's) - **Remember to clone**
set as Mock Location
Everything unchecked on Spoof App (I just leave the distance info one on Ninja's app)
Enjoy!
Click to expand...
Click to collapse
im going to try this. Question, what were your reasons for spoofing? Why did you want to achieve this with root?
xxMoon said:
Ive spent over a year trying to make a gps spoofing app work on this phone.
Root really didnt help but twrp did.
Moved the app from /data/app to /system/priv-app
then I chmodded the folder and base.apk to 777
additionally I chowned the folder and base.apk to root:root
Click to expand...
Click to collapse
Hello could you help me?
Guys might find this easier to use.
(EASY ROOT) Z982 via QFIL or TWRP B20_Modified SYSRW 4/8/19

Need help making twrp flashable adblock

As the title states, I want to make it get help making or have someone make(lol) a flash able zip to install hosts file of my choosing to /system/etc
Have you tried adaway? Only issue ive had is Google adverts on shopping listings.
Good idea though, but you'd need to update constantly.
Adaway is way more practical.
You need to use magisk, either a module or adaway with systemless hosts enabled in magisk manager.
^this!
dladz said:
Have you tried adaway? Only issue ive had is Google adverts on shopping listings.
Good idea though, but you'd need to update constantly.
Adaway is way more practical.
Click to expand...
Click to collapse
Lossyx said:
You need to use magisk, either a module or adaway with systemless hosts enabled in magisk manager.
Click to expand...
Click to collapse
galaxys said:
^this!
Click to expand...
Click to collapse
Adaway does not work for, even using systemless mode with magisk. I have an older twrp flashable zip that works for Oero and older but don't know how to update it to work with Android 10+
jamescable said:
Adaway does not work for, even using systemless mode with magisk. I have an older twrp flashable zip that works for Oero and older but don't know how to update it to work with Android 10+
Click to expand...
Click to collapse
That's just not true buddy, I'm using it now.
I have zero ads...what version have you got installed??
dladz said:
That's just not true buddy, I'm using it now.
I have zero ads...what version have you got installed??
Click to expand...
Click to collapse
I've tried version 4.03 all the way to newer version. The newer version doesn't work because I get not enough space which IS wrong because I would even delete apps from /system and /product to ALLOW more space just in case
jamescable said:
I've tried version 4.03 all the way to newer version. The newer version doesn't work because I get not enough space which IS wrong because I would even delete apps from /system and /product to ALLOW more space just in case
Click to expand...
Click to collapse
Your don't have enough space because you're not using systemless mate, no other reason.
I'm currently on 4.38
Everybody using xXx using using it, everybody who's rooted is probably using it
dladz said:
Your don't have enough space because you're not using systemless mate, no other reason.
I'm currently on 4.38
Everybody using xXx using using it, everybody who's rooted is probably using it
Click to expand...
Click to collapse
Maybe it's because I am on custom rom RR
jamescable said:
Maybe it's because I am on custom rom RR
Click to expand...
Click to collapse
Ahhh buddy, this is why you explain what operating system you're on, what firmware when asking about a problem, especially when it seems odd to others.
This question should be asked in the RR thread, as it's not relevant anywhere else.
I've never used RR but anything I suggest is going to be futile because of the fact that you're running RR.
For example, Titanium does not work for me on Carbon, simply would not see root so I couldn't restore a thing.
The advice I've provided in regards to what needs to be done in magisk to get adaway working is accurate..
For RR id have thought that it would be the same, now I don't think that's the case.
See what they say in the RR thread mate.
jamescable said:
Adaway does not work for, even using systemless mode with magisk. I have an older twrp flashable zip that works for Oero and older but don't know how to update it to work with Android 10+
Click to expand...
Click to collapse
jamescable said:
I've tried version 4.03 all the way to newer version. The newer version doesn't work because I get not enough space which IS wrong because I would even delete apps from /system and /product to ALLOW more space just in case
Click to expand...
Click to collapse
You can't delete them, it's impossible. All devices launched with Android 10 and dynamic partitions have read only system, vendor, product etc and zero free space is by design. That's why magisk is the only option.
Tell your custom rom dev to reserve free space and allow R/W for system when compiling the ROM, that's the only way to directly modify the system.
Systemless hosts does work on custom ROMs, I have tried it myself. After enabling systemless hosts, reboot, then open adaway and try again.
^there you have it!
galaxys said:
^there you have it!
Click to expand...
Click to collapse
Not really. No one paid attention to the title. Update the flashable zip so we can just flash a hosts file of our choice and no apps needed
jamescable said:
Not really. No one paid attention to the title. Update the flashable zip so we can just flash a hosts file of our choice and no apps needed
Click to expand...
Click to collapse
It will need to be updated pal
dladz said:
It will need to be updated pal
Click to expand...
Click to collapse
Yes, and it's called Energized Protection or whatever adblock module in manager. Take the source (as reference), edit hosts and zip it up.
It's pointless to update the zip because whatever installation method it has won't work, only a module will work which is basically creating a whole new zip.
Lossyx said:
Yes, and it's called Energized Protection or whatever adblock module in manager. Take the source (as reference), edit hosts and zip it up.
It's pointless to update the zip because whatever installation method it has won't work, only a module will work which is basically creating a whole new zip.
Click to expand...
Click to collapse
My point was, that the hosts change, it will need to continually need to be updated.
Counterintuitive.
dladz said:
My point was, that the hosts change, it will need to continually need to be updated.
Counterintuitive.
Click to expand...
Click to collapse
Not really. I used that SAME zip for 4 years and had no ads system wide. No ads in apps, youtube, chrome, etc never updated
jamescable said:
Not really. I used that SAME zip for 4 years and had no ads system wide. No ads in apps, youtube, chrome, etc never updated
Click to expand...
Click to collapse
I see, well good for you..
I've also used this method and they do slip through, that happened in a lot under 4 years???
Either way I can't help with this.
So, not possible to flash a hosts file to /system_root/system/etc/ ? It seems that everytime I flash the file it get overwritten at boot.
jaheaga said:
So, not possible to flash a hosts file to /system_root/system/etc/ ? It seems that everytime I flash the file it get overwritten at boot.
Click to expand...
Click to collapse
It doesn't get overwritten because it doesn't modify anything in the first place. It's not possible to modify the system on stock software. Either magisk or VPN based adblocker like Blokada is your option.

Categories

Resources