[-]
Who's Online
There are currently 3391 online users. [Complete List]
» 6 Member(s) | 3385 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatar

[-]
Latest Threads
Unsurpassed Сasual Dating - True Females
Last Post: arnegson
Today 17:51
» Replies: 0
» Views: 21
Top-notch Сasual Dating - Verified Femal...
Last Post: dejanx
Today 15:08
» Replies: 0
» Views: 26
Unsurpassed Сasual Dating - Verified Lad...
Last Post: afifkhoury2005
Yesterday 12:57
» Replies: 0
» Views: 60
Supreme Сasual Dating - True Females
Last Post: Golt
2024-04-26 17:03
» Replies: 0
» Views: 97
Top-notch Сasual Dating - Real-life Girl...
Last Post: mikrom79
2024-04-26 07:48
» Replies: 0
» Views: 93
Superlative Сasual Dating - Actual Girls
Last Post: rcancino
2024-04-25 09:33
» Replies: 0
» Views: 90
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 145
Prime Сasual Dating - Legitimate Girls
Last Post: lukasz1
2024-04-23 10:26
» Replies: 0
» Views: 110
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 87
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9752
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 72
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 154
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13624
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4243
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33663
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 102
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2088
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22289
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15426
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5318
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8836
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1396
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4813





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leagoo Lead3 kitkat not working with link2sd
#41
(2015-01-14, 14:39)mirandam Wrote: [Only registered and activated users can see links Click here to register]. Although, I get your point, and yes, fair enough. That's why I think it must be something related with Leagoo, Mijue, and who knows which other factory ROMs.
You and mirandam like this post
Reply
#42
(2015-01-14, 17:49)germank Wrote: ...
OK. My question was directed more towards the following point: if I replace a file with a link to the file, on any normal linux system, everything depending on that file should keep on working exactly as it was before. I guess that this claim holds pretty much consistently. Therefore, if I move the apk and link it, it should keep on working. But it doesn't. I guess that goes in the direction of what you were pointing out: for some reason the loader looks at whether the apk is a symbolic link or not.
...

Indeed, you got my point right. This was actually the case with JB, all working precisely as it should, the only flaw being that you could link the app moved onto a fat filesystem.

Now I know for sure it is not limited to leagoo or mijue as I also have some mediaboxes and tablets having the same problem.
Reply
#43
Hi Mirandam !

I recommend you Gparted Live CD instead Win tools to create the partitions FAT32 & EXT4 on your microSD.
And I suggest you Link2sd. To good use of Link2sd, take a look here :

[Only registered and activated users can see links Click here to register]

Bye Rolleyes
You like this post
Reply
#44
(2015-01-14, 18:49)mirandam Wrote:
(2015-01-14, 17:49)germank Wrote: ...
OK. My question was directed more towards the following point: if I replace a file with a link to the file, on any normal linux system, everything depending on that file should keep on working exactly as it was before. I guess that this claim holds pretty much consistently. Therefore, if I move the apk and link it, it should keep on working. But it doesn't. I guess that goes in the direction of what you were pointing out: for some reason the loader looks at whether the apk is a symbolic link or not.
...

Indeed, you got my point right. This was actually the case with JB, all working precisely as it should, the only flaw being that you could link the app moved onto a fat filesystem.

Now I know for sure it is not limited to leagoo or mijue as I also have some mediaboxes and tablets having the same problem.

I have resolved this issue on my Mijue at long last!!!

I am using SuperSU. There is an setting in there "Mount namespace separation" which seemed to be causing all the problems.
When I unchecked this (and rebooted) I was able to use Link2SD to create symlinks.

Double check this if you are a SuperSU user!
You, mirandam, centodue like this post
Reply
#45
Ok, good suggestion, I will try this.

Tremendous find, works like a charm.
This is indeed the solution to the problem and it actually makes sense because link2sd is indeed using root to change the app & data's location and when root uses a different namespace it will not be seen in a user namespace, which in turn makes sense with respect to the enhanced security of kitkat.
Now why the link2sd developer never mentioned this is beyond me, he should have bumped into this long time ago I would think.
Just a question to @davidg : How on earth did you get to find this?
Reply
#46
(2015-05-23, 19:15)mirandam Wrote: Ok, good suggestion, I will try this.

