Who's Online
|
There are currently 3414 online users. [Complete List] » 4 Member(s) | 3410 Guest(s)
|
|
|
Thread Rating:
- 0 Vote(s) - 0 Average
- 1
- 2
- 3
- 4
- 5
Leagoo Lead3 kitkat not working with link2sd
|
Posts: 727
Threads: 60
Joined: 2014-01-30
Points:
8,462
Reputation: +604
from what I have read, you "need" to set up sym links in an init.d script
as each boot up or reboot will destroy your old links.
You like this post
Posts: 265
Threads: 1
Joined: 2014-04-07
Points:
3,342
Reputation: +262
2014-09-11, 19:26
(This post was last modified: 2014-09-11, 21:57 by mirandam.)
(2014-09-11, 18:59)aus9 Wrote: from what I have read, you "need" to set up sym links in an init.d script
as each boot up or reboot will destroy your old links.
Which links are you referring to? The ones made by link2sd? As these are setup in /data/app and thus persistant.
If you refer to the ones for linking the device (2nd partition) to be able to mount the 2nd partition, those are already available in /dev/block and since the mount is done in system, also persistant.
On reboot the 2nd partition gets mounted and the links created by link2sd are still there.
This is getting weirder by the moment. I just did some snooping and was about to use adb to copy init.rc to the internal sd just to pull it to my pc... no luck... adb has no access to either the internal sd or the external.... wtf??????
Next I loaded init.rc into root-explorer to find some line about the fuse daemon.... no luck either.... no line at all, no even the slightest mention of fuse.... I did find a service called matv that seems related as it uses a related gid.
So I did some searching to see if I could find the binary of fuse, no luck again, not even the slightest trace. Only in /sys/module a came across a folder called fuse.
Am I missing something here???????
Another interesting discovery: each time I get root access, be it in root-explorer or adb, the contents of both internal and external sd disappear from view (hidden).
This explains why link2sd doesn't show the app as being linked, because when it does this it is actually using root.
I know for a fact that kitkat uses more strict permission enforcement but I didn't expect this kind of thing to happen.
You like this post
Posts: 727
Threads: 60
Joined: 2014-01-30
Points:
8,462
Reputation: +604
Quote:Another thing that I will try is to create a link to an app in a folder within /system (not /system/app of course)
I thought you were making sym links....this is what I referred to
2) Quote:Am I missing something here?
me.....but I am unavailable .....giggles
OK I was only teasing.....actually recent posts between me and siewerner may have relevance. I built him my first CTR based on his um TWRP recovery and did not pay any attention to init.usb.rc and other rc files
this has important adb switches.
Forgive me for sucking eggs but let me show you the lines to look for here and you can dismiss them if you have already check your /var/log/messages or what ever your rsyslog or sylog uses.
##########
init.rc from recovery
Quote:write /sys/class/android_usb/android0/idVendor 17ef
write /sys/class/android_usb/android0/idProduct 1788
as OP does not use Linux he gave me his usbdeview which has the ids
##############
init.usb.rc
Quote:setprop sys.usb.vid 17ef
snip
#2.adb
on propertyys.usb.config=adb
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor $sys.usb.vid
write /sys/class/android_usb/android0/idProduct 1788
write /sys/class/android_usb/android0/functions $sys.usb.config
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state $sys.usb.config
OP had the wrong strings it....maybe a port.
Notice
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/enable 1
this is similar to umounting and remounting after a change.
so in short we set a VARIABLE to have an absolute value
later on we can requote it as a SET VARIABLE
let me know if my thoughts are true or fuzzy from aussie beer.
You like this post
Posts: 265
Threads: 1
Joined: 2014-04-07
Points:
3,342
Reputation: +262
2014-09-12, 05:02
(This post was last modified: 2014-09-12, 05:03 by mirandam.)
I just tried to do the link from an app in /system/tap (a custom made folder) to /data/app, but no luck. The app doesn't appear in the drawer either. Since this is a link that doesn't go to any sd space (int or ext) it should not involve fuse.... back to the thinktank I suppose.
Posts: 727
Threads: 60
Joined: 2014-01-30
Points:
8,462
Reputation: +604
2014-09-12, 07:23
(This post was last modified: 2014-09-12, 08:03 by aus9.)
more suggestions for you.
in init.rc your lib issue you could mod this line?
Quote:export LD_LIBRARY_PATH /vendor/lib:/system/lib:/custom/lib
2) in your init.rc try doing the sym link there so its activated at boot?
Quote:symlink /system/tap/appname /data/app/appname
if on reboot that fails try that last line as a private /etc/init.d done very late so give it a name like /etc/init.d/99custom
Use root to fix up perms
Code: su
chmod 755 /etc/init.d/99custom
chown root.root /etc/init.d/99custom
note that inside Android I had to use root dot root which differs from linux that uses a gap. Should be ok to do by adb as well. I have not tested your thingee ....only tested the command works
good luck
You like this post
Posts: 727
Threads: 60
Joined: 2014-01-30
Points:
8,462
Reputation: +604
OK just starting to make progres with a tablet if interested in the tablet forum.
Its UBIFS and boot.img has been unpacked and you may be interested in this init.rc entry....I hope
Quote:service vold /system/bin/vold
class core
socket vold stream 0660 root mount
ioprio be 2
service vold sounds a bit like....Linux Ubuntu
Code: service udev restart
as example only
ioprio never heard of it until today....sounds like io prorities and google does suggest that.
There are a heap of vold entries here....so I am scared of trying to change to traditional fstab at this point of time. OFF topic....get a CWM/CTR first
cheers
Posts: 5
Threads: 1
Joined: 2014-09-01
Points:
53
Reputation: +2
2014-11-04, 20:47
(This post was last modified: 2014-11-04, 22:39 by centodue.)
Hello.
I bought a Leagoo Lead 1 and it arrived 3 days ago. I rooted its to have more internal memory to install apps
I can confirm that trying to use Link2SD I lost (after that mobile restarted) the apps installed in ext4 partition of microsd.
I always used Link2SD in previous android version but it is the first time I have this problem.
My kernel version is 3.4.67.
I read you posts but (if I understood well) the solution is not available for the moment.
Do you have some news about this problem?
thank you
Posts: 265
Threads: 1
Joined: 2014-04-07
Points:
3,342
Reputation: +262
As for the moment I've not seen a proper solution. Since the lead3 is a limited phone I maintain it with a limited number of apps, some of which I moved to the internal sd-storage, luckily on this particular phone the user in question doesn't need facebook / whatsap or any other space consuming app, so at this time it keeps updating it's installed apps (about 30) without problems.
I wouldn't recommend this phone to anyone with a normal moderate use as she/he will no doubt run into the space problem.
As in another thread about kitkat I most certainly do not recommend kitkat for any phone. Recently I also noticed the inability of kitkat to reply or delete a message when the screen is locked (some sms apps have warned about this) which really s*cks as it limits the usefulness of these apps in real life. Being in a supermarket with a shopping cart in one hand I'm not really keen on google telling me I need to unlock my phone having to use both hands for "security reasons" just to delete a spam message from some idiot trying to sell me stock shares. But this is a side-remark not intended to go O.T.
You and WuddaWaste like this post
Posts: 5
Threads: 1
Joined: 2014-09-01
Points:
53
Reputation: +2
In this case I am lucky to have bought Lead 1. My girlfriend likes Lead 3 but reading about your problems of memory I decided to choose Lead 1 model for her too.
WuddaWaste likes this post
Posts: 265
Threads: 1
Joined: 2014-04-07
Points:
3,342
Reputation: +262
2014-11-12, 00:26
(This post was last modified: 2014-11-12, 01:07 by mirandam.)
If I'm not mistaken there's also a Lead2 or Lead4 model, check for them too. I'm not sure but I think they also have more memory.
Yep, I was right:
Leagoo Lead2:
Show Content
SpoilerGeneral
Brand LEAGOO
Model Lead2
Quantity 1Piece
Material Plastic
Color Black
Network
Networking WCDMA , GSM
Frequency GSM 850/900/1800/1900 & WCDMA 850/1900/2100
Data Transfer GPRS , HSPA , EDGE
SIM Type Ordinary SIM, Micro SIM
SIM Slot 2
Network Standby Dual Network Standby
Network Conversation One-Party Conversation Only
GPS Yes
Wi-Fi 802.11 b/g/n
System
Type Brand New
Operating System Android 4.4.2
CPU Processor MTK6582 1.3GHz
CPU Core Quantity Quad-Core
Language English, Spanish, Portuguese (Brazil), Portuguese (Portugal), Italian, German, Dutch, French, Polish, Romanian, Turkish, Russian, Arabic, Indonesian, Malay, Thai, Vietnamese, Hindi, Hebrew, Simplified Chinese, Traditional Chinese.
Graphics Processor Mali-400 MP
Storage
RAM 1GB
Internal Storage 8GB
Available Memory 5.9GB
Memory Card Supports Micro SD / TF card up to 64GB in size (not included)
Display
Screen Size 5inch
Size Range 5.0-5.4 Inches
Touch Screen Capacitive Screen
Screen Resolution 960*540
Camera
Camera Features 13MP
Secondary Camera Lens 5MP
Flash Yes
Touch Focus Yes
Power
Battery Capacity 2200mAh
Battery Type Li-ion battery
Talk Time 120minutes
Standby Time 120Hour
Other Features
Bluetooth Version V4.0
TV No
Radio Tuner Yes
waterproof level IPX-0
Sensor G-sensor , proximity
I/O Interface Micro USB , 3.5mm , SIM Slot
Format Supported AVI MP4 FLV 3GP MKV WMV MP3 WMA OGG AAC WAV FLAC
Certification CE/RoHS/FCC
Dimensions & Weight
Dimensions 5.71 in x 2.83 in x 0.39 in (14.5 cm x 7.2 cm x 1 cm)
Weight 3.7 oz (105 g)
goes at about $129
It's roughly the same as the Lead1 but with a 5" display and better cam.+
Being a woman I would recommend this phone for your GF because we tend to go for a 5" screen instead of a 5.5" which is a bit "big" for us (generally speaking of course).
You can easily compare the different models` [Only registered and activated users can see links Click here to register].
My personal preference for a 4.7" quad core 1G/8G phone with 4.2.x would be the [Only registered and activated users can see links Click here to register], which would immediately solve the kitkat problems, you could use link2sd without problems, root it and have a very reliable phone.
You and WuddaWaste like this post
|
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
|
Users browsing this thread: 1 Guest(s)
|
|