[CLOSED][SOLUTION]How to make system read/writeable R/W in Android 10+ - Xiaomi Poco X3 NFC Guides, News, & Discussion

Welcome to SystemRW by lebigmac
This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware. This allows you to debloat all unnecessary system apps, customize your device to your liking and make MIUI run as smooth as silk!
MIUI 12 is great but it's a little bit bloated and some bugs here and there.
Developed on Xiaomi Poco X3 NFC and works like a charm over here!
Visit project thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

can it work for vendor too ?
I really want to flash files that request mount system and vendor

@Abdullah.Csit
Yes the script makes all partitions (system, vendor, product...) that are embedded in your super.img read-write-able and adds extra space to them so you can write data to them later. Then it merges these modified partitions back into a single brand new super_fixed.img and flashes it to your device. Works in both custom recovery and in Android operating system.
User data is not affected.
Now it's possible to modify for example the default.prop or the init.rc and make many more customizations to your device if you know what you're doing. Make sure to always back up an important system file before modifying it. This way you can always restore the original file from recovery and remove the bootloop if something goes wrong.
In the worst case scenario you can always flash a new super.img

placeholder

after 2 days long battle with numerous attempts to install Ubuntu on my windows PC I was finally successful, only to find out:
Spoiler: boring, but it happened
- that RW enabling script can't save super image to my phone sdcard (permission denied)
- that I have to make backup of super partition manually and let the RW enabling script "eat that"
- that my phone super partition is somewhat damaged and RW enabling script ended always with error that it can't resize vendor because it is too big (maybe it wasn't really damaged, but I had already flashed RW vendor provided by another user and it somewhat (probably) collided with the tools used)
- that super.img from fastboot version of MIUI ROM can't be used directly with RW enabling script, because for whatever reason it complained, that that is not an super image
- that I have to flash that clean fresh super.img from fastboot version of MIUI ROM via fastboot to my phone with edited flash script (so it doesn't overwrite my data and recovery partition) and make a backup of it in recovery
- and that backup of clean fresh flashed super.img from fastboot version of MIUI ROM of was finally accepted by RW enabling script, that did it magic, only to find out:
- that final flashing process of fixed super.img to my phone freeze at third section from all seven (now there I was really afraid that my EMMC died because of extensive flashing)
Was that all Mr. Murphy?
- so I had excellent idea that I can obviously use my recovery to flash that fixed super image, easiest thing in the world, right?
- but Ubuntu and Mr. Murphy proved me wrong, because I was able to copy on my phone storage/sdcard anything but that fixed super.img (don't ask me why it didn't even started copying, I'm no Linux user, and that MTP error was pretty alien to me)
- so I had to somehow copy that fixed super.img from newly created Linux space to my Windows space, from where I was so sure I can finally transfer it to my phone internal memory and finally have flashed it where it belongs
- but anything that I writed in Ubuntu to my Windows disks mysteriously disappeared after one click on the file (created on Ubuntu) in Windows ()
- thanks to my rented cloud storage somewhere on the internet I was able to upload that fixed super.img (way faster (thanks to my very fast optic line) than any other solution available to me at that time)
- after reboot to Windows downloaded it and finally was able to upload to my phone from Windows, flash it to super partition via recovery
- and finally re-flashed all need components for my custom ROM and after all that it finally booted into Android
- uff, anyway - it can be done, and it is RW for system, vendor and product
- so thanks @lebigmac for providing possibility
- now we need to persuade TWRP/OFOX maintainers that they can enable again wipe system option (of course it would be only active on RW enabled super partition)

sorry @jeryll that you had to go through so much trouble because I only made Linux only version :/
I am working hard on version 1.15 right now and that should also work for Windows and Mac users as well. I'll try to release it ASAP
To flash the original super.img which you extracted from the Xiaomi fastboot ROM you can simply do:
Code:
fastboot flash super super.img
This should not overwrite your user data.
The good thing about the Poco is it's very forgiving. I must've flashed my super partition at least two dozen times already and it still works like a charm

lebigmac said:
sorry @jeryll that you had to go through so much trouble :/
I am working on version 1.5 right now and that should also work for Windows and Mac users
Click to expand...
Click to collapse
nothing to be sorry for, it was an battle and I won, hopefully new version will be more user friendly + Windows version will be the sweet bonus (for me), thanks again for making this possible

Hey jeryll new universal version available HERE
This should make things easier for the windows and macintosh folks

Today I uploaded the new v1.26 to the project thread
How do you guys like the script so far? Any issues with the Poco X3 NFC? I've only tested it with Android 10 so far but it should also work with Android 11

Hey I recently installed custom rom on my one plus 7t pro(hotdog) . I done it by flashing system, product, boot, etc seperately . When i used your tool it create a super_fixed.bin file . I don't know how to install (I think it is corrupted i tried payload dumper and 7zip to seperate system file from it). What should i do ? Please Help.

Shadirvan said:
Hey I recently install havoc is rom on my one plus 7t pro . I done it by patching system, product, boot, etc seperately . I don't have a super.img how can I convert system to RW without super img
Click to expand...
Click to collapse
I don't have a working twrp for my device

Shadirvan said:
Hey I recently installed custom rom on my one plus 7t pro(hotdog) . I done it by flashing system, product, boot, etc seperately . When i used your tool it create a super_fixed.bin file . I don't know how to install (I think it is corrupted i tried payload dumper and 7zip to seperate system file from it). What should i do ? Please Help.
Click to expand...
Click to collapse
probably experiencing the same thing but whats happening is i cant install anything because for some reason, /system cannot r/w
sorry for bad english

Shadirvan said:
Hey I recently installed custom rom on my one plus 7t pro(hotdog) . I done it by flashing system, product, boot, etc seperately . When i used your tool it create a super_fixed.bin file . I don't know how to install (I think it is corrupted i tried payload dumper and 7zip to seperate system file from it). What should i do ? Please Help.
Click to expand...
Click to collapse
Shadirvan said:
I don't have a working twrp for my device
Click to expand...
Click to collapse
Hi @Shadirvan
It is recommended to always use latest official version of my script (currently v1.32 - new version coming soon!).
Please keep in mind that my SystemRW script was designed for stock firmware and not for custom ROM. Custom ROM's should have r/w capability by default. If your custom ROM doesn't offer this functionality straight out of the box then you should rethink why you even installed it in the first place. Just my 2 ¢
I cannot tell you what you should or shouldn't do but I can tell you what you can do:
You can manually flash super_fixed.bin to your super partition like this:
Bash:
adb reboot bootloader
fastboot flash super super_fixed.bin
Please report back your results. Good luck!
davepayra said:
probably experiencing the same thing but whats happening is i cant install anything because for some reason, /system cannot r/w
sorry for bad english
Click to expand...
Click to collapse
Hello @davepayra
Please tell me more about your device and send me your log files from script folder at
/data/local/tmp/systemrw_1.32/log/
And you can send me some screenshots to better illustrate what you are talking about.
Thanks.

lebigmac said:
Hi @Shadirvan
It is always recommended to use latest version of my script (currently v1.32 - new version coming soon!).
Please keep in mind that my SystemRW script was designed for stock firmware and not for custom ROM. Custom ROM's should have r/w capability by default. If your custom ROM doesn't offer this functionality straight out of the box then you should rethink why you even installed it in the first place. Just my 2 ¢
I cannot tell you what you should or shouldn't do but I can tell you what you can do:
You can manually flash super_fixed.bin to your super partition like this:
Bash:
adb reboot bootloader
fastboot flash super super_fixed.bin
Please report back your results. Good luck!
Hello @davepayra
Please tell me more about your device and send me your log files from script folder at
/data/local/tmp/systemrw_1.32/log/
And you can send me some screenshots to better illustrate what you are talking about.
Thanks.
Click to expand...
Click to collapse
hi, i have a few questions because i did something wrong about installing custom rom
1. is there any way i can flash corvus os again because it says error 1: cant install zip file?
2. is there a possibility that my twrp version prevents me to r/w in system partition?
3. if ever my system partition doesn't have os installed, should i first install vendor image, then proceed to custom recovery to install corvus os (if vendor image enables writing on system partition because ive read a thread that says by reflashing broken firmware, all partitions can return to their normal state and continue r/w in system partition)

davepayra said:
hi, i have a few questions because i did something wrong about installing custom rom
1. is there any way i can flash corvus os again because it says error 1: cant install zip file?
2. is there a possibility that my twrp version prevents me to r/w in system partition?
3. if ever my system partition doesn't have os installed, should i first install vendor image, then proceed to custom recovery to install corvus os (if vendor image enables writing on system partition because ive read a thread that says by reflashing broken firmware, all partitions can return to their normal state and continue r/w in system partition)
Click to expand...
Click to collapse
Hi. I would suggest you install official stock firmware on your device. Check your device subforum here at XDA on how to do this. Then afterwards you can try my script if you want to make your device fully read/write-able. Good luck!

lebigmac said:
Hi. I would suggest you install official stock firmware on your device. Check your device subforum here at XDA on how to do this. Then afterwards you can try my script if you want to make your device fully read/write-able. Good luck!
Click to expand...
Click to collapse
thankyou sir. i will do that. best wishes to me

after doing this sir, do i have to unlock my bootloader again to flash custom rom or there is no other way?

also, will i be able to keep my twrp or should i still flash it again?

What an immaculate, well written and commented script! Easy to know what it does and why.
Worked a treat on my rog 5s pro.

Thread has been closed! The account of the author of this thread has been permanently suspended. Please, I ask everybody not to promote a banned user or his website, blog, work etc on XDA. Thanks very much for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Related

[Q] MTK6573 custom recovery and backups / Stock Boot, Recovery + Scatter included

Phone is a Star X19i
Now I'm looking at getting a system to allow me to back up the rom and re-flash if needed.
Post 4 has attachments of my boot, recovery and scatter files.
Old issue: (Solved)
Stupid thing I did I renamed the mtklockscreen.odex to mtklockscreen.odex1 just as a test in a half asleep phase to see if I would get the stock lockscreen loading.
Suffice to say the phone no longer boots.
Really don't think I can get into ADB and rename the file to get the phone booting again unless anyone knows a way.
Android was 2.3.6 and I asked the seller if it was possible to get the rom incase anything like happened which they didn't.
So anyone have any ideas?
I have attached the stock recovery and boot images made with cat and a scatter file I made to post 4.
As I have no idea about modifying these for hard root can anyone take a look?
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
dxppxd said:
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
Click to expand...
Click to collapse
I got into built in Factory mode and can see the file I renamed through ADB and android commander but cannot rename it back due to not having hard root access.
I also have a copy of the boot and recovery partitions 5 and 6 respectively I made in the adb shell yesterday as I was half looking at getting hard root access.
ren mtklockscreen.odex1 mtklockscreen.odex
ren: permission denied
I read you can do a custom recovery with root using SP Tools still so can anyone help me do this?
I know about system root etc and stuff and have flashed roms before on other tablets and have been a PC I.T tech (wouldn't think it due to the stupid mistake) but this recovery and scatter files etc is kinda new to me.
I have a scatter file now I just made if anyone is interested in helping me.
Yes I have a MTK6573 but the scatter file came from the MT6516 Rom Studio which I read works the same for the 6573.
Attached is also my stock boot and recovery partitions I made with cat yesterday if there usable to anyone to help.
Well I got it working and fixed.
I had to go into adb shell and su and mount the file system as writable, as I have used linux before I didn't know about android and what needed to be done and permission locks etc.
The stock boot, recovery and scatter files will remain on this thread if anyone wants to help create or find a recovery which can allow me to create backups and flash custom roms.
I may be able to provide a dump of android 2.3.6 for those that want it once I'm provided with a backup solution as I have read a few people wanting this updated android rom.
This got too close to what I would like liked with bricking this phone.
And I'm not comfortable unless I have a rom backup of this.
Rooting Advice: For anyone with a MTK6573 on Android 2.3.6 trying to root but having issues with super one click make sure you only turn on USB debugging after Android has loaded and just before you plug the usb cable in to run super one click.
I have seen a few thread and posters here about not being able to root the phone and this is the cause that debug needs to be switched on right before you connect and try to root.
Original seller has agreed to send the firmware and flashing stuff on cd for me so I can upload it for you all.
This is a win for MTK6573 Star X19i owners as I'll have the updated 2.3.6 Gingerbread firmware to release for you all root modify etc in a week or so.
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
cybermaus said:
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
Click to expand...
Click to collapse
That's what I read and did to get my scatter as I used cat then used the program linked in that thread to generate the scatter.

[SCRIPT:07/09/2013] custom2stock1click-v0.3 (AllShare Cast temporary workaround)

Hi all,
Just to share this script for convenience. It's mainly for those who use AllShare Cast dongle but prefer custom kernel/recovery. You need to edit the script settings to provide the path of your prefered stock kernel/recovery (get from sammobile.com or from the list below). Please remember to extract the *.img if it's an archive. Refer below for details.
Notes:
If you're upgrading the script, just remember to copy over the script settings 'Begin Settings' to 'End Settings'. Custom kernel/recovery settings are no longer needed as of v0.2. Existing images will be retrieved directly from device, so you can upgrade custom kernel/recovery without modifying the script settings.
Stock kernel/recovery images:
MF2-BOOT-RECOVERY-N7100.zip.
MF2-BOOT-RECOVERY-N7105.zip.
AllShare Cast compatible Custom ROMs:
(N7100) Moon Rom V9 - confirmed by xastunts.
(N7105) JD€VIL S€RI€S INT€RNΔTIΩNΔL {roms} T€AM ZΩDIΔC - confirmed by alexdr1.
Change log:
v0.1 - 1st release (-:
----------------------
Script is to perform a one step click from custom to stock kernel/recovery while also reseting the flash counter using CF's TriangleAway. The system will stay stock but rooted until the next reboot. E.g. I would run custom kernel/recovery for daily use, I'll execute the script once if I need to use the AllShare Cast dongle, then just reboot when done to auto revert back to custom kernel/recovery.
As long as your phone is supported by TriangleAway, this script should work. Tested only on stock rom, you will have to find out if your custom rom works with AllShare Cast dongle. Until someone managed to figure out how to enable this, we need to have stock kernel/recovery to use the AllShare Cast dongle.
Script requires root, also needs busybox and Chainfire's TriangleAway, both installer available from Google Play Store. Optionally you can get the Script Manager app to create a widget shortcut of this script to the home screen. Finally, I'm not responsible to any risk taken by you for using this script.
v0.2
----------------------
Get images from device, custom settings no longer needed.
Skipped TA flash kernel to speed up initial reboot.
Direct SU execution, incase not running as root.
Improve path with spaces and script clean up.
v0.3
----------------------
Revised device detection for custom roms.
Script preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Running with Script Manager app:
Click to expand...
Click to collapse
Hi,
I was looking for something like this...
I will try it later and let you know if this worked on custom rom... I am using omega v17
Thanks
lonelime said:
Hi,
I was looking for something like this...
I will try it later and let you know if this worked on custom rom... I am using omega v17
Thanks
Click to expand...
Click to collapse
Great, maybe I can add to a list of working custom roms...
yeeeesss!!!
if this **** works ur the maaaan!! im gonna test this first thing tmr morning just gonna need to sleep this night out for now. im running moon rom v9 with floating windows and if i can make my allshare cast work with this script its gonna rock!!
Nazar78 said:
Great, maybe I can add to a list of working custom roms...
Click to expand...
Click to collapse
please help me find the boot img and recovery file needed for this! thank you!
xastunts said:
please help me find the boot img and recovery file needed for this! thank you!
Click to expand...
Click to collapse
https://www.dropbox.com/s/34q64494pgw0crz/MF2-BOOT-RECOVERY-N7100.zip
Nazar78 said:
https://www.dropbox.com/s/34q64494pgw0crz/MF2-BOOT-RECOVERY-N710en i0.zip
Click to expand...
Click to collapse
thanks for the boot image and the recovery img file! i just been thinking abit about this and i would like if you perhaps could explain how to use this step by step.
you said that after youre been running this script and wants to go back to ur custom rom and kernel again you only needs to reboot and it takes u right back to where you where. how does it nows which kernel and recovery i used? does it back it up?
when i look at this picture you attached here at "the begin settings" its a path for stock kernels /sdcard/document/backups/bla bla bla and then/boot.img
and same for the recovery but /recovery.img at the end.
and next is custom kernel/recovery image path.
kernel /sdcard/download/perseus-alpha-n7100/boot.img
and recovery /sdcard/download/twrp/openrecovery/recovery.img
i made the file folders shorter just to understand and explain it more quicker i know this is the very correct file folders.
u understand my point right? there is a 2 file needed for stock kernel and recovery boot.img, recovery.img
and 2 more files for the custom kernel and recovery boot.img, recovery.img.
in the zip file you attached there is only 1 set of 2 files boot.img, recovery.img.
so my question is what do i do with this files then??
if you just please could explain step by step. like
step1 install busy box
step 2 install triangle away
step 3 run script manager and add script
step 4 execute script and done
something like this! thank you for your effort and sorry if it sounds like i complain to much i just want to make sure we dont brick our devices
doing something wrong here! thanks!!
haha no problem, u got it all right about the files and steps. The zip files I posted contains stock kernel and recovery from latest N7100 MF2 rom (so u don't have to download the 1GB full rom from sammobile). Sorry for the short description, did all those scripting and posting on the phablet :crying: Also sorry for the long paths, its binded to my external sdcard and its how I organize my files
Below are the detailed steps:
1) Install busybox (Usually custom kernel has this, but not the latest. Recommended to install at /system/xbin/ because rom may go haywire if installed in /system/bin/).
2) Install the ultimate magic, TriangleAway from Chainfire (Launch the TA app at least once to download the flash kernel).
3) Settings 1 & 2 are your preferred STOCK kernel/recovery full path (the ones I posted from dropbox). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
4) Settings 3 & 4 are your preferred CUSTOM kernel/recovery full path (extract the *.img from the tar or zip you got from the developer). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
5) Setting 5 is the busybox path where you installed earlier.
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
how does it nows which kernel and recovery i used?
Click to expand...
Click to collapse
It doesn't know, this is where settings 1 to 4 being used. It's to use tell the script that I want to use these stock and custom kernel/recovery images during the operation. So remember to update the settings if you update to a newer kernel/recovery in the future.
How it works it that, you use your custom kernel/recovery daily, then at one time you need to use AllShare Cast, all you need is just to run the script once. It will flash the stock kernel/recovery (from settings 1 & 2), reboot and let TriangleAway reset the counter and bootup with the stock kernel/recovery (again from settings 1 & 2), . When you are done with the AllShare Cast, just reboot. Your custom kernel/recovery (from settings 3 & 4), will be auto restored.
The long winded way to make AllShare Cast works is to manually flash stock kernel/recovery, reset counter using TriangleAway in recovery mode, use AllShare Cast, then reflash custom kernel/recovery again. This script cuts the hassle into 1 :laugh:
Nazar78 said:
haha no problem, u got it all right about the files and steps. The zip files I posted contains stock kernel and recovery from latest N7100 MF2 rom (so u don't have to download the 1GB full rom from sammobile). Sorry for the short description, did all those scripting and posting on the phablet :crying: Also sorry for the long paths, its binded to my external sdcard and its how I organize my files
Below are the detailed steps:
1) Install busybox (Usually custom kernel has this, but not the latest. Recommended to install at /system/xbin/ because rom may go haywire if installed in /system/bin/).
2) Install the ultimate magic, TriangleAway from Chainfire (Launch the TA app at least once to download the flash kernel).
3) Settings 1 & 2 are your preferred STOCK kernel/recovery full path (the ones I posted from dropbox). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
4) Settings 3 & 4 are your preferred CUSTOM kernel/recovery full path (extract the *.img from the tar or zip you got from the developer). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
5) Setting 5 is the busybox path where you installed earlier.
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
It doesn't know, this is where settings 1 to 4 being used. It's to use tell the script that I want to use these stock and custom kernel/recovery images during the operation. So remember to update the settings if you update to a newer kernel/recovery in the future.
How it works it that, you use your custom kernel/recovery daily, then at one time you need to use AllShare Cast, all you need is just to run the script once. It will flash the stock kernel/recovery (from settings 1 & 2), reboot and let TriangleAway reset the counter and bootup with the stock kernel/recovery (again from settings 1 & 2), . When you are done with the AllShare Cast, just reboot. Your custom kernel/recovery (from settings 3 & 4), will be auto restored.
The long winded way to make AllShare Cast works is to manually flash stock kernel/recovery, reset counter using TriangleAway in recovery mode, use AllShare Cast, then reflash custom kernel/recovery again. This script cuts the hassle into 1 :laugh:
Click to expand...
Click to collapse
Thanks alot for this I will try this ASAP when I get back home.
edit.. im trying and wait for comments soon as soon as its done testing.
Nazar78 said:
haha no problem, u got it all right about the files and steps. The zip files I posted contains stock kernel and recovery from latest N7100 MF2 rom (so u don't have to download the 1GB full rom from sammobile). Sorry for the short description, did all those scripting and posting on the phablet :crying: Also sorry for the long paths, its binded to my external sdcard and its how I organize my files
Below are the detailed steps:
1) Install busybox (Usually custom kernel has this, but not the latest. Recommended to install at /system/xbin/ because rom may go haywire if installed in /system/bin/).
2) Install the ultimate magic, TriangleAway from Chainfire (Launch the TA app at least once to download the flash kernel).
3) Settings 1 & 2 are your preferred STOCK kernel/recovery full path (the ones I posted from dropbox). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
4) Settings 3 & 4 are your preferred CUSTOM kernel/recovery full path (extract the *.img from the tar or zip you got from the developer). Filenames doesn't have to be boot/recovery.img. You can place them anywhere even in external sdcard
5) Setting 5 is the busybox path where you installed earlier.
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
It doesn't know, this is where settings 1 to 4 being used. It's to use tell the script that I want to use these stock and custom kernel/recovery images during the operation. So remember to update the settings if you update to a newer kernel/recovery in the future.
How it works it that, you use your custom kernel/recovery daily, then at one time you need to use AllShare Cast, all you need is just to run the script once. It will flash the stock kernel/recovery (from settings 1 & 2), reboot and let TriangleAway reset the counter and bootup with the stock kernel/recovery (again from settings 1 & 2), . When you are done with the AllShare Cast, just reboot. Your custom kernel/recovery (from settings 3 & 4), will be auto restored.
The long winded way to make AllShare Cast works is to manually flash stock kernel/recovery, reset counter using TriangleAway in recovery mode, use AllShare Cast, then reflash custom kernel/recovery again. This script cuts the hassle into 1 :laugh:
Click to expand...
Click to collapse
i got this error cant execute permission denied! and also error file doesnt exist. pls have a look at the screen shot and maybe u know whats wrong. thanks buddy!
edit **** i thought i did this slow and good but i got it wrong at the adress. i post as soon as it works.
edit i have tripple checked and the adress is correctly written to adress the boot img and recovery.img . now i need ur help!
pls help me when you get back online nazar thank you.
Do u have spaces in the path for any of the 4 settings? For instance the one I saw in you screenshot moon_image/recovery.img?
Please paste here from begin settings to end settings...
Nazar78 said:
Do u have spaces in the path for any of the 4 settings? For instance the one I saw in you screenshot moon_image/recovery.img?
Please paste here from begin settings to end settings...
Click to expand...
Click to collapse
the adress is 100 % correct but if u dont believe me i can try put them straight on phone and also straight on extsd and try both methods. u dont think its about the permissions? it said about it in the beginning of the errors.
Nazar78 said:
Do u have spaces in the path for any of the 4 settings? For instance the one I saw in you screenshot moon_image/recovery.img?
Please paste here from begin settings to end settings...
Click to expand...
Click to collapse
i tried put the files directly on phone main folder. look at the screens pls. it must be the permissions.
I see the issue...
recoveryc= "/storage....
Should not have a space between = and "... Its how shell script works. Maybe u accidentally paste the space there.
recoveryc="/storage...
Nazar78 said:
I see the issue...
recoveryc= "/storage....
Should not have a space between = and "... Its how shell script works. Maybe u accidentally paste the space there.
recoveryc="/storage...
Click to expand...
Click to collapse
i test this right away! i will let u know!
okay we got past that thing now! but this time a new error it says ERROR: are you running as root?
and ofcourse my phone is rooted.
SU checked?
View attachment 2113308
Nazar78 said:
SU checked?
View attachment 2113308
Click to expand...
Click to collapse
nope it wasnt! i think u forgot to tell me that. and my new problem is ERROR: please install and run cfs triangleaway at least once to get the flash kernel..
do u think u can help me with that? i got the triangle away apk from google, but i have started the app and pressed reset flash counter it was 40 and now its 0 so that part worked. maybe i just need the flash kernel now? maybe u can pls send me the flash kernel?
edit actually i got it here on xda but i searched from google to find it. TriangleAway-v3.00.apk
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
I did :laugh:
Once u launch TriangleAway for the 1st time, it will auto download the flash kernel. Now that u already reset the counter, u can continue run the script.
Can u confirm its there?
/data/data/eu.chainfire.triangleaway/files/eu.chainfire.triangleaway.flashkernel.n7100
Nazar78 said:
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
I did :laugh:
Once u launch TriangleAway for the 1st time, it will auto download the flash kernel. Now that u already reset the counter, u can continue run the script.
Can u confirm its there?
/data/data/eu.chainfire.triangleaway/files/eu.chainfire.triangleaway.flashkernel.n7100
Click to expand...
Click to collapse
i can confirm that i dont have that file there! in my /data/data/eu.chainfire.triangleaway/files/ there is only one png file triangleawaysr.png
if you send me that file and i put it in that folder it might even not work as the program itself should know the file is there. but i could try that if u dont mind.
---------- Post added at 09:26 PM ---------- Previous post was at 09:17 PM ----------
Nazar78 said:
6) Optionally install Script Manager and add this script to run as root(SU). You can add a widget to this script onto your home screen for easy script execution.
I did :laugh:
Once u launch TriangleAway for the 1st time, it will auto download the flash kernel. Now that u already reset the counter, u can continue run the script.
Can u confirm its there?
/data/data/eu.chainfire.triangleaway/files/eu.chainfire.triangleaway.flashkernel.n7100
Click to expand...
Click to collapse
could you please send me that file? and ps oh! i see ur thanks meeter keeps increasing! i wonder why!! ds