Tremendous find, works like a charm.
This is indeed the solution to the problem and it actually makes sense because link2sd is indeed using root to change the app & data's location and when root uses a different namespace it will not be seen in a user namespace, which in turn makes sense with respect to the enhanced security of kitkat.
Now why the link2sd developer never mentioned this is beyond me, he should have bumped into this long time ago I would think.
Just a question to @davidg : How on earth did you get to find this?

It is exactly as you say - I only really discovered it as it was stopping Titanium Backup creating a backup directory, but the TiBU app actually flagged up a warning about this precise option - and I thought to myself "I wonder if..."

Would love to claim more credit for working it out, but once I seen it mentioned by TiBU it made perfect sense!!

Have not got round to mailing the Link2SD guy yet - I will do though because a simple warning would have saved the likes of you and I months of Crazy

Its not as if SuperSU is an obscure program or anything (and this is a default option) - surely it affected a lot of users?

Word of warning - the "Data" linking feature of Link2SD Pro still causes me problems, so I'd advise against using it with Kitkat.

Glad it has solved it for you too!
You like this post
Reply
#47
(2015-05-23, 22:52)davidg Wrote: [Only registered and activated users can see links Click here to register] Wrote:...
3.5. Mount namespaces

When SuperSU versions 1.50 and up run in daemon mode (Android 4.3+, and rare older Android OEM versions with SELinux set to enforcing), each process' su shell receives an isolated mount namespace. This means that mounts applied in one su shell may not be visible to other processes, except (most) other su shells started by the same parent process (your app). SuperSU in this case also tries to make the sdcards mounts and user-specific mounts available to the su shell, which hopefully makes your job easier.

One of the features of this mount namespace isolation is that it prevents apps from interfering with eachother's mounts so that race conditions between two apps trying to manipulate the same mount (switching /system between read-only and read-write repeatedly, for example) cannot occur, and all works as the app developer expects.

Android itself has offered similar mount namespace isolation for apps from version 4.2. SuperSU versions 1.93 and up support the --mount-master option which (if running in daemon mode) connects your app to a special su shell, which' mount commands are applied to all processes. If you need to 'publicly' apply a mount, use this option.
...
This is precisely what it going on, link2sd mounts it 2nd partition during the boot process, while later on the ui is supposed to use the link to the app located in that mount. As I stated earlier on, the link exists but isn't followed which is exactly as happens in the case of seperated namespaces.

(2015-05-23, 22:52)davidg Wrote: ...
Have not got round to mailing the Link2SD guy yet - I will do though because a simple warning would have saved the likes of you and I months of Crazy

Its not as if SuperSU is an obscure program or anything (and this is a default option) - surely it affected a lot of users?
...
Exactly.

(2015-05-23, 22:52)davidg Wrote: ...
Word of warning - the "Data" linking feature of Link2SD Pro still causes me problems, so I'd advise against using it with Kitkat.
...
I did use the data option but most probably with a relatively small app that has no real "own" data, I'll see if I can try a nice big app to test it.
davidg likes this post
Reply
#48
Just completed a test with a dlna client using vlc, both apps located with data in the 2nd partition. No problems, working flawlessly. All other items where also linked.

I don't know when you created your mounting scripts, but maybe there could be your problem. I checked the link2sd history file and on two occasions there is a reference to linked data not working with the advice to recreate the mounting scripts.
Recreating them doesn't do any harm so maybe you should try it.
Reply
#49
(2015-05-25, 00:42)mirandam Wrote: Just completed a test with a dlna client using vlc, both apps located with data in the 2nd partition. No problems, working flawlessly. All other items where also linked.

I don't know when you created your mounting scripts, but maybe there could be your problem. I checked the link2sd history file and on two occasions there is a reference to linked data not working with the advice to recreate the mounting scripts.
Recreating them doesn't do any harm so maybe you should try it.

Thanks. Tried that, before I recreated the mount scripts I would just get app crashes - now I get an I/O error. It wants to store the data in /data/sdext2/data, but it doesn't exist and can't seem to create it, even though it has full access to /data/sdext2/ and the rest of the app files get successfully moved there and linked to.
Reply
#50
Thank you, i changed the SuperSU option as you suggested.
I created ext4 second partition and using link2sd i linked all apps to the "internal" and now it works (on leagoo lead 1 )
You like this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Question] Leagoo m9 pro - low incall volume Andy72 0 1,678 2018-10-15, 17:01
Last Post: Andy72
  MTK 6572 phone after wrong preloader not detect pc Bozolika 0 2,996 2017-10-31, 21:21
