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

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 942
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 535
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 627
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 10343
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 1071
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 667
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 14302
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4566
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 34710
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 456
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2573
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22649
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 6242
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 9476
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1657
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 5136
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1578
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 481
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 8192
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 645
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 5065
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12954
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5241





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,692 2018-10-15, 17:01
Last Post: Andy72
  MTK 6572 phone after wrong preloader not detect pc Bozolika 0 3,013 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,255 2017-04-03, 11:32
Last Post: omegapr
  [Question] Samsung s7582 clone (MTK6572) - Could not be recognized by PC aakr 0 1,885 2016-12-26, 03:44
Last Post: aakr
  com.android.phone has stopped working, factory reset not working GERIKA 0 1,835 2016-12-08, 00:00
Last Post: GERIKA

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] What Makes the Eastern U.S. Drought Different from ...
Last Post: Scientific American
Yesterday 21:18
» Replies: 0
» Views: 20
[Sci-Am] Why We Probably Won’t Find Aliens Anytime Soon
Last Post: Scientific American
Yesterday 07:30
» Replies: 0
» Views: 47
[Sci-Am] Wildfire Smoke Linked to Increased Risk of Dementia
Last Post: Scientific American
2024-12-10 04:14
» Replies: 0
» Views: 78
[Sci-Am] How Magnet Fishers Catch Underwater Garbage, Guns a...
Last Post: Scientific American
2024-12-09 01:02
» Replies: 0
» Views: 118
[Sci-Am] Dr. Oz Invested in Businesses Regulated by Agency T...
Last Post: Scientific American
2024-12-08 11:11
» Replies: 0
» Views: 62
[Sci-Am] How Humor Can Help You Get through Hard Times
Last Post: Scientific American
2024-12-07 20:55
» Replies: 0
» Views: 74
[Sci-Am] When a Nation Embraces a False Reality
Last Post: Scientific American
2024-12-07 06:53
» Replies: 0
» Views: 55
[Sci-Am] Mathematicians’ Newest Assistants Are Artificially ...
Last Post: Scientific American
2024-12-06 17:32
» Replies: 0
» Views: 49
[Harvard] How mammals got their stride
Last Post: Harvard
2024-12-06 04:01
» Replies: 0
» Views: 79
[Sci-Am] Bird Flu Has Infected Two Young People. Here’s Why ...
Last Post: Scientific American
2024-12-05 14:34
» Replies: 0
» Views: 36
[Harvard] Grappling with how clearings may support rainfores...
Last Post: Harvard
2024-12-05 14:34
» Replies: 0
» Views: 20
[Sci-Am] First Rocks Returned from Moon’s Far Side Reveal An...
Last Post: Scientific American
2024-12-05 01:01
» Replies: 0
» Views: 48
[Sci-Am] Trump’s Anti-Climate Agenda Could Help China Domina...
Last Post: Scientific American
2024-12-04 11:30
» Replies: 0
» Views: 44
[Sci-Am] Trees Alone Can’t Stop Climate Change
Last Post: Scientific American
2024-12-02 19:06
» Replies: 0
» Views: 96
[Sci-Am] RFK, Jr., Is a Bad Prescription for U.S. Public Hea...
Last Post: Scientific American
2024-12-02 05:29
» Replies: 0
» Views: 70
[Sci-Am] Science Crossword: Equine Emergence
Last Post: Scientific American
2024-12-01 15:05
» Replies: 0
» Views: 59
[Sci-Am] Why Hypochondria Can Be Deadly, and How Newer Treat...
Last Post: Scientific American
2024-12-01 01:39
» Replies: 0
» Views: 101
[Sci-Am] Horse Domestication Story Gets a Surprising Rewrite
Last Post: Scientific American
2024-11-30 12:08
» Replies: 0
» Views: 48
[Sci-Am] Fossil Fuels Are Not Essential
Last Post: Scientific American
2024-11-29 22:32
» Replies: 0
» Views: 79
[Sci-Am] See How Close We Are to Gender Equality around the ...
Last Post: Scientific American
2024-11-29 09:02
» Replies: 0
» Views: 65
[Sci-Am] Mathematicians Discover a New Kind of Shape That’s ...
Last Post: Scientific American
2024-11-28 06:17
» Replies: 0
» Views: 140
[Sci-Am] Curiosity, Horses and Hypochondria
Last Post: Scientific American
2024-11-27 16:52
» Replies: 0
» Views: 84
[Harvard] Amid Hurricane Milton’s devastation, a sliver of g...
Last Post: Harvard
2024-11-27 16:52
» Replies: 0
» Views: 73
[Sci-Am] Contributors to Scientific American’s December 2024...
Last Post: Scientific American
2024-11-27 03:17
» Replies: 0
» Views: 54
[Sci-Am] Exotic Powder Pulls Carbon Dioxide from the Air at ...
Last Post: Scientific American
2024-11-26 13:56
» Replies: 0
» Views: 58
[Sci-Am] Enjoy Holiday Food without the Anxiety
Last Post: Scientific American
2024-11-25 11:05
» Replies: 0
» Views: 102
[Sci-Am] Climate Change Is Altering Animals’ Colors
Last Post: Scientific American
2024-11-24 21:08
» Replies: 0
» Views: 47
[Sci-Am] Drought across the U.S., H5N1 in Canada and Uranus ...
Last Post: Scientific American
2024-11-24 07:31
» Replies: 0
» Views: 58
[Sci-Am] Some Counties Voted for Trump and Approved Climate ...
Last Post: Scientific American
2024-11-23 17:36
» Replies: 0
» Views: 52
[Sci-Am] Fun Facts about Teeth across the Animal Kingdom
Last Post: Scientific American
2024-11-23 03:45
» Replies: 0
» Views: 72
[Sci-Am] The U.S. Must Lead the Global Fight against Superbu...
Last Post: Scientific American
2024-11-20 21:24
» Replies: 0
» Views: 141
[Sci-Am] Trump Administration Likely to Repeal Methane Leak ...
Last Post: Scientific American
2024-11-20 07:40
» Replies: 0
» Views: 64
[Harvard] Mars may have been habitable much more recently th...
Last Post: Harvard
2024-11-20 07:40
» Replies: 0
» Views: 50
[Sci-Am] Clean Energy Is Bringing Electricity to Many in the...
Last Post: Scientific American
2024-11-19 18:11
» Replies: 0
» Views: 57
[Sci-Am] The Law Must Respond When Science Changes
Last Post: Scientific American
2024-11-19 04:42
» Replies: 0
» Views: 48
[Harvard] What happened when a meteorite the size of four Mo...
Last Post: Harvard
2024-11-19 04:42
» Replies: 0
» Views: 30
[Sci-Am] Epic Gravity Lens Lines Up Seven-Galaxy View
Last Post: Scientific American
2024-11-18 01:54
» Replies: 0
» Views: 98