(PROTODUG) HTC DESIRE X DUAL SIM T329W (ROOT /CUSTOM RECOVERY/MODS/ROMS)-AIO Thread

DISCLAIMER-
I AM NOT RESPONSIBLE FOR ANYTHING GOES WRONG OR UR DEVICE BRICKS.USING THE RECOVERY MAY CAUSE DEVICE TO SHUTDOWN FOR FEW HOURS DUE TO OVER HEATING ISSUE, SO LEAVE THE DEVICE AFTER REMOVING THE BATTERY TO COOL DOWN FOR FEW HOURS. AND LATER IT WILL TURN ON WHEN YOU TRY IT.
Click to expand...
Click to collapse
CREDITS-
All Credit goes to Nexus Prime for Custom Recovery,xpirt & rocky869(Me) for Stock Recovery & Boot Image,Chainfire for Superuser,Ghost1510 for Testing the recovery,rocky869(me) & Doul for uploading System Dump,ckpv5 for Lidroid Toggles & porting lite/full Sense,Will_Xda,nlooooo,vogonpoetlaureate,GtrCraft,dansou901,MameTozhio for Sense 5 porting, atifjay for testing the custom roms and Other Developers.I am just linking their effort in this thread.
Click to expand...
Click to collapse
===================================================================================================
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WHATS DONE
>UNLOCKING BOOTLOADER
>CUSTOM RECOVERY(attached below)
>ROOTING THE DEVICE
>MODDING TOGGLES(See 3rd Post)
>NANDROID BACKUP-->1) http://www.mediafire.com/?1u95lodymgi0dkd
>STOCK RECOVERY(attached below)
>BOOT IMAGE(attached below)
>STOCK ROM by ckpv5(Link below)
>DEODEXED STOCK ROM by ckpv5(Link below)
>Full & Lite Sense Roms by ckpv5(Link below)
>DROID_SENSE 5 ROM by MameTozhio(Link below)
Click to expand...
Click to collapse
TO DO
>DISABLE STOCK KERNEL WRITE PROTECTION
>CUSTOM KERNEL DEVELOPMENT
>CM 10.1 ROM DEVELOPMENT
>PORTING MIUI OS/LEWA OS
Click to expand...
Click to collapse
====================================================================================================
Following are the steps in brief for unlocking bootloader, adding custom Recovery & Rooting ur device -
1)1st unlock your bootloader from the HTC dev website--http://www.htcdev.com
2)Then Download Custom Recovery-TWRP 2.5 (thanks to NEXUS PRIME)-ATTACHED BELOW
Flash the Custom Recovery through entering into fastboot mode and after that make a Nandroid backup with the recovery(for safety)
3)Then download SUPERUSER for Rooting the Device.Here is the link-http://download.chainfire.eu/supersu
and put on your sd
4)Then flash SUPERUSER through recovery and Reboot.Check for Superuser in App Drawer.If you find then you are Rooted.
Click to expand...
Click to collapse
====================================================================================================
HOW TO
STEP BY STEP GUIDE OF ROOTING,FLASHING CUSTOM RECOVERY & MAKING NANDROID BACKUP/RESTORE FOR DESIRE X DUAL SIM
1.UNLOCKING OF BOOTLOADER
Quote:
Everything starts with this. Unlocking of bootloader will allow you to make changes to some critical partitions of your phone (boot, system and recovery) and will allow you to flash custom recovery that can be used for installing of custom roms, mods and all kind of flashable zips. However, it won't s-off your phone, and other critical partitions (bootloader, radio) remain inaccessible.
So, I won't explain how to do that. Why? Because if you successfully unlock bootloader on your phone it means that you received enough knowledge for the rest of the process and you're qualified to go further.
This process will factory reset your phone (erase data partition) so backup your stuff before you proceed.
Ok, now go to htcdev.com, register your account, go to unlock bootloader section, for the device choose 'All other supported models' and follow the instructions carefully everything is explained in details. Pay attention to 'Required resources' on the first page after confirmation - you need Android SDK platform tools Java Runtime Environment and HTC Sync installed and there are all needed links. Files mentioned in step 5 you will find in Android Bundle zip you downloaded in folder adt-bundle-windows-x86_64\sdk\platform tools.
Here are some useful links about Android SDK platform tools, you won’t be needing most of it but it won't be bad to read.
http://developer.android.com/tools/help/adb.html
http://android-dls.com/wiki/index.php?title=ADB
http://android-dls.com/wiki/index.php?title=Fastboot
http://wiki.cyanogenmod.org/wiki/fastboot​Remark: once unlocked bootloader can be relocked but can never be locked again. This can be done issuing command from fastboot:
fastboot oem lock​
This means that on the top of you bootloader screen you’ll have a sign RELOCKED instead of LOCKED, which is a notice to HTC that you unlocked it once. Plus they have data about all users that requested unlock_code so they can deny your warranty whenever they want.
If you’ve successfully unlocked your phone bootloader we can proceed to the next step.
2. CUSTOM RECOVERY INSTALLING AND ROOTING
-Here you can find custom recoveries attached below.Rename it to recovery.img and put it on the root of c: drive on your PC.
-Also you can download Super su from
http://download.chainfire.eu/supersu​
-Connect your phone to PC and put Supersu.zip file somewhere on your phone Sdcard.
- Do not disconnect your phone from PC, reboot phone to fastboot on one of this ways :
1.Choose restart from power menu and when the screen comes off wait for the buttons to turn off and immediately push volume down, the phone will boot to bootloader, then select fastboot from bootloader menu
2.Issuing command
adb reboot-bootloader​
from command prompt that will take you directly to fastboot
- Once you’re in fastboot mode open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands:
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache​
The second and third commands are not quite necessary but they don’t harm and leave your phone with no trails of previous recoveries. Now you can disconnect your phone from your PC.
- From fastboot menu choose bootloader and then recovery to reboot phone to recovery
- If you successfully boot to recovery choose options:
Install zip from sd card
Choose zip from sd card
Navigate to superuser.zip you stored on sd card and choose it. Once the installation is finished reboot your phone. Now you should see Superuser app in app drawer and your phone is rooted.
3.HOW TO MAKE NANDROID BACKUP[Step1-2] & RESTORE[Steps 3-6](Generating System Dump)
From @NexusPrime experience of building recoveries, if backup works, there is 99% chance that restore will also work....
1. Boot to recovery
2. Select Backup, and COMPLETE backup of each partition(Remember to select Sdcard as storage option for backup before swiping the Backup button)
3. Now, Wipe ONLY DATA, DALVIK, and CACHE (It is essentially a factory reset, so dont wory, you'll just lose contacts, sms n apps)
4. Now reboot, check whether factory reset was successful.
5. Boot to recovery again
6. Restore the data partition ONLY.
7. If it is Successful, Reboot, and check all apps are back or not...
8. If they are back, then celebrate, You can safely take nandroid backups and restore them.
It is the safest path i can suggest. and negligible risk if at all.
OR
If possible get the whole complete SYSTEM by following below method -
If you copy them with ES File explorer, it's going to be a bit tedious as you need to copy folder by folder. If you just simply select system and copy to sdcard you will have missing files.And the easiest way to get the full system dump is :
The device usb debugging is enabled & make sure the device is connected to PC. Then from your adb/fastboot folder then run this command :
adb devices
adb pull /system/​
The full system dump will be in your adb/fastboot folder
then zip the whole folders and keep it safely.
Click to expand...
Click to collapse
====================================================================================================
ROMS
Please take Nandroid Backup & do a Full wipe Before Flashing any Roms
1)STOCK ROM by ckpv5
Rom Info-Check the link
http://forum.xda-developers.com/showthread.php?t=2610149​
2)DEODEXED STOCK ROM by ckpv5
Rom Info-Check the link
http://forum.xda-developers.com/showthread.php?t=2610155​
3)myONEdsx RC1.0 ROM by ckpv5
Rom Info-Check the link
http://forum.xda-developers.com/showthread.php?t=2610162​
4)mySENSEdsx RC1.0 ROM by ckpv5
Rom Info-Check the link
http://forum.xda-developers.com/showthread.php?t=2610170​
5)DROID_SENSE 5 ROM by MameTozhio
Rom Info-Rom is in very Initial Stage of build & SENSE 5 is ported from HTC DESIRE 500 but running very smooth on our device and have following things not working-Camera,RIL & Wifi, Bluetooth, Audio Distortion. If u find more bugs then tell me.
http://d-h.st/Z8L​
Click to expand...
Click to collapse
====================================================================================================
Viper4android
Installation flash method for s-on HTC DESIRE X DUAL SIM T329W PROTODUG
If anyone Got viper4android fx or hifi (audio mod) by @zhuhang @viper520
But it won't work on your HTC phones due s-ON (/SYSTEM WRITE PROTECTION)
even if you are rooted.
For over nearly 2 months I have been trying various things 2 get viper audio fx to work on
HTC DESIRE x dual sim t329w protodug, ,,,,,,,,,
So, here I got it working after many searching$
Recommendations :​
1. TWRP for htc protodug by @neXus PRIME
2. Download this below :
(necessary mod only for htc desire x dual sim t329w protodug)
https://www.dropbox.com/sh/egx2gpjxyl7a6bh/mda8Rr8jza
now you got the folder viPer audio for htc protodug, ,,
Note :- don't try on any other device
As the files are edited to work only on
htc desire x dual sim t329w protodug
Commands are edited under original/stock
build.prop and audio_effects.conf extracted from [[protodug]]
And only for those who are currently on
stock rooted HTC PROTODUG (T329W)
and/or running roms built by @ckpv5 for
Htc desire x dual sim t329w protodug
Follow these steps, ,,​
1. Put the folder in sdcard where you can locate it easily, open the folder
INSTALL the viperfx.apk and viperhifi.apk both as a regular app.
2. Now boot into recovery,
3. First thing to do is --- creating a "NANDROID BACKUP"
(skip, if you already got NAND backup)
4. Now under MOUNT tab Ensure sdcard and system are mounted.
5. Get into ADVANCED tab
Click on FILE MANAGER --- scroll to sdcard and locate the folder viper audio for htc protodug.
open it and, (execute carefully !)
Click on build.prop and
copy the file and browse to /system and
click the select button on bottom right corner and then you will be asked 'swipe to confirm' then, swipe.
go back to viper folder on sdcard and now
click on audio_effects.conf
and copy the file and browse to /system/etc
and repeat the same swiping procedure for confirming copy,,,,
AND back 2 viper folder you will find these soundfx libs for viper audio,,,,
libv4a_fx_gb.so
libv4a_fx_ics.so
libv4a_xhifi_ics.so
You have to copy these each to /system/lib/soundfx
Done, ,,,,,,,
copying summary to confirm :-
-- build.prop to /system
-- audio_effects.conf to /system/etc
-- (libv4a_fx_gb.so , libv4a_fx_ics.so , libv4a_xhifi_ics.so) to /system/lib/soundfx
6. Now fixing permissions..........
Recheck whether system and sdcard are mounted,,,
get into advanced/file manager Select /system and click on build.prop ,,,,
you have to click on chmod(never click on chmod 755)!,,
There you will see default value 0000 ,,,
edit the value to 0644 and
press enter button on keyboard(qwerty).
And slide to confirm.
Now head to /system/etc ,,,
click on audio_effects.conf and select chmod ...
Enter the value 0644 Confirm by swiping.
After, go to /system/lib/soundfx
And fix permission via chmod entering value 0644
For each of the below, ,,,,,,,,
libv4a_fx_gb.so
libv4a_fx_ics.so
libv4a_xhifi_ics.so
Now reboot the system under REBOOT tab
Open, viper audio fx and hifi simultaneously, ,,,,,,,,,,,
Check the options tab for "driver status"
You will get :-
For viper4android/viper audio fx
Driver version - 2.3.2.2
Neon - enabled
For viper4android hifi
Driver version - 2.1.0.2
Then 100 % success.............
Congratulations
Turn off DVC under settings/audio/advanced tweaks if you want to use it
with poweramp
And try not to merge any other equalizer/mod wit these two (fx and hifi)
It will distort the quality.........
Guys,, @rocky869 @GtrCraft @MameTozhio @dansou901 @nor-ric
@Sanviz @Ghost1510 @djinn0
Give your ears a bump !!!!!!!!!!!!!!!!!!!!!
Adjustments I prefer .....
Viper4android hifi ---
Headset
Master power - on
Audio reconstruct - enable
Hi clarity - 60/70
Lo contour - 30/45
Viper4android fx
NOTE !!!first,,, change ui setting to expert under
viper4android fx options
Headset​Master power - on
Convolver - enabled
Impulse response - sony xperia rev2 clearaudio+.irs
Cross channel - 50/80
Differential sound - enabled
Delay time - 5ms/8ms/16ms/20ms
Dynamic system - enabled
Listening device - common earphone(v2)
Dynamic bass - 6 %
Tube simulator - enabled
Fidelity control
Enable viper bass
Bass mode - subwoofer
Bass frequency - 60/66 hz
Bass boost - 14.8 db
Enable viper clarity
Clarity mode - xhifi/ozone+
Clarity - default or 6.0/8.0 db
Auditory system protection
Cure tech+ enabled
Binaural level - slight
Enjoy and don't forget to mention THANKS to
@viper520 And. @zhuhang
Click to expand...
Click to collapse
=======================================================================================================
MODS==>Check Post -3
Thanks To the Mod who moved this
@rocky869 Can you put [Protodug] or [Dual Sim] at the Beginning of the thread title please
And anyone who's got a problem with this being here...
---------- Post added at 11:20 AM ---------- Previous post was at 11:05 AM ----------
Also can you add Link to the HTCDev website, attach nexusprime's recovery thread in this thread instead of linking to it (Link is dead aswell ?) Make it a bit more lengthy, Include a little thing about the pro's and cons of Rooting. ultimitley keep it simple (for complete noob users.) but detailed enough so it's educational and easy to use instead of a few non detailed Lines with Links
And add a link to Chainfire's superSU thread and credit him aswell...
MODS
1st Mod-Lidroid 15 toggles panel(one with only sense 5 theme & other with sense 5 + battery %)-credit to ckpv5
i posted screenshots of lidroid toggle ported by ckpv5 .its supports our dual sim device fully.i have attached files below.
You should also take a backup copy (before flashing the toggles) of ur systemui.apk & systemui.odex file in ur sdcard for safety
then just flash lidroid toggle.zip through twrp.
2nd Mod-Flashable zip of more than 250 fonts-credit to gianton
link-http://forum.xda-developers.com/showthread.php?t=2438194​just flash it,through twrp.
For safety take nandroid backup
3rd Mod-Guide link to disable the power saver from notification panel-credit to xpirt
link- http://forum.xda-developers.com/showthread.php?t=2224612​
Click to expand...
Click to collapse
​
Thank you for help and for their work
 @NexusPrime
 @Will_Xda
 @GTR_Craft
