Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
virgil1528
Old
#231  
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Mar 2011
No one has asked this question, which I assume means that this is an easy answer.

When I'm in the system file and I try to rename the file, it says "permission denied"

How do I get around that?
 
Swiftks
Old
#232  
Swiftks's Avatar
Retired Forum Moderator
Thanks Meter 1839
Posts: 3,623
Join Date: Mar 2011
Location: The Woodlands, TX
Quote:
Originally Posted by virgil1528 View Post
No one has asked this question, which I assume means that this is an easy answer.

When I'm in the system file and I try to rename the file, it says "permission denied"

How do I get around that?
Mount R/W at top in root explorer.

Sent from my Transformer Prime TF201 using xda premium



FORUM RULES | MODERATOR LIST
_______________________________________________

 
virgil1528
Old
#233  
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Mar 2011
One thing I just realized, and only because I'm an idiot, is that the very first thing the thread said to do is root your device.

I'm assuming there is no way around that?
 
Swiftks
Old
#234  
Swiftks's Avatar
Retired Forum Moderator
Thanks Meter 1839
Posts: 3,623
Join Date: Mar 2011
Location: The Woodlands, TX
Quote:
Originally Posted by virgil1528 View Post
One thing I just realized, and only because I'm an idiot, is that the very first thing the thread said to do is root your device.

I'm assuming there is no way around that?
Nope you have to have root access.

Sent from my Transformer Prime TF201 using xda premium



FORUM RULES | MODERATOR LIST
_______________________________________________

 
reNeglect
Old
#235  
Senior Member - OP
Thanks Meter 322
Posts: 543
Join Date: Aug 2011
Location: Calgary

 
DONATE TO ME
I'll be free the whole day tomorrow swift, you wanna work on the battery mod then?
Devices:
HTC One X 32GB White.
Samsung Galaxy Tab 10.1 16gb White Wifi Only.
Apple iPad 2 64gb White Wifi Only (Sold).
Apple iPad (3rd Gen) 64gb White Wifi Only.
Asus Transformer Prime 32gb Amethyst Grey Wifi Only.
Samsung Galaxy SII Ceramic White (Sold).
Samsung Galaxy Nexus.
Lightless Ascension Theme for AOKP
 
Swiftks
Old
#236  
Swiftks's Avatar
Retired Forum Moderator
Thanks Meter 1839
Posts: 3,623
Join Date: Mar 2011
Location: The Woodlands, TX
Quote:
Originally Posted by reNeglect View Post
I'll be free the whole day tomorrow swift, you wanna work on the battery mod then?
Sounds good to me... actually I think we can just put the pngs in the framework and the 2 battery xmls in drawable. Only thing is, who's gonna risk a possible bootloop without a backup method... systemui not that big of deal, framework is a bit wider spread.... hummm, makes me wonder if it did have a issue, if the error pngs just wouldnt load or if it would boot loop... just throwing ideas out there that are pooping in my head. Anyway, yeah, ill be "working" from home all day tomorrow, so send me a PM and we'll see what we can get done.

Sent from my Transformer Prime TF201 using xda premium



FORUM RULES | MODERATOR LIST
_______________________________________________

 
reNeglect
Old
#237  
Senior Member - OP
Thanks Meter 322
Posts: 543
Join Date: Aug 2011
Location: Calgary

 
DONATE TO ME
Quote:
Originally Posted by Swiftks View Post
Sounds good to me... actually I think we can just put the pngs in the framework and the 2 battery xmls in drawable. Only thing is, who's gonna risk a possible bootloop without a backup method... systemui not that big of deal, framework is a bit wider spread.... hummm, makes me wonder if it did have a issue, if the error pngs just wouldnt load or if it would boot loop... just throwing ideas out there that are pooping in my head. Anyway, yeah, ill be "working" from home all day tomorrow, so send me a PM and we'll see what we can get done.

Sent from my Transformer Prime TF201 using xda premium
Sounds good but the problem is how to drop the framework-res.apk to system/framework because simply using a root explorer doesnt work because

#1 As soon as you rename framework-res.apk to framework-res.bak you will be soft bricked.

#2 If you copy framework-res.apk to your sd card then, copy and paste the modded framework-res.apk to system/framework and overwrite the existing one about 25% into overwriting it the prime reboots itself.

#3 Have not tried ADB method yet...

#4 I might use my Galaxy Tab 10.1 as a laboratory rat since it has CWM... and its running AOKP 4.0.3 ICS it should behave the same as the prime software wise....
Devices:
HTC One X 32GB White.
Samsung Galaxy Tab 10.1 16gb White Wifi Only.
Apple iPad 2 64gb White Wifi Only (Sold).
Apple iPad (3rd Gen) 64gb White Wifi Only.
Asus Transformer Prime 32gb Amethyst Grey Wifi Only.
Samsung Galaxy SII Ceramic White (Sold).
Samsung Galaxy Nexus.
Lightless Ascension Theme for AOKP
 
Swiftks
Old
(Last edited by Swiftks; 10th February 2012 at 08:23 AM.)
#238  
Swiftks's Avatar
Retired Forum Moderator
Thanks Meter 1839
Posts: 3,623
Join Date: Mar 2011
Location: The Woodlands, TX
Quote:
Originally Posted by reNeglect View Post
Sounds good but the problem is how to drop the framework-res.apk to system/framework because simply using a root explorer doesnt work because

