Related
To root the ICS leak follow these steps.
- Reboot into CWM.
- Mount /system.
- Push superuser.apk and su binary to sdcard.
- Copy su binary to /system/xbin and link to /system/bin.
- Set correct su permissions.
- Copy superuser.apk to /system/app.
- Set correct superuser.apk permissions.
- unmount /system.
- reboot
Enviado de meu Galaxy Nexus usando o Tapatalk 2
dedraks said:
To root the ICS leak follow these steps.
- Reboot into CWM.
- Mount /system.
- Push superuser.apk and su binary to sdcard.
- Copy su binary to /system/xbin and link to /system/bin.
- Set correct su permissions.
- Copy superuser.apk to /system/app.
- Set correct superuser.apk permissions.
- unmount /system.
- reboot
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Click to expand...
Click to collapse
Did you confirm root with terminal or root checker?
Restaured all apps with Titanium Backup. So my method is working.
Enviado de meu Galaxy Nexus usando o Tapatalk 2
dedraks said:
Restaured all apps with Titanium Backup. So my method is working.
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Click to expand...
Click to collapse
can you make a full guide to do it?...and give us the files...thanks
Couldn't you just install the .zip from http://androidsu.com/superuser/ ?
tasteslikechicken said:
Couldn't you just install the .zip from http://androidsu.com/superuser/ ?
Click to expand...
Click to collapse
Probably. I think that zip is simply an automation of dedrak's method.
(Assuming it's a generic, traditional rooting CWM .zip)
Sent from my MB860 using xda premium
yeah, it works
just download the superuser app
http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip
reboot to CWM
install the zip
wipe cache, dalvik and then fix permissions
reboot and you should have your phone rooted
it works fine on my atrix
do we have to do this on eprinter's pre-rooted Leaked ROM ?
KillerNepal said:
do we have to do this on eprinter's pre-rooted Leaked ROM ?
Click to expand...
Click to collapse
No pre rooted is "PRE ROOTED" (already rooted)
i wouldnt blame you if english isnt your first language but if it is then you should really learn to read
sheennick123456 said:
No pre rooted is "PRE ROOTED" (already rooted)
i wouldnt blame you if english isnt your first language but if it is then you should really learn to read
Click to expand...
Click to collapse
"Pre Rooted" would translated to "Before Rooted"
To show something is already rooted, just "Rooted" would suffice.
xdame said:
"Pre Rooted" would translated to "Before Rooted"
To show something is already rooted, just "Rooted" would suffice.
Click to expand...
Click to collapse
LOL, here in Brazil, Pre rootes would be like "almost rooted" or "half-way rooted"
Now I understood!
xdame said:
"Pre Rooted" would translated to "Before Rooted"
To show something is already rooted, just "Rooted" would suffice.
Click to expand...
Click to collapse
Makes sense, but only to a point. "Pre-something" in this kind of context means it's "something" already, without any further action required. Think of it this way: if you say your phone is rooted, I would assume you mean you rooted it. But if you say your phone is pre-rooted, I would assume it came rooted from the manufacturer.
Dears
Isn't there any solution to get whats app on android 4.4.2 ART
Sent from my Nexus 4 using XDA Premium 4 mobile app
msadek122 said:
Dears
Isn't there any solution to get whats app on android 4.4.2 ART
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
#1 fairly certain it does work.
#2 pay attention to where you are posting.
It works just fine, update to 4.4.2 your phone
Inviato dal mio Nexus 4 utilizzando Tapatalk
did u update it to the latest version? and close this thread and post your question in the Q&A section.
Pro stuff here..
Sent from my Nexus 4 using xda app-developers app
replay
zorginho said:
It works just fine, update to 4.4.2 your phone
Inviato dal mio Nexus 4 utilizzando Tapatalk
Click to expand...
Click to collapse
I already updated to 4.4.2 but what's app shows me the same erorr as before when i try to install it.
Do i have to factory rest the phone after converting to ART.
Another thing, when i tried to go back to delvic and install what's app it showed the same error as on ART
msadek122 said:
I already updated to 4.4.2 but what's app shows me the same erorr as before when i try to install it.
Do i have to factory rest the phone after converting to ART.
Another thing, when i tried to go back to delvic and install what's app it showed the same error as on ART
Click to expand...
Click to collapse
root your phone. open root explorer or adb shell
if root explorer:
go to folder data, then go to folder data again(yes there are 2 folder datas, one within another)
delete any folder with whatsapp on the name (i think its com.whatsapp.something)
if adb shell:
type su and grant permissions on the phone.
type cd data/data
type ls
(it will show all files/folders)
get the folder with whatsapp name on it
and do
rm com.whatsapp.something/* (the name is different, but it must have whatsapp on the name)
rm com.whatsapp.something/*/*
rm com.whatsapp.something/*/*.*
rmdir com.whatsapp.something/*
rmdir com.whatsapp.something
exit
exit (again, because the 1st one just leave out of root mode)
reboot phone and try to install whatsapp again(dosent matter - art or dalvik, it must work).
No idea what you've been doing wrong, but I've been running WhatsApp on ART since the day I updated to KK. Everything works fine and no error at all.
LINK TO THE THREAD WITH THE AUTOMATED SCRIPT (thanks to @skyguy126): http://forum.xda-developers.com/moto-g/general/mod-storage-reloacting-dalvik-cache-t2953616
Hello everybody
as you may know, our Moto G's internal eMMC card has a ~600Mb partition called /cache, which is not used since the apps' cache is stored in /data, so the latter fills up and the first one stays empty.
Owning a 8Gb model, having 600Mb not available for storage really bugged me, because my phone's memory (/data partition) was always full because it's a 5.7Gb space shared between apps and microSD files.
Well, thanks to @skyguy126, who linked me to this guide, I managed to link the dalvik cache files to the /cache partition
Now, it may not work for you if:
a) you have A LOT of apps installed.
And by "a lot", I mean more than 90-100 apps, but if you have a 8Gb model, you probably don't :laugh:
b) you're running ART
Since ART uses a lot more space than dalvik, the space in the /cache partition probably won't be enough. When I was running ART, it used 1Gb more than dalvik.
Other than that, all you need is a rooted phone, the Terminal Emulator app installed (HERE), a root file manager, at least one hand and a working brain
I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT HAPPENS TO YOUR PHONE, CONTINUE AT YOUR OWN RISK.
Steps:
1) Open any text editor, messaging app, notes app or anything that allows a text input. write the following line, select it and copy it to your clipboard (you'll need it later).
Code:
ln -s /cache/dalvik-cache /data/dalvik-cache
Also, make sure you open the Terminal Emulator app and type in "su" (without quotes), then grant it superuser access. You'll need to switch to it quickly.
2) Open your root file manager, while making sure you still see the terminal emulator's notification (I used Root Explorer but any other app should work just fine), go to /data, select the /dalvik-cache folder (just to be sure, hit "properties" to check its size. If it's less than 600Mb you're good to go. If it's not, this won't work, sorry) and move (NOT copy, MOVE) it to /cache. If it asks you to merge two folders, do it.
NOTE: now some apps may start force closing, it's normal, keep going
3) Switch to the Terminal Emulator app (via the recents screen or by tapping its notification" and paste the text you copied at the beginning by long-pressing the black screen and hitting "Paste" (DUH?!?), hit enter, make sure no error messages come up, then reboot.
TA-DAAAA!
Your dalvik cache is now linked to the /cache partition, enjoy that half a gigabyte
If you need any help, feel free to PM me
"But Bert, what if it doesn't work and my phone explodes?"
Well, if it blows up there's nothing much I can do, but if it's just stuck at bootanimation/bootlogo/somewhere where you can't use it, simply head to the recovery and wipe dalvik-cache. This will revert the process and delete the link, putting the phone as it was before
Batch File to Automate the Process!!!
Look at reply #58 for latest information
Old:
Batch file complete, credit goes to @Bert98 for devising a method.
USE THIS COMPLETELY AT YOUR OWN RISK! You may NOT rehost, take credit, or make a paid download without the permission of @skyguy126 or @Bert98
This will only work on windows based computers!
I tested this on my moto g xt1032 16GB running CM11 Nightly and it worked fine.
Click that thanks button if it helped!
How to use:
Step 1: Download the attached file and extract.
Step 2: Double click the cachemove.rbat file and follow the onscreen instructions.
EDIT: THIS IS NOT WORKING ON MOTO G STOCK 4.4.4!!!
I am working on this issue but any help is greatly appreciated!
Common errors:
"adbd root cannot run as root in production builds"
Solution: http://forum.xda-developers.com/showthread.php?t=1687590
Install the app and run it. Enable insecure binary.
Changelog:
v1.1 - Fixed some minor bugs in script.
v1.2 - Added a restore script.
Keep in mind that the /cache partition will be slower as it's a ext4 partition as opposed to f2fs
DustArma said:
Keep in mind that the /cache partition will be slower as it's a ext4 partition as opposed to f2fs
Click to expand...
Click to collapse
/data is a F2FS only on stock ROM, on GPE and other ROMs it's ext4 as well
Inviato dal mio Moto G utilizzando Tapatalk
Bert98 said:
Hello everybody
as you may know, our Moto G's internal eMMC card has a ~600Mb partition called /cache, which is not used since the apps' cache is stored in /data, so the latter fills up and the first one stays empty.
Owning a 8Gb model, having 600Mb not available for storage really bugged me, because my phone's memory (/data partition) was always full because it's a 5.7Gb space shared between apps and microSD files.
Well, thanks to @skyguy126, who linked me to this guide, I managed to link the dalvik cache files to the /cache partition
Now, it may not work for you if:
a) you have A LOT of apps installed.
And by "a lot", I mean more than 90-100 apps, but if you have a 8Gb model, you probably don't :laugh:
b) you're running ART
Since ART uses a lot more space than dalvik, the space in the /cache partition probably won't be enough. When I was running ART, it used 1Gb more than dalvik.
Other than that, all you need is a rooted phone, the Terminal Emulator app installed (HERE), a root file manager, at least one hand and a working brain
I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT HAPPENS TO YOUR PHONE, CONTINUE AT YOUR OWN RISK.
Steps:
1) Open any text editor, messaging app, notes app or anything that allows a text input. write the following line, select it and copy it to your clipboard (you'll need it later).
Code:
ln -s /cache/dalvik-cache /data/dalvik-cache
Also, make sure you open the Terminal Emulator app and type in "su" (without quotes), then grant it superuser access. You'll need to switch to it quickly.
2) Open your root file manager, while making sure you still see the terminal emulator's notification (I used Root Explorer but any other app should work just fine), go to /data, select the /dalvik-cache folder (just to be sure, hit "properties" to check its size. If it's less than 600Mb you're good to go. If it's not, this won't work, sorry) and move (NOT copy, MOVE) it to /cache. If it asks you to merge two folders, do it.
NOTE: now some apps may start force closing, it's normal, keep going
3) Switch to the Terminal Emulator app (via the recents screen or by tapping its notification" and paste the text you copied at the beginning by long-pressing the black screen and hitting "Paste" (DUH?!?), hit enter, make sure no error messages come up, then reboot.
TA-DAAAA!
Your dalvik cache is now linked to the /cache partition, enjoy that half a gigabyte
If you need any help, feel free to PM me
Click to expand...
Click to collapse
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
KahosTch said:
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
Click to expand...
Click to collapse
Do you have TWRP on your device?
Inviato dal mio Moto G utilizzando Tapatalk
i have CWM, philz touch.
(any idea why didnt work? :c )
KahosTch said:
Hello! Thnk you for the tip, but, with me, i think, didnt work.
Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom
Greetings!
Click to expand...
Click to collapse
To get it working just wipe dalvik cache in cwm, it will re-create directory in /data.
I had the same issue..
I will try to investigate what went wrong with this....
fabus said:
To get it working just wipe dalvik cache in cwm, it will re-create directory in /data.
I had the same issue..
I will try to investigate what went wrong with this....
Click to expand...
Click to collapse
jaja Thakyou, that work.:fingers-crossed:
I have found an issue. When you are copying /data/dalvik-cache to /cache/dalvik cache permissions can be mismatched (different partition type).
To fix it just:
- Go to CWM
- Connect phone to PC (should be recongnized as ADB device, if not check in Hardware Manager how it was recongizes)
- issue "ADB shell" command
- in Android shell: chmod 644 /cache/dalvik-cache/*
- reboot and you are done
I have made up an easier way to achive dalvik-cache on /cache partition:
On running android:
- make sure /cache/dalvik-cache folder is empty!!
- Rename /data/dalvik-cache to /data/dalvik-cache2
- ln -s /cache/dalvik-cache /data/dalvik-cache
- reboot and done
Android will recreate dalvik cache in /cache/dalvik-cache dir, it will take about 10 minutes, so be patient
if something goes wrong, just rename /data/dalvik-cache2 by ADB (e.g. in CWM)
I hope if was helpfull.
Cheers,
good work
Thank you for this. I will definitely be doing this.
You should make a batch file that does this whole process automatically. I would be happy to assist!
Guys could some experts code a batch file for this?
I appreciate the guide but terminal codes etc are beyond me.....
600mb is quite a lot of space to gain for an 8gig moto g
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Guys could some experts code a batch file for this?
I appreciate the guide but terminal codes etc are beyond me.....
600mb is quite a lot of space to gain for an 8gig moto g
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
It's up to 600mb. It's what ever size your dalvik cache is. I don't think this will work on android 5.0 since the change to art.
Yep I'll work on it... Hopefully it'll work, no promises...
skyguy126 said:
Yep I'll work on it... Hopefully it'll work, no promises...
Click to expand...
Click to collapse
That'd be great, since I know nearly nothing about batch files if you succeed, I'll put it in the OP
Inviato dal mio Moto G utilizzando Tapatalk
Skyguy
I have around 125apps and 500mb free, would installing the batch screw my phone up?
Thanks for helping
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Skyguy
I have around 125apps and 500mb free, would installing the batch screw my phone up?
Thanks for helping
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
It depends on your /data/dalvik-cache folder's size, you can check with root explorer
Inviato dal mio Moto G utilizzando Tapatalk
Hi Bert
It's 466.92mb
If I could get 500mb of more free space I would have a gig free which would really help my 8gb moto g
Sent from my XT1032 using XDA Free mobile app
AndroidHtc101 said:
Hi Bert
It's 466.92mb
If I could get 500mb of more free space I would have a gig free which would really help my 8gb moto g
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
Follow the instructions in the OP then, you're good to go
Inviato dal mio Moto G utilizzando Tapatalk
Backup & Restore EFS on your OnePlus 3[Root Needed]
To Backup:
1) Enable USB Debugging Settings -> Developer Options -> USB Debugging.
If Developer Options not found, go to Settings -> About Phone and tap the build number rapidly 6-7 times till a toast comes up saying 'You're now a developer' . You will now see 'Developer Options' above About Phone in settings.
2) Download the attachment, extract it to a folder, connect your phone to PC through ADB, double click on 'BACKUP EFS.bat'. When it says 'Press any key...' just press any key on your keyboard! You'll see 'modemst1.bin' & 'modemst2.bin' files in the same folder where you extracted the ZIP, make more copies and backup of it! That's your EFS!
DONE!
Backup tested on OnePlus 3 OxygenOS version 3.1.2
To Restore:
1) Connect your phone in fastboot mode to PC, place your 'modemst1.bin' & 'modemst2.bin' in the extracted folder, double click on RESTORE EFS.bat'.
DONE!
I could not find any tool so far and apps from Play store fail to create a backup for OnePlus 3. So I have re-used the tool created by @Paresh Kalinani for OnePlus One and modified it to extract for OnePlus 3.
Credits:
@Paresh Kalinani for creating this simple tool for OnePlus One
@Signor Rossi for providing the partition information
@ahmadhas for testing restore
Glad that I could help and thanks for the tool. Will test it later today, when I got a Computer near me
Gesendet von meinem OnePlus 3
Tested and can confirm Backup is working.
Does not even need to boot into fastboot
Like it
woot woot
thanks buddy
Great I'll do that tonight when I get home. Thanks a lot for the tool!
Sent from my ONEPLUS A3003 using Tapatalk
Thanks buddy it's working fine
It doesnt work for me
I dont have rooted phone. Is that problem?
Yes you need root!
Works fine, hope in case the restoring works good !?
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
For those running Linux, it's a lot easier
Don't even bother with the Windows tool. All it takes to backup the files is a working ADB connection and two commands:
This copies the info and creates the two files.
Code:
adb shell su -c "dd if=/dev/block/sdf1 of=/storage/self/primary/modemst1.bin bs=512"; adb shell su -c "dd if=/dev/block/sdf2 of=/storage/self/primary/modemst2.bin bs=512"
This copies the files to your current directory in the CLI.
Code:
adb pull /storage/self/primary/modemst1.bin; adb pull /storage/self/primary/modemst2.bin
I wasn't even able to get ADB to work in Windows. I installed the OP3 USB drivers, systemwide ADB/Fastboot tool, and still couldn't get it to work. I can see the phone fine in Windows, but ADB just refused to work. I then decided to inspect the BACKUP EFS.bat and RESTORE EFS.bat files to see what they were doing and it was just the two commands I posted here. If you're running Linux, don't waste your time fighting Windows to get this to work.
Restoring is the nearly the same. Run the following commands after connecting the phone via ADB.
Open a terminal in the directory where you saved the files you generated before and run this to copy them to the internal storage:
Code:
adb push modemst1.bin /storage/self/primary/modemst1.bin; adb push modemst2.bin /storage/self/primary/modemst2.bin
Then run this to flash the backups to the phone:
Code:
adb shell su -c "dd if=/storage/self/primary/modemst1.bin of=/dev/block/sdf1 bs=512"; adb shell su -c "dd if=/storage/self/primary/modemst2.bin of=/dev/block/sdf2 bs=512"
Damn, I love Linux.
Jakkomo77 said:
Yes you need root!
Works fine, hope in case the restoring works good !?
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
Click to expand...
Click to collapse
Hope it works . Did not get a chance to test restore yet
Sorry my mistake. Now I have rooted phone and its working!!!
You can also backup your efs partition using terminal emulator. The guide can be found in oneplus.net forum.
Sent from my ONEPLUS A3003 using Tapatalk
Butit said:
You can also backup your efs partition using terminal emulator. The guide can be found in oneplus.net forum.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
@Naman Bhalla also posted terminal emulator method here on xda.
To backup you don't require pc ,just run given commands in terminal...but to restore you requires pc(as per Naman bhalla thread).
I have question in my mind that if it's possible to backup then why we can't restore backup just reversing command in terminal
Use the official twrp, more simple.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Striatum_bdr said:
Use the official twrp, more simple.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Click to expand...
Click to collapse
what you mean by official TWRP.
is it possible to restore efs backup with TWRP.. if possible then plz tell me...i would like to know how to do this
Check the official TWRP. TWRP.me
Gesendet von meinem OnePlus 3
JumboMan said:
what you mean by official TWRP.
is it possible to restore efs backup with TWRP.. if possible then plz tell me...i would like to know how to do this
Click to expand...
Click to collapse
Just like you backup and restore anything in twrp.
In backup screen you have EFS choice.
Then in restore screen you select the folder containing efs backup and voila...
Trivial.
Striatum_bdr said:
Just like you backup and restore anything in twrp.
In backup screen you have EFS choice.
Then in restore screen you select the folder containing efs backup and voila...
Trivial.
Click to expand...
Click to collapse
I just rebooted to TWRP(Grarak's) to see is there any such option but i don't see any option to backup or restore efs backup.
Can you link TWRP that can do efs backup or restore
JumboMan said:
I just rebooted to TWRP(Grarak's) to see is there any such option but i don't see any option to backup or restore efs backup.
Can you link TWRP that can do efs backup or restore
Click to expand...
Click to collapse
Gosh.. I said OFFICIAL TWRP.
See their website. Use Google.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Striatum_bdr said:
Gosh.. I said OFFICIAL TWRP.
See their website. Use Google.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Click to expand...
Click to collapse
my fault...
by the way thank you
I'll try official one
Hi
I have tried to install link2sd on marshmallow but i can´t mount the partitions.
Link2sd shows the next error:
MOUNT SCRIPT ERROR
Mount Script cannot be created
Mount: No such file or directory
I´m root.
I have read that could be because selinux is on enforcing status. So i tried to change it, but i couldn´t.
Thanks.
Try apps2sd its work for me
Thanks. Using app2sd was the solution
Enviado desde mi SM-J500FN mediante Tapatalk
dani_bilkas said:
Try apps2sd its work for me
Click to expand...
Click to collapse
Hallo.
Which app2sd works? In Google Play there are many with the name app2sd.
Thanks.
cqv said:
Hallo.
Which app2sd works? In Google Play there are many with the name app2sd.
Thanks.
Click to expand...
Click to collapse
Apps2sd all in one tool
From vicky bonick
Sent from my SM-J500G using Tapatalk