And ofcourse @rocky869 for creating thread..
Ghost1510 said:
Thank you for help and for their work
@NexusPrime
@Will_Xda
@GTR_Craft
And ofcourse @rocky869 for creating thread..
Click to expand...
Click to collapse
I'm GtrCraft
And I'm neXus PR.... Oh whatever .....
Glad you guys got recovery to work.
Take 2 full backups.
Keep on pc. Upload on cloud keep them handy.
They are your lifeline
Sent from my HTC Desire X using Tapatalk
Great, Now we can look forward to Dodexed ROM. @Ghost1510 Attach the link of your uploaded rom, So that @ckpv5 & others can work on it
Sent from my Nexus 7 using Tapatalk 4
rocky869 said:
Great, Now we can look forward to Dodexed ROM. @Ghost1510 Attach the link of your uploaded rom, So that @ckpv5 & others can work on it
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Hey dude m sry bt i dn hav internet connection on my pc
Bt m going to my frnds place i will uploaded asap
Till try to unlock nd root your phone
@Ghost1510
Can you check and advise your software version no., is it 2.12.1402.1 as I posted here : http://forum.xda-developers.com/showpost.php?p=46966857&postcount=39
Now you said you can restore with no problem, will you take the risk to try flashing the ROM that I posted ? If it doesn't work, you can restore your nandroid backup, right ?
If it work and it is the same version no. as yours, I will deodexed that one and later make it full sense.
ckpv5 said:
@Ghost1510
Can you check and advise your software version no., is it 2.12.1402.1 as I posted here : http://forum.xda-developers.com/showpost.php?p=46966857&postcount=39
Now you said you can restore with no problem, will you take the risk to try flashing the ROM that I posted ? If it doesn't work, you can restore your nandroid backup, right ?
If it work and it is the same version no. as yours, I will deodexed that one and later make it full sense.
Click to expand...
Click to collapse
No my software version no is 2.21.707.3
Ghost1510 said:
No my software version no is 2.21.707.3
Click to expand...
Click to collapse
Make a system dump. The steps are as I mentioned here : http://forum.xda-developers.com/showpost.php?p=46736612&postcount=37
Unlocking bootloader and rooting desire xds
STEP BY STEP GUIDE OF ROOTING AND FLASH CUSTOM RECOVERY FOR DESIRE X DUAL SIM
1.UNLOCKING OF BOOTLOADER
Quote:
Everything starts with this. Unlocking of bootloader will allow you to make changes to some critical partitions of your phone (boot, system and recovery) and will allow you to flash custom recovery that can be used for installing of custom roms, mods and all kind of flashable zips. However, it won't s-off your phone, and other critical partitions (bootloader, radio) remain inaccessible.
So, I won't explain how to do that. Why? Because if you successfully unlock bootloader on your phone it means that you received enough knowledge for the rest of the process and you're qualified to go further.
This process will factory reset your phone (erase data partition) so backup your stuff before you proceed.
Ok, now go to htcdev.com, register your account, go to unlock bootloader section, for the device choose 'All other supported models' and follow the instructions carefully everything is explained in details. Pay attention to 'Required resources' on the first page after confirmation - you need Android SDK platform tools Java Runtime Environment and HTC Sync installed and there are all needed links. Files mentioned in step 5 you will find in Android Bundle zip you downloaded in folder adt-bundle-windows-x86_64\sdk\platform tools.
Here are some useful links about Android SDK platform tools, you won’t be needing most of it but it won't be bad to read.
http://developer.android.com/tools/help/adb.html
http://android-dls.com/wiki/index.php?title=ADB
http://android-dls.com/wiki/index.php?title=Fastboot
http://wiki.cyanogenmod.org/wiki/fastboot
Remark: once unlocked bootloader can be relocked but can never be locked again. This can be done issuing command from fastboot:
fastboot oem lock
This means that on the top of you bootloader screen you’ll have a sign RELOCKED instead of LOCKED, which is a notice to HTC that you unlocked it once. Plus they have data about all users that requested unlock_code so they can deny your warranty whenever they want.
If you’ve successfully unlocked your phone bootloader we can proceed to the next step.
2. CUSTOM RECOVERY INSTALLING AND ROOTING
Quote:
There you can find custom recoveries for DesXDS . rename it to recovery.img and put it on the root of c: drive on your PC.
There you can find out super su
http://download.chainfire.eu/supersu
connect your phone to PC and put it somewhere on your phone sd card.
- Do not disconnect your phone from PC, reboot phone to fastboot on one of this ways :
1. choose restart from power menu and when the screen comes off wait for the buttons to turn off and immediately push volume down, the phone will boot to bootloader, then select fastboot from bootloader menu
2. issuing command
adb reboot-bootloader
from command prompt that will take you directly to fastboot
- once you’re in fastboot mode open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands:
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache
The second and third commands are not quite necessary but they don’t harm and leave your phone with no trails of previous recoveries. Now you can disconnect your phone from your PC.
- From fastboot menu choose bootloader and then recovery to reboot phone to recovery
- If you successfully boot to recovery choose options:
Install zip from sd card
Choose zip from sd card
Navigate to superuser.zip you stored on sd card and choose it. Once the installation is finished reboot your phone. Now you should see Superuser app in app drawer and your phone is rooted.
---------- Post added at 12:34 PM ---------- Previous post was at 12:29 PM ----------
ckpv5 said:
Make a system dump. The steps are as I mentioned here : http://forum.xda-developers.com/showpost.php?p=46736612&postcount=37
Click to expand...
Click to collapse
Hey dude bt what exactly size will take in system dump
Because if you are thinking of uploading system dump i dn hav internet connection on my pc
If size of system dump is minimum then i can upload it through my mobile..
---------- Post added at 12:38 PM ---------- Previous post was at 12:34 PM ----------
ckpv5 said:
Make a system dump. The steps are as I mentioned here : http://forum.xda-developers.com/showpost.php?p=46736612&postcount=37
Click to expand...
Click to collapse
Wait i wil create system dump
@ckpv5
Done wid system dump its around 450mb zip so when i upload it.
I will PM you ..
Here my software info
@Ghost1510 My software info are exactly same as that of yours. I will wait to root my device till you successfully port full sense deodexed Rom from any developer. When you successfully do it then I will proceed. It will be bad if both our device brick at once. Hope you understand the situation. Beside that my my device is not even 20 Days old. So I fear the risk of damaging my New device.
Sent from my HTC Desire X dual sim using xda app-developers app
Hey @xpirt
Plz help how to modify systemui.apk
Actually i hav lidroid toogles bt problem is battery icon of status bar is still stock
I want to put percentage icon instead of stock battery icon..
Can u plz help me.??
Ghost1510 said:
Hey @xpirt
Plz help how to modify systemui.apk
Actually i hav lidroid toogles bt problem is battery icon of status bar is still stock
I want to put percentage icon instead of stock battery icon..
Can u plz help me.??
Click to expand...
Click to collapse
Look at Lidroid thread, it should be one with Battery Percentage.
xpirt
xpirt said:
Look at Lidroid thread, it should be one with Battery Percentage.
xpirt
Click to expand...
Click to collapse
No buddy
I want to say like this
Lildroid hav only stock battery icon.
xpirt said:
Look at Lidroid thread, it should be one with Battery Percentage.
xpirt
Click to expand...
Click to collapse
@xpirt
No buddy
I want to say like this
Lildroid hav only stock battery icon.
xpirt said:
Look at Lidroid thread, it should be one with Battery Percentage.
xpirt
Click to expand...
Click to collapse
Hey @xpirt ur lidroid toggles is best at its place like one of tye must hav mod in our dx
Plz help me to modify systemui.apk or plz add battery percebtange icon as i posted above
Plz buddy i really want this in dx plz plz
Ghost1510 said:
Hey @xpirt ur lidroid toggles is best at its place like one of tye must hav mod in our dx
Plz help me to modify systemui.apk or plz add battery percebtange icon as i posted above
Plz buddy i really want this in dx plz plz
Click to expand...
Click to collapse
Just open up Systemui with 7zip an replace the relevant images