#1 As soon as you rename framework-res.apk to framework-res.bak you will be soft bricked.

#2 If you copy framework-res.apk to your sd card then, copy and paste the modded framework-res.apk to system/framework and overwrite the existing one about 25% into overwriting it the prime reboots itself.

#3 Have not tried ADB method yet...

#4 I might use my Galaxy Tab 10.1 as a laboratory rat since it has CWM... and its running AOKP 4.0.3 ICS it should behave the same as the prime software wise....
You have to ADB Push it...

Did some digging around the Atrix thread... Looking for OLD threads, back before we had a recovery and had just got a de-odexed system dump. Check this out:
http://forum.xda-developers.com/showthread.php?t=967178

Only thing is, this was froyo... lets hope all still holds true for ICS.

Think I might try and push my de-odexed framework folder here in a bit with those instructions... saved a full folder backup to micro sd card, so hopefully if anything goes wrong, I can adb push my original files back.... I can feel the soft brick coming.
The thing with the Atrix was, at least if you soft-bricked, you could flash a sbf file to totally restore your phone to stock... kind of like installing a blob file I guess for ASUS.

**Edit**
Checked out which dev/block our system mounts to, it's mmcblk0p1

(more for my own notes) -> F.Y.I., in terminal type:
su
cat /proc/mounts

**Edit**
More Notes... sorry, totally hijacked this thread.
So it would go something like this for the framework folder:
adb push framework /mnt/sdcard/deodexed/framework
adb shell
$ su
# mkdir /mnt/sdcard/original_system
# mkdir /mnt/sdcard/original_system/framework
# cp /system/framework/* /mnt/sdcard/original_system/framework
# stop
# mount -o rw,remount /dev/block/mmcblk0p1 /system
# cp /mnt/sdcard/deodexed/framework/* /system/framework
# rm /system/framework/*.odex
# exit
adb reboot
Wanna give it a go and see who bootloops first?

*Booting.... Booting... spinning wheel... come on... FML...

**Edit**
So, yeah.... Don't do that^^^^
Looks like I may be in for a RMA. At least they can fix the one dead pixel in the middle of the screen that been kind of annoying me too.



FORUM RULES | MODERATOR LIST
_______________________________________________

 
Doktaphex
Old
#239  
Doktaphex's Avatar
Senior Member
Thanks Meter 383
Posts: 1,332
Join Date: Oct 2010
Location: London
Quote:
Originally Posted by Swiftks View Post
Wanna give it a go and see who bootloops first?

*Booting.... Booting... spinning wheel... come on... FML...

**Edit**
So, yeah.... don't do that^^^^
Looks like I may be in for a RMA. At least they can fix the one dead pixel in the middle of the screen that been kind of annoying me too.
Damn, that sucks. Hope you can recover it, without having to send it in.
TRANSFORMER prime . desire HD
NEXUS 7 . galaxy S3

 
reNeglect
Old
#240  
Senior Member - OP
Thanks Meter 322
Posts: 543
Join Date: Aug 2011
Location: Calgary

 
DONATE TO ME
Quote:
Originally Posted by Swiftks View Post
You have to ADB Push it...

Did some digging around the Atrix thread... Looking for OLD threads, back before we had a recovery and had just got a de-odexed system dump. Check this out:
http://forum.xda-developers.com/showthread.php?t=967178

Only thing is, this was froyo... lets hope all still holds true for ICS.

Think I might try and push my de-odexed framework folder here in a bit with those instructions... saved a full folder backup to micro sd card, so hopefully if anything goes wrong, I can adb push my original files back.... I can feel the soft brick coming.
The thing with the Atrix was, at least if you soft-bricked, you could flash a sbf file to totally restore your phone to stock... kind of like installing a blob file I guess for ASUS.

**Edit**
Checked out which dev/block our system mounts to, it's mmcblk0p1

(more for my own notes) -> F.Y.I., in terminal type:
su
cat /proc/mounts

**Edit**
More Notes... sorry, totally hijacked this thread.
So it would go something like this for the framework folder:
adb push framework /mnt/sdcard/deodexed/framework
adb shell
$ su
# mkdir /mnt/sdcard/original_system
# mkdir /mnt/sdcard/original_system/framework
# cp /system/framework/* /mnt/sdcard/original_system/framework
# stop
# mount -o rw,remount /dev/block/mmcblk0p1 /system
# cp /mnt/sdcard/deodexed/framework/* /system/framework
# rm /system/framework/*.odex
# exit
adb reboot
Wanna give it a go and see who bootloops first?

*Booting.... Booting... spinning wheel... come on... FML...

**Edit**
So, yeah.... don't do that^^^^
Looks like I may be in for a RMA.
Serious? dam.. I'm still flashing stuff on my GNex err... Is your prime still detected by your pc? If you can still open a adb shell why don't you push a clean system dump and see what happens?
Devices:
HTC One X 32GB White.
Samsung Galaxy Tab 10.1 16gb White Wifi Only.
Apple iPad 2 64gb White Wifi Only (Sold).
Apple iPad (3rd Gen) 64gb White Wifi Only.
Asus Transformer Prime 32gb Amethyst Grey Wifi Only.
Samsung Galaxy SII Ceramic White (Sold).
Samsung Galaxy Nexus.
Lightless Ascension Theme for AOKP

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...