Last Post: Bozolika
  [Question] 10 Inch Tablet PC 3G 4G Lte Octa Core 4GB RAM 64GB ROM FAKE OR NOT? Antonio.uk 1 10,229 2017-04-03, 11:32
Last Post: omegapr
  [Question] Samsung s7582 clone (MTK6572) - Could not be recognized by PC aakr 0 1,871 2016-12-26, 03:44
Last Post: aakr
  com.android.phone has stopped working, factory reset not working GERIKA 0 1,820 2016-12-08, 00:00
Last Post: GERIKA

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] The Amazon's Record-Breaking Drought Is about More ...
Last Post: Tauma
Today 22:35
» Replies: 1
» Views: 20
[Sci-Am] FDA Recalls Heart Pumps Linked to Deaths and Injuri...
Last Post: Scientific American
Today 09:53
» Replies: 0
» Views: 14
[Sci-Am] Deadly African Heat Wave Would Not Have Been Possib...
Last Post: Scientific American
Yesterday 20:10
» Replies: 0
» Views: 12
[Harvard] Getting ahead of dyslexia
Last Post: Harvard
Yesterday 06:36
» Replies: 0
» Views: 14
[Sci-Am] Hollywood Should Give Brain Science a Star Turn
Last Post: Scientific American
2024-04-26 17:14
» Replies: 0
» Views: 32
[Sci-Am] Milky Way's 'Sleeping Giant' Black Hole Lurks Shock...
Last Post: Scientific American
2024-04-26 03:48
» Replies: 0
» Views: 48
[Harvard] Why AI fairness conversations must include disable...
Last Post: Harvard
2024-04-25 13:58
» Replies: 0
» Views: 52
[Sci-Am] How a New AI Model Helps Volcanic History Rise from...
Last Post: Scientific American
2024-04-24 23:17
» Replies: 0
» Views: 49
[Sci-Am] Everyone Will Have Fewer Relatives in the Future
Last Post: Scientific American
2024-04-24 09:25
» Replies: 0
» Views: 36
[Sci-Am] The Dark Side of Nostalgia for Wild, Untouched Plac...
Last Post: Scientific American
2024-04-23 19:59
» Replies: 0
» Views: 30
[Harvard] How did you get that frog to float?
Last Post: Harvard
2024-04-23 19:59
» Replies: 0
» Views: 47
[Sci-Am] In Matters of Scientific Debate, Follow the Houdini...
Last Post: Scientific American
2024-04-23 06:34
» Replies: 0
» Views: 29
[Harvard] Lifting a few with my chatbot
Last Post: Harvard
2024-04-23 06:34
» Replies: 0
» Views: 36
[Sci-Am] This Tiny Fish Makes an Ear-Blasting Screech for Lo...
Last Post: Scientific American
2024-04-22 17:01
» Replies: 0
» Views: 33
[Sci-Am] How Plant Intelligence Can Soothe Climate Anxiety
Last Post: Scientific American
2024-04-22 02:57
» Replies: 0
» Views: 45
[Sci-Am] Contributors to Scientific American’s May 2024 Issu...
Last Post: Scientific American
2024-04-21 13:36
» Replies: 0
» Views: 35
[Sci-Am] A ‘Computer’ Built from DNA Can Find Patterns in Ph...
Last Post: Scientific American
2024-04-20 23:27
» Replies: 0
» Views: 55
[Sci-Am] Unraveling the Secrets of This Weird Beetle’s 48-Ho...
Last Post: Scientific American
2024-04-20 09:17
» Replies: 0
» Views: 43
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
2024-04-18 16:45
» Replies: 0
» Views: 95
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
2024-04-18 03:05
» Replies: 0
» Views: 92
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
2024-04-17 13:33
» Replies: 0
» Views: 56
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 55
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 70
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 81
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 79
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 68
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 58
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 66
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 68
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 95
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 90
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 53
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 52
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 70
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 87
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 61
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 69