[Japanese L-01F] Root your L-01F [HOWTO]

Hi everyone.
The Japanese version of LG G2 DoCoMo L-01F has the special "ccsecurity" access control system.
That has prevented us from rooting!
So we used the CVE-2013-6282 vulnerability to take root.
Here is the automagic rootkit for you!
WARNING
ROOTING WILL DISABLE YOUR WARRANTY.
YOU MAY BE UNABLE TO GET SUPPORT FROM THE DOCOMO SHOP.
YOU MAY BRICK YOUR PHONE.
YOU MAY BE UNABLE TO GET OFFICIAL UPDATES.
Download
L-01F Rootkit ver8 androidfilehost
How to use
Basically run the batch and read instructions!
PROTIP
Do not attempt to do official updates.
Install busybox from the Google Play.
Push the volume up button with the power button to boot to recovery menu.
Take backup from recovery.
Unrooting
If you just want to disable root, use the uninstall root option of the supersu app.
If you want to wipe all data and have a clean rom , write tot/kdz from this thread.
Credit
fi01 for adapting CVE-2013-6282 rootkit github
Tohno for helping me make L01F11k rootkit.
thecubed for bump.
blastagator for twrp source.
And many testers!
Helping you
Many people has sent me help requests about the root relating things. This post should answer all common helps.
Q. The rootkit shows error"cannot stat ..... No such file or directory".
A. The folder name you put the rootkit in is likely Japanese. Place the rootkit in C drive root or some other English-named path.
Q. My games! Lovelive Puzzles&Dragons etc not playable after rooting. Why?
A.It detects root. It is a cheat prevention system of some games and apps. Use the rootcloak. If that is not working and you really want to play that game, then you have to unroot.
Q. My phone does't boot anymore. It stucks on the "docomo" logo.
A.Hold your power button for about 20 seconds to force shutdown. Then hold your power button and the volume up button at the same time to boot up to the recovery. Then restore your phone from the backup file you took.
Q.What do I need for the FOTA update?
A.Stock boot.img and recovery.img and system files.
Q. I did the FOTA update and recovery is looping.
A. That's because you forgot to unroot and the custom recovery is still there. The fix is included in my rootkit. Thanks to antond57.
Q. I did the FOTA update and some error screen came up and the update failed.
A. This indicates that you have modified your system too much to be updated. This is often caused by the xposed framework.
First, you need to root your phone again.
Second, download and install the system installer, boot installer, recovery installer from this thread.
Q. I cant find and install the LG adb driver for the recovery.
Try using the pdanet driver.
reserved
reserved
my phone is not booting up, so how can I download the system.img to my phone ?
also, if I use adb push system.img will that work ?
before rooting/installing ninjakernel. I would like to have a failsafe if I do something wrong and run into problems/bootloop etc. how do I backup the stock rom of our phones and reload it in case I run into problems?
[EDIT] never mind. figured it out. nandroid backup in cwm recovery.
what I meant was how to back up apps and data and launcher layout. but I guess I can just do that with mybackup and nova launcher backup and android sync.
sent from my LG G2 with tapatalk pro
bepari220 said:
my phone is not booting up, so how can I download the system.img to my phone ?
also, if I use adb push system.img will that work ?
Click to expand...
Click to collapse
I figured out that the "adb push" command can only send file up to 2GB
So please zip compress the system.img with your PC. It should shrink to 1.9GB. And then adb push it.
Then use the"unzip" command in your twrp to unzip it, and flash it by the "dd" command.
so to confirm. I download rootkit to pc, ninjakernel.zip to device. usb debugging on, connection to charge only. plug into pc, run root.exe will root device, install cwm recovery and boot into recovery. then I take nandroid backup in recovery and don't reboot but install from zip the ninjakernel then reboot. finished. yes?
sent from my LG G2 with tapatalk pro
---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------
also, I don't need to wipe nothing for the kernel?
sent from my LG G2 with tapatalk pro
supersonicninja said:
I figured out that the "adb push" command can only send file up to 2GB
So please zip compress the system.img with your PC. It should shrink to 1.9GB. And then adb push it.
Then use the"unzip" command in your twrp to unzip it, and flash it by the "dd" command.
Click to expand...
Click to collapse
so what would be the dd command if I push the image to /sdcard/system.img
oh ! I'm such a noob :silly:
bepari220 said:
so what would be the dd command if I push the image to /sdcard/system.img
oh ! I'm such a noob :silly:
Click to expand...
Click to collapse
All linux and windows commands are friendly to a noob! They have help. Type
Code:
dd --help
to see it.
In your case. You have to use these three commands.
First, zip compress system.img and name it to system.zip or something. Place it with the same folder as the adb.exe in your pc and open the adb shell and type these commands.
Code:
adb push system.zip /sdcard/
This sends the file over the USB cable.
Code:
unzip system.zip
This unzips the file.
Code:
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
This copies the file.
The "if=" means "input file" so where to copy from. And the "of=" means "output file" so where to copy to. Pretty obvious.
rooted now. working so far. thanks. great work
sent from my LG G2 with tapatalk pro
I was wondering about the bloatware on our phones. what's safe to freeze/delete. like the lg and docomo bloat. please advise
sent from my LG G2 with tapatalk pro
hay @supersonicninja
I did everything you said, but when I give the unzip command it just shows that it is unzipping...but after 1 hour it still shows that it is unzipping, whats wrong ?
all these happened after I flashed Ninja Kernel on my L01F10c (rooted, xposed installed) Stock Rom. My phone is not booting up
My Phone Condition :
1. Can go to recovery TWRP Touch.
2. Phone Storage 20994 MB
3. Full Wiped including Internal Memory
4. ADB Push works
5. Sideload also works
6. If I press power button : gets stuck at docomo logo with notification LEDs flashing nothing else.
I have all the stock .img files (L01F10c). I also have the L01F11k.kdz file.
Please advise how can I bring my phone back to life
bepari220 said:
hay @supersonicninja
I did everything you said, but when I give the unzip command it just shows that it is unzipping...but after 1 hour it still shows that it is unzipping, whats wrong ?
all these happened after I flashed Ninja Kernel on my L01F10c (rooted, xposed installed) Stock Rom. My phone is not booting up
My Phone Condition :
1. Can go to recovery TWRP Touch.
2. Phone Storage 20994 MB
3. Full Wiped including Internal Memory
4. ADB Push works
5. Sideload also works
6. If I press power button : gets stuck at docomo logo with notification LEDs flashing nothing else.
I have all the stock .img files (L01F10c). I also have the L01F11k.kdz file.
Please advise how can I bring my phone back to life
Click to expand...
Click to collapse
If you have the .kdz file, you can extract it for the .dll and the flashable dz file.
See this thread
got my phone working...but can't pull down notification bar down works fine on Landscape mode...maybe it's just my bad luck...
Hello there - I tried rooting using the zip file in the OP but it seems like there are files missing from the f10 folder. I'm not sure whether the files in the f11 folder are the same or not, so I didn't try to copy them over to the f10 folder. Could you let me know how to proceed? Many thanks!
mn147 said:
I was wondering about the bloatware on our phones. what's safe to freeze/delete. like the lg and docomo bloat. please advise
sent from my LG G2 with tapatalk pro
Click to expand...
Click to collapse
Freezing/deleting system apps are not a good idea. Some apps are called from the system framework. So if you delete apps, the framework may try to start the deleted app infinitely, causing severe CPU usage and battery drain.
help me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Root LG G2 L-01F
I still do not understand how to root.
supersonicninja said:
reserved
Click to expand...
Click to collapse
pls fix the signal in the slim rom.
I tried rooting my phone . installed LG driver as well. but everytime i press option 3 and enter the command windows closes with flashing red screen.
any idea why is this happening. i copied the files in C drive.

[Q] Cube U27GT - Help with Rooting a Stock Rom and can we get a forum?

Dear Admins,
Could we get a forum setup for the Cube U27GT WiFi version? I dug around on the site a bit beforehand but didn't see one, I apologize if I missed it and please direct me there if I did.
I have this tablet and I am doing some initial basic firmware development for it and want a proper place to start putting threads.
Dear Dev Community,
I can't root this bloody thing... At least, not the rom itself. Let me explain...
I can flash the stock rom from Cube and that can be rooted using Kango Root. --Fine...
However, I can't figure out how to replicate this when I make my own rom.
Thus far, here is what I have attempted...
1. Setup dsixda's excellent kitchen on my Ubuntu workstation.
2. Unpack the rom, clean things up, manually put the boot image into the dsixda unpacked working rom folder, run dsixda's root functionality (which add SU binary to xbin and SuperSu apk file to app folder as well as do some things with the boot image file).
3. Rather than using repack with Dsixda (which makes an update.zip image which I can't use because the stock recovery environment on this device can't flash zip update files and I can't for the life of me figure out how to get and or make a working CWM or TWRP recovery image for this unit)...
4. What I do is I run commands in linux to unpack the stock rom to another directory and mount that directory, then clear out a bunch of folders and then manually copy in my files from dsixda's working folder, then repackage up my unpacked stock rom into a new system.img file.
5. Then copy my now modified boot image, system image, and also userdata image (I modify that as well as that is where most all of the chinese bloatware is loaded from) to my SP_Flash_Tool, generate new checksum.ini file and flash normally...
What I get as a result...
1. As long as I am really careful with how I copy files into my new image, the new system flashes okay (if I am not careful, after flash USB storage for some reason has a format error and the system will boot but can't mount USB storage and other odd issues ensue as a result).
2. Assuming everything flashes okay, and no issue with USB storage partition, I have SuperSU installed and when I go to use an app (ES File Explorer or Root Checker) that require's root, I do get the prompt. However none of the root functions actually work and Root Checker tells me I am not rooted.
That is as far as I have got. So as a result, I have a really nice, westernized, cleaned up rom but with no root.
Anyone have any ideas?
This is my first adventure into mod'ing MTK roms so I am sure I am doing all kinds of things wrong . I had a good bit of experience on Rockchip SoC's before this though.
Kind regards and thanks in advance!
Roman
Figured it out!
So I finally did the following rather hackish work-around...
1. Flash stock firmware...
2. Root with Kingo Root
3. Enabled ADB
4. Attach to PC and fire up MTK Droid Tools
5. Take a full backup
6. Modify the system image from the backup and make changes
7. Put that in new firmware flash package
8. Flash new firmware
YAY - Cleaned up rom, modified, with root!
Once I get it all packaged up and uploaded to mtkfirmware.com I will post a link for anyone that wants a cleaned up rom with root!
The only downfall of the above method is that it absolutely requires that the developer have a device on hand because you can't just root the stock image file (at least, I couldn't figure out how... - bleh...
Kind Regards,
Roman
Dear roman,
Thanks for your hard work.
I have a simple question (I think) and if you have the time to reply or -any other android guru- I would be thankful.
My later issue was with a U27GT cube tablet, but I have others, one for each kid, and this is more of general question.
I am reading this and other forums about how to flash tablets from PC. My question is:
Can the flashing process be done from a SD card?
Thanks a lot and regards,
Fernando
SKorea

Categories

Resources